``` echo 'cyb:$1$7vA3ehSd$di3O2KOyuK14K7X5uvlUK.:18863:0:99999:7:::' > hash.txt cut -d':' -f2 hash.txt > hash_only.txt hashcat -m 500 hash_only.txt /usr/share/wordlists/rockyou.txt hashcat -m 500 --show hash_only.txt ``` ### Explanation - **John the Ripper**: This tool is straightforward to use with the hash stored in a file. It automatically detects the hash type and starts the cracking process. - **hashcat**: This tool is more powerful and flexible, allowing you to specify the hash type with `-m 500` (which corresponds to MD5-based crypt(3) hashes) and use various attack modes.