hashcat Forum
need HEX to ASCII convert - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html)
+--- Forum: General Help (https://hashcat.net/forum/forum-8.html)
+--- Thread: need HEX to ASCII convert (/thread-3522.html)



need HEX to ASCII convert - aaaaa1 - 07-04-2014

Hallo all!
Can somebody tell me how to convert passes in HEX format to ASCII
for example:
$HEX[6f6c6468e16c65]
$HEX[666f7267e574]
etc.

Many thanks!


RE: need HEX to ASCII convert - undeath - 07-04-2014

I got this from someone on IRC:
Code:
perl -ne 'if ($_ =~ m/\$HEX\[([A-Fa-f0-9]+)\]/) {print pack("H*", $1), "\n"}'



RE: need HEX to ASCII convert - aaaaa1 - 07-08-2014

Many thanks!
it works