-hashplain doesn't keep hex state
PenguinKeeper7 opened this issue · 4 comments
PenguinKeeper7 commented
-hashplain
forgets original plain/doesn't re-$HEX plains that need it
$ echo '$HEX[613A62]' | ./hashgen.exe -m ntlm -hashplain
...
8e134a51ae2df29f33695327f91a5371:a:b
cyclone-github commented
Printing hash:plaintext
when calling -hashplain
was purposeful during dev, but I agree that having an option to print hash:HEX
would be useful.
PenguinKeeper7 commented
It was more that I wanted it to be the same as the input instead of converting it and outputting a "different" plain as what I specified, idm either solution. Notice what string I echoed and what hashgen printed
cyclone-github commented
Gotcha, you're referring to -hashplain
being encoding-agnostic so that it's wordlist string-in, wordlist string-out.
$ echo '$HEX[70617373776f7264]' | ./hashgen.bin -m ntlm -hashplain
...
8846f7eaee8fb117ad06bdd830b7586c:$HEX[70617373776f7264]
$ echo 'password' | ./hashgen.bin -m ntlm -hashplain
...
8846f7eaee8fb117ad06bdd830b7586c:password
cyclone-github commented
Feature added.
v2023-09-28.1730-hashplain; modify -hashplain flag to be encoding-agnostic
415b1a1