πŸ› οΈTools

Hashcat

Use of Hashcat

Get the right code

hashcat -h | grep -i "$HASH$"

Without custom rules

hashcat -m $CODE$ file.hash /usr/share/wordlists/rockyou.txt

With custom rules

hashcat -m $CODE$ file.hash /usr/share/wordlists/rockyou.txt -r file.rule --force

Custom rules

Create a custom rule

To create a custom rule, creation of a single file is enough.

cat file.rule
$1 $! c

Use a default custom rule

hashcat is provided with a list of default rules that can be found under: /usr/share/hashcat/rules/.

JohnTheRipper

Use of JohnTheRipper

Without custom rules

With custom rule

Custom rule

To create a custom rule, it is needed to append the rule at the end of /etc/john/john.conf using a format.

In this example we will create a custom rule named "sshRules"

gpp-decrypt

To crack GPP-stored passwords encrypted with AES-256.

Last updated