Setting up Zip2John to crack password protected zip files on Linux Ubuntu
Downloading Zip2John
Here is how the additional zip2john package can be installed on ubuntu using mighty terminal;
Step 1: Clone the app from github repository using following code
git clone https://github.com/openwall/john -b bleeding-jumbo john && cd john/src/ && ./configure
If you get an error on previous step, add --without-openssl after ./configure then type the following;
make -s clean && make -sj4
Extracting hash of the zip file
Step 2: If you have succesfully completed installation, you can extract the hash file using following steps:
Move to /run file using cd/home/user/john/runStep 3: Type the following code piece;
./zip2john ./test.zip > hash.txt
Hash file must be be automatically exported into hash.txt file, and output must be similar to something like this:
Then you can start brute force -or mask- attack to crack password that is set for protected file.
Yorumlar
Yorum Gönder