Skip to content

Instantly share code, notes, and snippets.

@Sinkmanu
Created September 15, 2016 13:43
Show Gist options
  • Save Sinkmanu/d810afd69ac565c36158bea918e80510 to your computer and use it in GitHub Desktop.
Save Sinkmanu/d810afd69ac565c36158bea918e80510 to your computer and use it in GitHub Desktop.
Useful commands
# Get all opcodes of a binary file
for i in `objdump -d program | tr '\t' ' ' | tr ' ' '\n' | egrep '^[0-9a-f]{2}$' ` ; do echo -n "\x$i" ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment