How to Extract John the Ripper

Submitted by: Submitted by

Views: 117

Words: 429

Pages: 2

Category: Societal Issues

Date Submitted: 09/16/2013 01:19 PM

Report This Essay

How to extract John the Ripper source code from tarballs [Openwall Co...

http://openwall.info/wiki/john/how-to-extract-tarballs-and-apply-patches

John the Ripper source code is distributed in the form of tarballs ( tar [http://en.wikipedia.org /wiki/Tar_%28file_format%29] archives) compressed with either gzip [http://www.gzip.org] or bzip2 [http://www.bzip.org]. On a Unix-like [http://en.wikipedia.org/wiki/Unix-like] system with GNU tar [http://www.gnu.org/software/tar/] (or on Cygwin [http://www.cygwin.com] if you use Windows), please use the following command for gzip-compressed tarballs:

tar xzvf john-VERSION.tar.gz

(where VERSION is a John the Ripper version number, such as 1.7.2). For bzip2-compressed tarballs use:

tar xjvf john-VERSION.tar.bz2

On some commercial Unices, you might need to download and install gzip or bzip2 on your own (perhaps from a pre-compiled freeware archive for your flavor of Unix) and/or to use more complicated command-line syntax, such as:

gzip -dc john-VERSION.tar.gz | tar xvf -

Please refer to man (manual) pages, texinfo [http://www.gnu.org/software/texinfo/] documentation, and/or web pages on tar [http://www.gnu.org/software/tar/manual/], gzip [http://www.gnu.org/software /gzip/manual/], and bzip2 [http://www.bzip.org/docs.html] for information on the command-line options.

To apply a contributed patch that was generated in accordance with our conventions and compressed with gzip, on a Unix-like system with GNU software (or on Cygwin), please use the following commands (assuming that you have just extracted the source code from a tarball as shown above):

cd john-VERSION gzip -dc ../john-VERSION-WHAT-REVISION.diff.gz | patch -p1

(where VERSION, WHAT, and REVISION are parts of the patch file name). Please note that you must not enter the src subdirectory prior to applying patches generated in accordance with our conventions. To apply an uncompressed patch, use:

patch -p1 < ../john-VERSION-WHAT-REVISION.diff...