summaryrefslogtreecommitdiff
path: root/shellcode_gen
diff options
context:
space:
mode:
Diffstat (limited to 'shellcode_gen')
-rwxr-xr-xshellcode_gen2
1 files changed, 2 insertions, 0 deletions
diff --git a/shellcode_gen b/shellcode_gen
new file mode 100755
index 0000000..f7ba048
--- /dev/null
+++ b/shellcode_gen
@@ -0,0 +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