Converting Salt to HEX?
#3
(04-30-2021, 02:33 AM)penguinkeeper Wrote: Hashcat already natively supports delimiters within salts, however, if you really want to hex your salts, I made a quick and dirty Python3 script for ya.
https://github.com/PenguinKeeper7/Helpfu...hexSalt.py

> cat hashes.txt
Hash:Salt
Hash2:Sa:lt2
Hash3:Sa:l:t3

> python3 hexSalt.py hashes.txt outfile.txt

> cat outfile.txt
Hash:53616c74
Hash2:53613a6c7432
Hash3:53613a6c3a7433

Wow, thank you, I will definitely put this script to good use! Very much appreciated. 

Could you maybe clarify some of my confusion about the "--hex-salt" command? As you mentioned, since hashcat already supports delimiters within salts, why would someone find the  "--hex-salt" flag useful? At some point the "--hex-salt" flag must have been created because salts were "hexed" at some point right? Or was it created just in case a database stores salts in hex?

Thanks for your patience and any insight, I realize this may be a very noob level question.
Reply


Messages In This Thread
Converting Salt to HEX? - by hashfox - 04-29-2021, 10:19 PM
RE: Converting Salt to HEX? - by penguinkeeper - 04-30-2021, 02:33 AM
RE: Converting Salt to HEX? - by hashfox - 04-30-2021, 08:32 PM