diff options
author | Brett Weiland <techcrazybsw@gmail.com> | 2020-10-27 09:32:33 -0500 |
---|---|---|
committer | Brett Weiland <techcrazybsw@gmail.com> | 2020-10-27 09:32:33 -0500 |
commit | 5c726a8b0fb6e35edfa50120b9a76fe236bae558 (patch) | |
tree | 0d522887dd83d21db6331176071e7a496cb55496 |
new file: makefile
new file: shellcode_gen
-rw-r--r-- | makefile | 3 | ||||
-rwxr-xr-x | shellcode_gen | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..5f792d2 --- /dev/null +++ b/makefile @@ -0,0 +1,3 @@ +make: +install: shellcode_gen + ln $(shell pwd)/shellcode_gen /usr/bin/bash 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 |