hashcat Forum
format username:password? - 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: format username:password? (/thread-9549.html)



format username:password? - uwualex - 10-07-2020

I'm basically trying to format the whole thing as username:password.
My hashlist looks soemthing like this:
Username:Hash 

What im trying to do is have it like so:
Username: Dehashed

How do i go on about formatting this with hashcat?

So far i have tried:
-m 0 --username --potfile-path md5.pot --show -o formatted_output.txt --outfile-format 2 original_MD5_hashes.txt

But it doesn't seem to work, it shows:
Failed to parse hashes using the 'native hashcat' format.


Any help is highly appreciated, i hope you can understand what im trying to say. English is not my first language.
Thanks!


RE: format username:password? - philsmd - 10-07-2020

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

btw: https://www.techsolvency.com/passwords/dehashing-reversing-decrypting/


RE: format username:password? - uwualex - 10-07-2020

I have tried the exact same thing from here:https://hashcat.net/wiki/doku.php?id=frequently_asked_questions#how_can_i_show_previously_cracked_passwords_and_output_them_in_a_specific_format_eg_emailpassword


I spent about 4 hours on google and i still can't figure it out..
As of right now im using a simple Python script but at the same time im genuinely curious on why it doesnt work.


RE: format username:password? - philsmd - 10-07-2020

just make sure that the input is correct and also remember that the way to do it is 2-fold (2 steps are needed ), i.e. first crack such that the cracked hashes with password end up in the .potfile, only after you cracked the hashes the second command can be used with --show to show the cracks.

the input must be correct. that means that all hash list must contain all lines in this format: username:hash

The file original_MD5_hashes.txt must also be formatted like this: username:hash for each and every line, this is the so-called original hash list (with usernames). That is why you always need to use --username

Maybe just try a simple example with one hash first, to see if you get it working.

It's definitely working for me (and for many other users that also did use this command !).