
The correct make command was printed as the end of './configure' output, and I simply copied it here.

We've already installed the dependencies we need here, but if you install some dependencies in the future, remember to run './configure' again. I read the error messages, then used 'apt-cache search libfoobar' to find the packages containing the missing libraries. That's how I found out what packages to install beforehand with 'apt-get'. If you're missing any dependencies, you'll get a warning here. $ cd john/src/Ĭonfigure will detect the environment and create a Makefile for 'make' command. Many Linux C and C++ programs are compiled with a variation of './configure & make'. Obviously, the maker of that software could execute any code on our system when we run it. Installing software outside package management is done on case by case bases. To save download time, we copy just the latest versions of the files using -depth=1, but this is optional. Git clone copies the whole project to you. A paid version also seems to exist, but this one is free.ĭownload John the Ripper, Jumbo version. We'll compile John from source, as the version packaged with distributions doesn't seem to contain support for many formats. Latest Jumbo version of John the Ripper supports many file formats.

But what do all these packages do? PackageĬompression tools, 'aunpack foo.zip', 'unzip foo.zip'ĭownload & Compile John the Ripper, Jumbo version Installing software in Linux is indeed convenient. $ sudo apt-get -y install micro bash-completion git build-essential libssl-dev zlib1g zlib1g-dev zlib-gst libbz2-1.0 libbz2-dev atool zip wget These commands are for Debian 11-Bullseye, but you can find similar packages on other Linuxes, too. Install the tools we need to work and the libraries required for John. To learn how to practice safely & legally, consider my penetration testing course. To safely use these tools, tactics and procedures, you might need to obtain contracts and permissions and posses adequate technical skills. Use of penetration testing techniques requires legal and ethical considerations. You might want to crack passwords with Hashcat first, which is a bit easier.


Finally, you'll test your environment by cracking a ZIP archive password. This article teaches you to obtain Jumbo version and compile it. John the Ripper can crack these passwords with dictionary attack. Many file formats support encryption with a password.
