Created
September 13, 2016 18:42
-
-
Save dwallraff/dea0989859d9cf6691c2d8dafa40a707 to your computer and use it in GitHub Desktop.
Extract (other) hashes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Extract valid MySQL-Old hashes | |
| cat *.txt | grep -e "[0-7][0-9a-f]{7}[0-7][0-9a-f]{7}" > mysql-old-hashes.txt | |
| # Extract blowfish hashes | |
| cat *.txt | grep -e "$2a$8$(.){75}" > blowfish-hashes.txt | |
| # Extract Joomla hashes | |
| cat *.txt | egrep -o "([0-9a-zA-Z]{32}):(w{16,32})" > joomla.txt | |
| # Extract VBulletin hashes | |
| cat *.txt | egrep -o "([0-9a-zA-Z]{32}):(S{3,32})" > vbulletin.txt | |
| # Extraxt phpBB3-MD5 | |
| cat *.txt | egrep -o '$H$S{31}' > phpBB3-md5.txt | |
| # Extract Wordpress-MD5 | |
| cat *.txt | egrep -o '$P$S{31}' > wordpress-md5.txt | |
| # Extract Drupal 7 | |
| cat *.txt | egrep -o '$S$S{52}' > drupal-7.txt | |
| # Extract old Unix-md5 | |
| cat *.txt | egrep -o '$1$w{8}S{22}' > md5-unix-old.txt | |
| # Extract md5-apr1 | |
| cat *.txt | egrep -o '$apr1$w{8}S{22}' > md5-apr1.txt | |
| # Extract sha512crypt, SHA512(Unix) | |
| cat *.txt | egrep -o '$6$w{8}S{86}' > sha512crypt.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment