Files
metasploit-gs/lib/msf/core/exploit/ssh.rb
T
David Maloney 3d93c55174 move sshfactory into a mixin method
use a convience method to DRY up creation
of the SSHFactory inside modules. This will make it easier
to apply changes as needed in future. Also changed msframework attr
to just framework as per our normal convention

MS-1688
2016-06-28 15:23:12 -05:00

12 lines
210 B
Ruby

module Msf
module Exploit
module Remote
module SSH
def ssh_socket_factory
Rex::Socket::SSHFactory.new(framework,self, datastore['Proxies'])
end
end
end
end
end