CtrlK
Pentest Notes / Exploitation
Password Cracking
In this section
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
| Prefix | Algorithm |
|---|---|
| y | yescrypt is a scalable hashing scheme and is the default and recommended choice in new systems |
| gy | gost-yescrypt uses the GOST R 34.11-2012 hash function and the yescrypt hashing method |
| 7 | scrypt 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 |
| 6 | sha512crypt is a hash based on SHA-2 with 512-bit output originally developed for GNU libc and commonly used on (older) Linux systems |
| $md5 | SunMD5 is a hash based on the MD5 algorithm originally developed for Solaris |
| 1 | md5crypt is a hash based on the MD5 algorithm originally developed for FreeBSD |