Add context to the socket
This commit is contained in:
@@ -450,7 +450,12 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||
|
||||
rex_socket = Rex::Socket::Tcp.create(
|
||||
'PeerHost' => rhost,
|
||||
'PeerPort' => datastore['BREAKPOINT_PORT']
|
||||
'PeerPort' => datastore['BREAKPOINT_PORT'],
|
||||
'Context' =>
|
||||
{
|
||||
'Msf' => framework,
|
||||
'MsfExploit' => self,
|
||||
}
|
||||
)
|
||||
|
||||
add_socket(rex_socket)
|
||||
|
||||
Reference in New Issue
Block a user