hashcat Forum
Save all valid password candidates - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Misc (https://hashcat.net/forum/forum-15.html)
+--- Forum: General Talk (https://hashcat.net/forum/forum-33.html)
+--- Thread: Save all valid password candidates (/thread-7579.html)



Save all valid password candidates - lehrling - 06-17-2018

Hello,

I'm trying to implement support for a file format that has barely any header information in the cleartext to check candidate password validity. Is it possible to return all of the valid candidates from the GPU?

It is my first time adding support for a hash format, but it was not difficult, the code is very well structured.

Thank you very much!


RE: Save all valid password candidates - royce - 06-17-2018

You can use --stdout to see what candidates hashcat will generate.

Code:
$ echo -n hashcat | hashcat --stdout -r ./rules/best64.rule | head
hashcat
tachsah
HASHCAT
Hashcat
hashcat0
hashcat1
hashcat2
hashcat3
hashcat4
hashcat5



RE: Save all valid password candidates - lehrling - 06-17-2018

Hi Royce,
Sorry, english is not my native language. I've seen this option, but it doesn't do what I want.
Suppose I found in the GPU code that two different passwords, eg 'Hashcat' and 'HashCat' are 'valid'. But I'll actually have to perform additional checks (eg. see the resulting file when these specific passwords are used). Can I get a list of all the collisions?


RE: Save all valid password candidates - undeath - 06-17-2018

hashcat supports an option --keep-guessing which should do what you want


RE: Save all valid password candidates - lehrling - 06-18-2018

undeath, thank you. Im using this option, but the passwords are not appearing in any file. Does this option also saves the collisions somewhere? Thank both of you for your time.


RE: Save all valid password candidates - royce - 06-19-2018

Verify your syntax using an existing format. If it works for that, it should work for yours.


RE: Save all valid password candidates - lehrling - 06-26-2018

Thanks royce! It worked! The potfile now contains all the found collisions!