John the Ripper Lab
Complete this lab as follows:
- Crack the root password on Support.
- From the Favorites bar, select Terminal.
- At the prompt, type cd /usr/share/john and press Enter to change directories to the folder containing the John the Ripper password file.
- Type ls and press Enter to list the files in the directory.
- Type cat password.lst and press Enter to view the password list. This is an abbreviated list.
- Type cd and press Enter to go back to root.
- Type john /etc/shadow and press Enter to crack the Linux passwords.
Notice that the root password of 1worm4b8 was cracked. - Type john /etc/shadow and press Enter to attempt to crack the Linux passwords again.
Notice that it does not attempt to crack the password again. The cracked password is already stored in the john.pot file. - Type cat ./.john/john.pot and press Enter to view the contents of the john.pot file.
- Type john /etc/shadow --show and press Enter as an alternate method of viewing the previously cracked password.
- From the top right, select Questions.
- Answer Question 1.
- Minimize the Lab Questions dialog.
- Crack the password of the protected.zip file.
- From the top left, select Floor 1 Overview.
- Under IT Administration, select IT-Laptop.
- From the Favorites bar, select Terminal.
- At the prompt, type ls and press Enter to view the contents of the home directory. Notice the protected.zip file you wish to crack.
- Type zip2john protected.zip > ziphash.txt and press Enter to copy the hashes to a text file.
- Type cat ziphash.txt and press Enter to confirm that the hashes have been copied.
- Type john --format=pkzip ziphash.txt and press Enter to crack the password.
- Type john ziphash.txt --show and press Enter to show the password.
- From the top right, select Questions.
- Answer Question 2.
#Netplus