Custom Wordlists
Task 3 - Filter Wordlists
Get flag 1 - Password Requirements: 8 length minimum
cat /usr/share/wordlists/rockyou.txt | grep -x '.\{8,20\}' > 8-20_length_wordlistzip2john flag1.txt.zip > flag1hashjohn flag1hash --wordlist=8-20_length_wordlist
*Use the password to unzip protected zip file. And get the flag.
Get flag2 - Password Requirements: 1 Uppercase
cat /usr/share/wordlists/rockyou.txt | grep -o '[^ ]*[A-Z][^ ]*' > contains_uppercase.txtzip2john flag2.txt.zip > flag2hashjohn flag2hash --wordlist=contains_uppercase.txtGet flag 3 - Password Requirements: 10 length minimum, Uppercase, Special Characters
For this questions, it is need many steps.
- First, we will find a 10 lenght word from our Uppercase file (from Challangge 2) 
cat contains_uppercase.txt | grep -x '.\{10,20\}' > 10-20_length_wordlist- Now, step is the same, but now againts the above file. 
cat 10-20_length_wordlist | grep -v “^[A-Za-z0-9]*$” > contains_special.txtzip2john flag3.txt.zip > flag3hashjohn flag3hash --wordlist=contains_special.txtBy AdaniKamal
Last updated