Created
August 21, 2019 17:44
-
-
Save reikoNeko/0258d3dad117d265ff445b1bacb973ce to your computer and use it in GitHub Desktop.
Assemble a human readable string from hexadecimal ascii
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def hexstring(s): | |
return [ chr(int(x,16))for x in map(''.join, zip(*[iter(s)]*2)) ] | |
dmprg = ''.join(hexstring("7777772e796f75747562652e636f6d2f77617463683f763d5a79614b336a6f34536c34")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment