summaryrefslogtreecommitdiffstats
path: root/tools/sploit/sploitpipe.sh
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2021-09-02 23:48:43 -0400
committerMalfurious <m@lfurio.us>2021-09-02 23:48:43 -0400
commitc215cc471e88dfa697f1a255d5342120e18b3e10 (patch)
tree6685cbf99d1cb3dfe4cedfabf6c9009da6336f02 /tools/sploit/sploitpipe.sh
parentad0ff4ede0e35d7c70fa0469f94f526196fa8ad4 (diff)
parent5fa45b9b625e2d2efb5b43a8ea2fb63e31c437ab (diff)
downloadlib-des-gnux-c215cc471e88dfa697f1a255d5342120e18b3e10.tar.gz
lib-des-gnux-c215cc471e88dfa697f1a255d5342120e18b3e10.zip
Merge tag 'pull-sploit-rework' of https://github.com/Dusoleil/lib-des-gnux
Rework Sploit Tool Rewrite core functionality with new design and UX considerations. Organize functionality into separate modules. Add support for various use cases including: -pip install -running the installed sploit command -running the sploit.py script -running python -m sploit -importing the modules from the python interpreter Add a "daemon" mode which will continue to rehost the exploit script on the same pipes until you are done. * tag 'pull-sploit-rework' of https://github.com/Dusoleil/lib-des-gnux: (25 commits) Change behavior for import sploit Add mem module for calculating memory offsets Handle Process destr when Process constr throws Reuse read() and readline() in the until() API Add readall() which reads until EOF Move comm toggles for consistency Add arch config module Add Config Toggles for Read/Write Extra Behavior Rewrite interact() to be Single Threaded Add Convenience Utility to readuntil() readlineuntil() Operates on an Array of Lines Correct read() Semantics Throw a BrokenPipeError on Broken Read Formatting Handle Exceptions in Daemon Mode Allow Exit with Ctrl+C without a Stacktrace Move "Read Rest of Output" Out of Destructor Better Shutdown Process for Pipes Better Shutdown Process for Target Program Better Info Messages ...
Diffstat (limited to '')
-rwxr-xr-xtools/sploit/sploitpipe.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/sploit/sploitpipe.sh b/tools/sploit/sploitpipe.sh
deleted file mode 100755
index a761ad5..0000000
--- a/tools/sploit/sploitpipe.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/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