Cracks SSL PEM files that hold encrypted private keys. Brute forces or dictionary cracks. This code is extraordinarily slow, DON'T JUDGE ME!!!
C Makefile
Latest commit a0fecd7 Dec 22, 2015 @robertdavidgraham Update README.md
Permalink
Failed to load latest commit information.
bin Raspberry Pi 2 Feb 21, 2015
vs10 initial Feb 19, 2015
Makefile created Feb 19, 2015
README.md Update README.md Dec 23, 2015
pemcrack.c initial Feb 19, 2015
test.dict initial Feb 19, 2015
test.pem initial Feb 19, 2015

README.md

pemcrack

Cracks SSL PEM files that hold encrypted private keys. Brute forces or dictionary cracks. This code is extraordinarily slow, DON'T JUDGE ME!!!

Building

I include some binaries in the bin directory. You can trust me, I ran AV on them and everything.

I'm not spending a lot of time making it easy for you to compile this. Don't judge me, it's just a straightforward "compile the code and link to the library".

On Windows, you need to install the include files. It's just easiest to build openssl from scratch. After that, use the Visual Studio project in the vs10 directory.

On Mac OS X, just compile the following. You'll need to install the compiler, which comes with XCode developer tools.

gcc pemcrack.c -o pemcrack -lssl -lcrypto

On Linux, compile the following. You'll need get the libssl-dev package. I'm not sure the exact name, I'll get around to testing it.

gcc pemcrack.c -o pemcrack -lssl -lcrypto

See also

Here is another project that does the same thing, in case this projeck doesn't satisfy your needs

https://github.com/chipx0r/crackpkcs8