scenario:
say we have file called pwlist.txt
this files contains 12 months name as password.
so we can run a for loop so that we can increase the passwords a bit.
for i in $(cat pwlist.txt); do echo $i; echo ${i}2019; echo ${i}2020; done > t
August
August2019
August2020
now you can ask why we are saving this in a file called t? because if you saved it on pwlist.txt file again then you would have just killed the file.
hashcat --force --stdout pwlist.txt -r /usr/share/hashcat/rules/best64.rule
--force we are not going to use GPU.
stdout the output will be shown directly on the shell.
we can also chain wordlists.
hashcat --force --stdout pwlist.txt -r /usr/share/hashcat/rules/best64.rule -r /usr/share/hashcat/rules/toggles1.rule | sort -u
whenever you use toggles rule then you must have duplicates. so sort command can help.
if you want to see words that are greater than 8 then,
hashcat --force --stdout pwlist.txt -r /usr/share/hashcat/rules/best64.rule -r /usr/share/hashcat/rules/toggles1.rule | sort -u | awk 'length($0) >8 '
Avi
Comments
Post a Comment