CtrlK

Pentest Notes / Exploitation

Password Cracking

Identifying hashes

hashid -m [hash]
-m : gives hashcat mode.
-j : gives john format name.

nth -t [hash]
ntf -f [file_of_hashes]

Prefix of different hashes

PrefixAlgorithm
yyescrypt is a scalable hashing scheme and is the default and recommended choice in new systems
gygost-yescrypt uses the GOST R 34.11-2012 hash function and the yescrypt hashing method
7scrypt is a password-based key derivation function
$2b$, $2y$, $2a$, $2x$bcrypt is a hash based on the Blowfish block cipher originally developed for OpenBSD but supported on a recent version of FreeBSD, NetBSD, Solaris 10 and newer, and several Linux distributions
6sha512crypt is a hash based on SHA-2 with 512-bit output originally developed for GNU libc and commonly used on (older) Linux systems
$md5SunMD5 is a hash based on the MD5 algorithm originally developed for Solaris
1md5crypt is a hash based on the MD5 algorithm originally developed for FreeBSD