diff options
Diffstat (limited to '')
l--------- | sploitpipe | 1 | ||||
-rwxr-xr-x | sploitpipe.sh | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/sploitpipe b/sploitpipe new file mode 120000 index 0000000..3e5a956 --- /dev/null +++ b/sploitpipe @@ -0,0 +1 @@ +sploitpipe.sh
\ No newline at end of file diff --git a/sploitpipe.sh b/sploitpipe.sh new file mode 100755 index 0000000..a761ad5 --- /dev/null +++ b/sploitpipe.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +#sets up sploit.py to use the input/output of a target program +#after running ./sploit you can launch the target program with +#<spltin ./target_program &>spltout +#also works in gdb +#r <spltin &>spltout +#or run the program in the background and set the gdb wait timer in sploit.py +# <spltin ./target_program &>spltout & +# gdb -p <pid that gets printed out when backgrounding target> + +rm spltin 2> /dev/null +rm spltout 2> /dev/null + +mkfifo spltin +mkfifo spltout + +<spltout tee >(./sploit.py &>spltin) | ./sploitlog.py + +rm spltin +rm spltout |