3d93c55174
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
12 lines
210 B
Ruby
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 |