TLDRBins TLDRBins / Password Cracking


Usage Tips:

  • Click on a keyword to enable inline editing.
  • Click inside a code block to copy (excludes comments).
  • Use the button to view examples.
  • Click outside to collapse all examples.

Convert file to hash format

# For example ssh2john id_rsa_encrypted > hash
Sample Output: TO-DO
keepass2john test.kdbx > hash
Sample Output: TO-DO
zip2john test.zip > hash
Sample Output: TO-DO
# Get a full list of *2john find / -name *2john 2>/dev/null
Sample Output: TO-DO

# General use john --wordlist=/usr/share/wordlists/rockyou.txt hash
Sample Output: TO-DO
# Specify hash format john --wordlist=/usr/share/wordlists/rockyou.txt hash --format=Raw-SHA512
Sample Output: TO-DO
# Show cracked hash john --show hash
Sample Output: TO-DO
# Show cracked hash with specific format john --show hash --format=Raw-SHA512
Sample Output: TO-DO
# Auto detect hash format hashcat hash
Sample Output: TO-DO
# Specify hash format hashcat -m <MODE> -a 0 hash /usr/share/wordlists/rockyou.txt --force
Sample Output: TO-DO
# Auto skip username and colon hashcat hash --user
Sample Output: TO-DO

Create a wordlist

# For example, 'Test' with 4 digits and a symbol hashcat --stdout -a 3 Test?d?d?d?d?s > passwords.txt
Sample Output: $ hashcat --stdout -a 3 Test?d?d?d?d?s > passwords.txt $ head passwords.txt Test1999* Test2312. Test5678* Test0000. Test9000. Test8888* Test3000. Test4523. Test7778* Test6999*

+------------------------------------------+ | ? | Charset | | ===+========= | | l | abcdefghijklmnopqrstuvwxyz [a-z] | | u | ABCDEFGHIJKLMNOPQRSTUVWXYZ [A-Z] | | d | 0123456789 [0-9] | | h | 0123456789abcdef [0-9a-f] | | H | 0123456789ABCDEF [0-9A-F] | | s | !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ | | a | ?l?u?d?s | | b | 0x00 - 0xff | +-----------------------------------------+
Sample Output: TO-DO

Ref: Example Hashes