**Unit 3 Lab walk-through** By: Wilson Zhu **NOTE:** My version of John is not up to date, thus I could not complete past crackA.txt. **Setup** Once you are inside the `unit3` folder, use `ls` to list the files. You should now see `crackfiles.zip`. Go ahead and unzip the file using the command `unzip crackfiles.zip` Download the rockyou wordlist using the following command: `wget https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt` Exploring rockyou wordlist: ![](https://hackmd.io/_uploads/HyB0sh0ka.png) ![](https://hackmd.io/_uploads/HJJ12h0JT.png) **Using John to crack Passwords** **crackA.txt** To crack the first file, run the command`john --single crackA.txt`. You should see all 3 passwords in `crackA.txt` cracked. crackA.txt all cracked: ![](https://hackmd.io/_uploads/r1bEn2RJ6.png) **crackB.txt** For the second file, start with the command: `john --wordlist=lower.lst crackB.tx` which would result in 1/3 passwords being cracked. Use the following to crack Dwight: `john --wordlist=lower.lst crackB.txt --rules=l33t`. Use the following to crack Pam: `john --wordlist=lower.lst crackB.txt --rules=shifttoggle`. **crackC.txt** Use the following command to crack pinball:`john --incremental=digits --min-length=4 --max-length=6 crackC.txt` Use the following command to crack pacman: `john --mask=?d?u?l?l crackC.txt` Use the following command to crack frogger: `john --mask=?l?l?l?l?d! crackC.txt`