Command zip2john is not working
I'm just running a test. There is a zip on my desktop, and the password is "12345". So, I already installed John the Ripper on my Ubuntu 19.04. This is what I am doing (terminal opened on the Desktop):
zip2john test.zip > hash.txt
The output:
zip2john: command not found
What am I doing wrong?
Solution 1:
git clone "https://github.com/magnumripper/JohnTheRipper.git" && cd JohnTheRipper/src && ./configure && sudo make -s clean && sudo make -sj4
Then go run and try ./zip2john
.
Solution 2:
The accepted answer is not up-to-date and official. Here is copied from the official documentation:
git clone https://github.com/openwall/john -b bleeding-jumbo john
cd john/src/
./configure
make -s clean && make -sj4
To use the tools like zip2john
, you can navigate to the run/
folder:
cd ../run/
./zip2john test.zip
Just an usage example.