Skip to content

Instantly share code, notes, and snippets.

@0xm4ud
Created January 15, 2023 01:34
Show Gist options
  • Save 0xm4ud/8fd3a97cb97804009e3b11e2423dec90 to your computer and use it in GitHub Desktop.
Save 0xm4ud/8fd3a97cb97804009e3b11e2423dec90 to your computer and use it in GitHub Desktop.
READ string then convert to hex and print it in reverse
python3 -c 'print("".join(hex(ord(c))[2:].zfill(2) for c in input("Enter the string: ")[::-1]))'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment