Merge pull request #83 from dirtyfilthy/rename_ssh_forward_options_var

rename non existent local variable 'options' to correct session.options
unstable
Tod Beardsley 2011-12-28 13:52:28 -08:00
commit 84dfd46006
1 changed files with 3 additions and 3 deletions

View File

@ -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}" }