DEV Community

Cover image for HOW TO DOWNLOAD AND UNZIP ROCKYOU.TXT ON KALI
Babs
Babs

Posted on

HOW TO DOWNLOAD AND UNZIP ROCKYOU.TXT ON KALI

Go to your web browser and search "rockyou.txt" on google to download the file from github.

Image description

After successful download click on your home file

Image description

Select "file system" and select the "usr" file

Image description

Select the "share" file

Image description

Select the "wordlists" file

Image description

Right click on your MENU KEY and select "open terminal here"

Image description

Input the command below to switch to root

sudo su

Enter fullscreen mode Exit fullscreen mode

Now input the command below to unzip the file

gzip -d rockyou.txt.gz

Enter fullscreen mode Exit fullscreen mode

Image description

The rockyou wordlist has been successfully unzipped.

HOW TO CHECK THE TOTAL AMOUNT OF PASSWORD IN THE FILE

CD into the directory

cd /usr/share/wordlists 

Enter fullscreen mode Exit fullscreen mode

input the command

wc -l rockyou.txt

Enter fullscreen mode Exit fullscreen mode

Image description

TO SEARCH PASSWORDS CONTAINING A CERTAIN WORD

Input the command

grep girlfriend rockyou.txt

Enter fullscreen mode Exit fullscreen mode

NB- Change girlfriend to any word of your choice

Image description

HOW TO SEARCH FOR PASSWORDS CONTAINING SPECIAL CHARACTERS

Input the command

grep -F "*#$" rockyou.txt 

Enter fullscreen mode Exit fullscreen mode

NB- Change *#$ to any character of your choice

Image description

Top comments (0)