Skip to content

Instantly share code, notes, and snippets.

@aesophor
Forked from mirchr/opcodes.sh
Created December 18, 2020 05:03
Show Gist options
  • Save aesophor/98444c9ae51487b4851318cb470b1366 to your computer and use it in GitHub Desktop.
Save aesophor/98444c9ae51487b4851318cb470b1366 to your computer and use it in GitHub Desktop.
bash one-liner for converting binary object file to shellcode ( i didn't write this)
for i in $(objdump -d shell.o -M intel |grep "^ " |cut -f2); do echo -n '\x'$i; done;echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment