summaryrefslogtreecommitdiff
path: root/shellcode_gen
diff options
context:
space:
mode:
authorBrett Weiland <techcrazybsw@gmail.com>2020-10-27 09:32:33 -0500
committerBrett Weiland <techcrazybsw@gmail.com>2020-10-27 09:32:33 -0500
commit5c726a8b0fb6e35edfa50120b9a76fe236bae558 (patch)
tree0d522887dd83d21db6331176071e7a496cb55496 /shellcode_gen
new file: makefile
new file: shellcode_gen
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