Password Cracker
Password Cracker
We need to copy the whole field and save it in a file with a name mypasswd on the
Desktop with the following command below:
From the output, you should see JtR cracked the password for user Linux.
Exercise with Wordlist Cracking Mode
Teacher will create user and password in your Kali. Your mission is to crack this
password using above and below commands.
1) You need to unzip rockyou.txt.gz file, which is located in the folder
/usr/share/wordlists/ in order to use wordlist cracking mode.
2) You need to copy the whole field from /etc/shadow file and save it in a file with
a name mypasswd on the Desktop.
3) The final step is to crack the password with the below command.
To crack this password hash using a wordlist, we will use the --wordlist parameter
then provide the path of the wordlist.
See the command below:
$ ls /usr/share/wordlists/
From the output you can see that rockyou.txt.gz file which mean that file is zipped.
In order to unzip it, we will use the following command below:
$ gzip -d rockyou.txt.gz
Check it again with the ls command it should be rockyou.txt now.