From affe57a4ed9658a91fb38e7f03235584cd210b2c Mon Sep 17 00:00:00 2001 From: dusoleil Date: Tue, 31 Aug 2021 20:10:10 -0400 Subject: Use Entire Path When Given The Pipe Directory Previously, you could specify a directory which must exist under /tmp. Now, you can give the full path to a directory to be used by Pipes. Signed-off-by: dusoleil --- sploit/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sploit/main.py') diff --git a/sploit/main.py b/sploit/main.py index 6d181b8..7ed23d2 100644 --- a/sploit/main.py +++ b/sploit/main.py @@ -26,9 +26,8 @@ def main(): def daemon(script): print("Running in Pipe Daemon Mode...") with tempfile.TemporaryDirectory() as tmpdir: - tmp = os.path.split(tmpdir)[1] while(True): - runscript(script,Comm(Pipes(tmp))); + runscript(script,Comm(Pipes(tmpdir))); def pipe(script): print("Running in Pipe Mode..."); -- cgit v1.2.3