hashcat Forum
Is it possible to save in a file not matched hashes? - 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: Is it possible to save in a file not matched hashes? (/thread-10539.html)



Is it possible to save in a file not matched hashes? - MariuszPoz - 12-19-2021

Hello. I wonder if it possible to save in a file all hashes that don't fit to our password we are looking for? Just in a format like potfiles (hash:plain password) ?


RE: Is it possible to save in a file not matched hashes? - meow - 12-19-2021

If you want to save cracked passwords to a dedicated output file – in addition to the potfile – you can use the "-o" option. Note that it's a lower case O.

Code:
-o ..\recovered-passwords.txt

If you  want to save remaining and uncracked passwords to a dedicated output file, I won't be able to help you. But I do know that there is a --restore option, so Hashcat must know equally well what isn't cracked yet just as it knows what is cracked already. I just don't know if it stores that state information in a file or if it can be told to do  so. Perhaps there is some sort of restore file it uses, and you may be able to use that for whatever you intend to do with it. Have a look inside the folder you run Hashcat from.

Code:
hashcat --restore



RE: Is it possible to save in a file not matched hashes? - meow - 12-20-2021

Hey I just found something called "hashcat.restore" file. I haven't used it or tried it myself, but this could be what you're looking for. Check the documentation.

https://hashcat.net/wiki/doku.php?id=hashcat

Specifically this part:

Code:
--restore-file-path
Specific path to restore file

It appears to be a binary format, but there is a full page dedicated to describing how to parse it.

https://hashcat.net/wiki/doku.php?id=restore

I hope this helps.