{"id":13680435,"url":"https://github.com/awuctl/licensing-stuff","last_synced_at":"2026-03-06T10:05:32.867Z","repository":{"id":238183739,"uuid":"625211872","full_name":"awuctl/licensing-stuff","owner":"awuctl","description":"Collection of tools for playing with Windows licensing stuff","archived":false,"fork":false,"pushed_at":"2023-04-12T14:30:27.000Z","size":1708,"stargazers_count":66,"open_issues_count":2,"forks_count":10,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-04T02:34:27.867Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/awuctl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-08T12:09:31.000Z","updated_at":"2025-03-30T02:16:11.000Z","dependencies_parsed_at":"2024-05-04T20:25:05.996Z","dependency_job_id":"cbdc76b4-818e-4848-89b2-c55ad7ff2eff","html_url":"https://github.com/awuctl/licensing-stuff","commit_stats":null,"previous_names":["awuctl/licensing-stuff"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/awuctl/licensing-stuff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awuctl%2Flicensing-stuff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awuctl%2Flicensing-stuff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awuctl%2Flicensing-stuff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awuctl%2Flicensing-stuff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awuctl","download_url":"https://codeload.github.com/awuctl/licensing-stuff/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awuctl%2Flicensing-stuff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30171657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T13:01:17.063Z","updated_at":"2026-03-06T10:05:32.846Z","avatar_url":"https://github.com/awuctl.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# \"Licensing Stuff\"\n\nThis is a bunch of tools I've used for some time to do morally questionable stuff to Windows Licensing. I don't really have a reason to use them anymore so I hope someone else can have some fun.\n\n## How do I use this?\n\nIf you just want to make a product key and don't want to read too much code, go [here](docs/how-to-use.md). \n\nAll tools support the `--help` option, you can read it for a bit of context on the parameters.\n\n## Tools\n\n### keycutter.py\n\nThis contains an implementation of the \"`msft:rm/algorithm/pkey/2009`\" product key algorithm. The tool gives you an API and a commandline tool to encode and decode product keys or find ones matching a specified template. The template function could be written to allow for an **almost** arbitrary key but I didn't have any use for it other than a few funny sets of keys so I never bothered.\n\nA bit of info about product keys [here](docs/product-keys.md).\n\n### pkeyconfig.py\n\nThis is a simple API for interacting with data from `pkeyconfig.xrm-ms` files. \n\n### keymaker.py\n\nThis is a tool using `keycutter.py` and `pkeyconfig.py` that creates a plain text or json file with every single 2009 product key for a specified `pkeyconfig.xrm-ms` file.\n\n### skuidmap.py\n\nThis is a lookup table between SKU IDs (edition IDs) and edition names. Most of this can be extracted from `winnt.h`, but some values are gone forever and there are many holes. There are other sources for these but they require heavy machinery to dig out. I can elaborate on request.\n\n### store.py\n\nThis is a collection of mini tools that can do fun things related to the store.\n\n`store.py content-id \u003cproduct\u003e \u003cpublisher\u003e \u003cplatform\u003e` is used for creating a content ID for a given product. This is the UUID which you can find in some files and registry keys related to licensing. This value is calculated with a very simple \"formula\", which you can read in the `content_id` function.\n\n`store.py query-content \u003ccontent-id\u003e` is for querying the store for a particular content ID. This will give you information about pretty much any Store product for which you know the content ID, although it's worth knowing that some (particularly Windows-related) content IDs are hidden there and will give you a not-found error despite actually being internally recognized. There is also an option to specify the market and query language; this can get you pricing information or whether a given product is available in another market.\n\n`store.py query-pkeyconfig \u003cpkeyconfig\u003e` is the same as above but it will do it automatically for all editions found in a pkeyconfig file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawuctl%2Flicensing-stuff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawuctl%2Flicensing-stuff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawuctl%2Flicensing-stuff/lists"}