From aa9da0f6f27759f5f3201bafb0e52f41367f08ef Mon Sep 17 00:00:00 2001 From: dusoleil Date: Mon, 2 Aug 2021 00:36:28 -0400 Subject: Adding Initial Commit of the Sploit Tool Signed-off-by: dusoleil --- tools/sploit/sploitconfig.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 tools/sploit/sploitconfig.py (limited to 'tools/sploit/sploitconfig.py') 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' -- cgit v1.2.3