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
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
vs10
Makefile
README.md
pemcrack.c
test.dict
test.pem

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