diff options
author | dusoleil <howcansocksbereal@gmail.com> | 2021-08-02 00:36:28 -0400 |
---|---|---|
committer | dusoleil <howcansocksbereal@gmail.com> | 2021-08-03 19:45:57 -0400 |
commit | aa9da0f6f27759f5f3201bafb0e52f41367f08ef (patch) | |
tree | d3f748eeb0112205bb7784bd353b22376ee827ae /tools/sploit/sploitpipe.sh | |
parent | 4338f0862dae3b33862bb32c5dd9fc2eb5f6f90a (diff) | |
download | lib-des-gnux-aa9da0f6f27759f5f3201bafb0e52f41367f08ef.tar.gz lib-des-gnux-aa9da0f6f27759f5f3201bafb0e52f41367f08ef.zip |
Adding Initial Commit of the Sploit Tool
Signed-off-by: dusoleil <howcansocksbereal@gmail.com>
Diffstat (limited to '')
-rwxr-xr-x | tools/sploit/sploitpipe.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/sploit/sploitpipe.sh b/tools/sploit/sploitpipe.sh new file mode 100755 index 0000000..a761ad5 --- /dev/null +++ b/tools/sploit/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 |