Merge pull request #83 from dirtyfilthy/rename_ssh_forward_options_var
rename non existent local variable 'options' to correct session.optionsunstable
commit
84dfd46006
|
@ -249,11 +249,11 @@ module Net; module SSH; module Service
|
|||
'PeerHost' => remote.host,
|
||||
'PeerPort' => remote.port,
|
||||
'Context' => {
|
||||
'Msf' => options[:msframework],
|
||||
'MsfExploit' => options[:msfmodule]
|
||||
'Msf' => session.options[:msframework],
|
||||
'MsfExploit' => session.options[:msfmodule]
|
||||
}
|
||||
)
|
||||
options[:msfmodule].add_socket(client) if options[:msfmodule]
|
||||
options[:msfmodule].add_socket(client) if session.options[:msfmodule]
|
||||
|
||||
info { "connected #{connected_address}:#{connected_port} originator #{originator_address}:#{originator_port}" }
|
||||
|
||||
|
|
Loading…
Reference in New Issue