summaryrefslogtreecommitdiff
path: root/shellcode_gen
blob: f7ba048bf4b6b1cbff07500035f77473758f39d0 (plain)
1
2
#!/bin/bash
echo -n 'printf '0x$(objdump -D "$1" | cut -f 2 -s | sed -r 's/[^a-f,0-9]|\s//g' | tr -d "\n") '| xxd -r -p' | xsel -ib