Ubuntu/Barebones to JtR: Difference between revisions
From charlesreid1
| Line 36: | Line 36: | ||
</pre> | </pre> | ||
===Make John=== | ===Make John the Ripper=== | ||
Now change to JohnTheRipper/src directory and run the configure script: | Now change to JohnTheRipper/src directory and run the configure script: | ||
| Line 42: | Line 42: | ||
<pre> | <pre> | ||
$ cd JohTheRipper-1.8.0.6-jumbo-1/src/ | $ cd JohTheRipper-1.8.0.6-jumbo-1/src/ | ||
$ ./configure | |||
</pre> | </pre> | ||
This will create a Makefile. The default install directory is self-contained: it's ../run/ | |||
so you can make everything: | |||
<pre> | |||
$ make | |||
$ make install | |||
</pre> | |||
===Use John the Ripper=== | |||
Now you can go use your John binary: | |||
<pre> | |||
$ cd ../run | |||
$ ./john -test | |||
</pre> | |||
{{JohnFlag}} | {{JohnFlag}} | ||
Revision as of 06:41, 28 August 2015
From barebones AWS instance to John the Ripper ripping some passwords.
The Procedure
Get the Amazon Compute Instance
Get the compute instance request going, get the node fired up, and get logged in.
I use the private key for the machine, which was provided to me by Amazon, to ssh into the machine like this:
$ ssh -i my_amazon_key.pem ubuntu@<ip of amazon machine>
Then I'm in - I don't need a password.
Software Update
$ apt-get update $ apt-get install -Y unzip $ apt-get install -Y build-essential $ apt-get install -Y libssl-dev
Install John the Ripper
Get Zip File
I usually go with the latest jumbo file, in this case 1.8.0.6-1.
Download the zip file and extract it.
<pre. $ unzip JohnTheRipper-1.8.0.6-jumbo-1.zip
Make John the Ripper
Now change to JohnTheRipper/src directory and run the configure script:
$ cd JohTheRipper-1.8.0.6-jumbo-1/src/ $ ./configure
This will create a Makefile. The default install directory is self-contained: it's ../run/
so you can make everything:
$ make $ make install
Use John the Ripper
Now you can go use your John binary:
$ cd ../run $ ./john -test
| john the ripper password generator and all-around cracking tool.
Testing John: John the Ripper/Benchmarking Using John on Password generation using rules and modes: John the Ripper/Password Generation Installing some useful password rules: John the Ripper/Rules Using John to feed password guesses to Aircrack: Aircrack and John the Ripper John the Ripper on AWS: Ubuntu/Barebones to JtR Getting Passwords from John: John the Ripper/Password Recovery
|