Copy hashid < hash valu e >
hash-identifier
haiti 'hash' # Gives hashcat ID as well
Copy hashcat -m < I D > hash /usr/share/wordlists/rockyou.txt --force # Google hash ID
hashcat -a 0 < hash.tx t > /usr/share/wordlists/rockyou.txt —show
John the Ripper (Windows hashes)
Copy john --wordlist=/usr/share/wordlists/rockyou.txt hash.txt --format=NT
john --rules --wordlist=/usr/share/wordlists/rockyou.txt hash.txt --format=NT # Rules
John the Ripper (Linux hashes)
Copy - > First combine shadow and password and use a tool called unshadow.
unshadow passwd-file.txt shadow-file.txt > unshadowed.txt
john --rules --wordlist=/usr/share/wordlists/rockyou.txt unshadowed.txt
Copy # Cracking the hash of PDF
pdf2john test.pdf > hash
OR
zip2john test.zip > hash
# Cracking the hash that was found
john --wordlist=/usr/share/wordlists/rockyou.txt hash