{"id":13463972,"url":"https://github.com/iSECPartners/jailbreak","last_synced_at":"2025-03-25T09:31:25.103Z","repository":{"id":22198325,"uuid":"25530736","full_name":"iSECPartners/jailbreak","owner":"iSECPartners","description":"Jailbreak","archived":false,"fork":false,"pushed_at":"2022-09-09T10:05:54.000Z","size":471,"stargazers_count":499,"open_issues_count":20,"forks_count":142,"subscribers_count":48,"default_branch":"master","last_synced_at":"2025-03-24T02:31:41.249Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"watabou/pixel-dungeon","license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iSECPartners.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}},"created_at":"2014-10-21T15:40:54.000Z","updated_at":"2025-03-20T20:44:07.000Z","dependencies_parsed_at":"2023-01-11T21:31:21.094Z","dependency_job_id":null,"html_url":"https://github.com/iSECPartners/jailbreak","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iSECPartners%2Fjailbreak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iSECPartners%2Fjailbreak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iSECPartners%2Fjailbreak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iSECPartners%2Fjailbreak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iSECPartners","download_url":"https://codeload.github.com/iSECPartners/jailbreak/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245435157,"owners_count":20614845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-07-31T14:00:31.461Z","updated_at":"2025-03-25T09:31:20.087Z","avatar_url":"https://github.com/iSECPartners.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# Jailbreak - 4.0\nWritten by: Andreas Junestam, Chris Clark, Jason Copenhaver\n\nJailbreak exports certificates marked as non-exportable from the Windows \ncertificate store.  This can help when you need to extract certificates \nfor backup or testing. You must have permissions to use the private key on the \nfilesystem in order for jailbreak to work -- Jailbreak cannot export keys stored\non smartcards.\n\nJailbreak consists of two parts. The jailbreak32.exe launcher program and the\njailbreakhook32.dll function hooking DLL. (64-bit versions exists as well.)\njailbreak32.exe launches any application and injects the jailbreakhook32.dll\ninto the process. The jailbreakhook32.dll hooks cryptsp.dll!CryptGetKeyParam\nfunction to inform any callers that the certificate is exportable. It also\nhooks the rsaenh.dll!CPExportKey function to inform rsaenh.dll that\nthe certificate is exportable.\n\n### How to use\n\nThere are three sample .bat files included.\n\n#### jbcert.bat\n\n1. Run jbcert.bat while running as administrator\n2. A mmc with the Local Machine and Current-User Certificate snap-ins will load\n3. All certificates are now marked as exportable\n4. Use the certificate UI to export certificates and their private keys. \n\n\n#### jbcsp.bat\n\njbcsp exports keys that are contained within the CSP and not associated with a certificate.\njbscp requires .NET Framework 2.0.\n\nRun: \n`jbscp.bat \"Key container\" \"output file name\" [-u]`\n\n-u is an optional parameter and will export from the user store instead of the \nmachine store.\n\n#### jbstore.bat\n\nJBStore exports all of the certificates in the \"MY\" user store. This has the \nadvantage that it does not require user interaction with MMC.\n\nJBStore can be set to export from either the CURRENT_USER\\MY store or the \nLOCAL_MACHINE\\MY store.  The default is CURRENT_USER\\MY.\n\nTo export from the LOCAL_MACHINE\\MY store:\n`jbstore.bat -a -o \u003coutfile\u003e -p \u003cpassword\u003e`\n\nTo export from the CURRENT_USER\\MY store:\n\n`jbstore.bat -s \"USER\" -o \u003coutfile\u003e -p \u003cpassword\u003e`\n\n### Acknowledgements\n\nThank you to those who have performed testing or provided feedback. \nEspecially Andreas Klein for the jbcsp suggestions and Tom Aafloen for \ntesting it on Vista x64.\n\n\n(c) 2007-2014 iSEC Partners (https://www.isecpartners.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FiSECPartners%2Fjailbreak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FiSECPartners%2Fjailbreak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FiSECPartners%2Fjailbreak/lists"}