hashcat Forum
Extract all passwords from potfile - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Extract all passwords from potfile (/thread-8159.html)



Extract all passwords from potfile - Stella - 02-16-2019

Is there any way to either tell hashcat to run through all passwords inside of a potfile, no matter what hash it belongs to?
Or to extract all passwords from the potfile, once again no matter what hash it belongs to?

Example:
My potfile contains of 400k cracked hashes of 7 different types, i want to get all the 400k passwords from the potfile to create a wordlist.
I could probably just parse it using Excel, but it would take time and i was wondering if there is an actual command/way to do it quickly through hashcat.

Or at least making it run against all those passwords from potfile, no matter what hash it is.
So even if i'm using mode 2711 for vBulletin now, i want it to go against passwords that are attached to cracked SHA512 hashes.


RE: Extract all passwords from potfile - atom - 02-16-2019

perl -ne 'chomp; my @x=split ":"; print $x[-1], "\n";' hashcat.potfile > wordlist.txt

Then you can use wordlist.txt as wordlist


RE: Extract all passwords from potfile - ApexCracker - 02-16-2019

--show will be able to do this too with an empty wordlist
but you need an old hashcat version


RE: Extract all passwords from potfile - philsmd - 02-16-2019

that's incorrect.
--show only considers the hashes matching the current hash type and hash list (hash.txt):
Code:
hashcat -m 0 --show --outfile-format 2 hash.txt



RE: Extract all passwords from potfile - ApexCracker - 02-16-2019

(02-16-2019, 03:34 PM)philsmd Wrote: that's incorrect.
--show only considers the hashes matching the current hash type and hash list (hash.txt):
Code:
hashcat -m 0 --show --outfile-format 2 hash.txt

Yup, sorry. Didn't read the thread correctly