Installing John the Ripper Version 1.7.3.4 Tutorial
I just upgraded to the newest version of John the Ripper so I decided to make a tutorial out of my experience, (with screen-shots), since it was a fairly time consuming ordeal. It's mostly focused on installing John the Ripper on a Mac OSX Snow Leopard, but you should be able to use most of it when installing it to various flavors of Linux as well. Besides going over the base install, I also tried to cover:
- Which patches to install, where to find them, and how to apply them
- Picking the right build options
- Modifying the Makefile so it actually will install on Snow Leopard
- Modifying the code so you can use incremental attacks against passwords longer than eight characters long
Comments
http://hkashfi.blogspot.com/2008/12/how-to-make-johntr-use-all-of-your-cpu.html
It may speed some of your works :)
Have you tried the MPI patch on any of your sessions? I would be itneresting to see some graphs with and without it running with markov. great tutorial though
I asked about it on the official John the Ripper forums and one of the main JtR Developers, Solar Designer, responded:
"It's a patch I'm trying to slowly let die, unless anyone has more time to make it properly split work"
That being said, I might try to install it this weekend to 1.7.3.4, (the last supported version it works on is 1.7.3.1), and see what happens. Regardless, I'll report back here with what I find.
Will you please inform me if you've ported MPI patch to 1.7.3.4 ?
While you're right about MPI patch situation I still find it VERY useful, considering running it on my Intel i7 cpu. It make my cracking speed about 8 times faster so even if it`s buggy it worth the speed.
But I've always wondered why John is not supporting multi-core natively? Having multi-core cpu is ineed not common betwen normal cpu users, but it`s very common between hardcore John (and other password audit tools) users :)
As to your other question Hamid, it probably deserves a full post for the answer. The short answer is that John the Ripper wasn't developed to work in a multi-cpu environment. Therefore, the developers used a lot of tricks to make it run very fast on a single processor. Unfortunately, because of that, you would pretty much have to rewrite the entire core of John the Ripper to make it multi-threaded. The MPI patch worked because MPI is mostly a compile time optimization.
i'm a student and trying to learn more about terminal.
When i tried to do: cd john-1.7.6-jumbo-9-macosx-universal-1.zip
the terminal replies back no such file or directory found.
I'm confused because i already finished downloading and unzipping it.
pls help. i'm stock :(