summaryrefslogtreecommitdiffstats
path: root/tools/sploit/sploitconfig.py
diff options
context:
space:
mode:
authordusoleil <howcansocksbereal@gmail.com>2021-08-02 00:36:28 -0400
committerdusoleil <howcansocksbereal@gmail.com>2021-08-03 19:45:57 -0400
commitaa9da0f6f27759f5f3201bafb0e52f41367f08ef (patch)
treed3f748eeb0112205bb7784bd353b22376ee827ae /tools/sploit/sploitconfig.py
parent4338f0862dae3b33862bb32c5dd9fc2eb5f6f90a (diff)
downloadlib-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 'tools/sploit/sploitconfig.py')
-rwxr-xr-xtools/sploit/sploitconfig.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/sploit/sploitconfig.py b/tools/sploit/sploitconfig.py
new file mode 100755
index 0000000..084a59d
--- /dev/null
+++ b/tools/sploit/sploitconfig.py
@@ -0,0 +1,13 @@
+#!/usr/bin/env python3
+
+import sys
+
+#if given a program name on the command line, we'll use popen
+#otherwise, we use stdin/stdout
+#in the latter case, you can use sploitpipe to set up spltin and spltout
+use_popen = len(sys.argv) > 1
+#sleep for this many seconds to give time to attach gdb
+wait_for_gdb = 0
+#will decode output with this encoding for printing
+#or if empty, will print as bytes
+log_encoding = ''#'utf-8'