04-30-2021, 02:33 AM
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
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