summaryrefslogtreecommitdiffstats
path: root/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
commitb33db8c57b0875904610ae5dec64a653332ac835 (patch)
tree433206bcd4d10173110a04641c08576380c2a12f /sploitconfig.py
downloadsploit-b33db8c57b0875904610ae5dec64a653332ac835.tar.gz
sploit-b33db8c57b0875904610ae5dec64a653332ac835.zip
Adding Initial Commit of the Sploit Tool
Signed-off-by: dusoleil <howcansocksbereal@gmail.com>
Diffstat (limited to 'sploitconfig.py')
-rwxr-xr-xsploitconfig.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/sploitconfig.py b/sploitconfig.py
new file mode 100755
index 0000000..084a59d
--- /dev/null
+++ b/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'