add a hard require to the ssh mixin

added hard require for SSHFactory into the ssh exploit mixin
this should prevent any laod-order bugs from cropping up again
bug/bundler_fix
David Maloney 2016-08-22 09:56:07 -05:00
parent 87d34cfbba
commit b6dff719f3
No known key found for this signature in database
GPG Key ID: DEDBA9DC3A913DB2
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
module Msf
module Exploit::Remote::SSH
require 'rex/socket/ssh_factory'
def ssh_socket_factory
Rex::Socket::SSHFactory.new(framework, self, datastore['Proxies'])
end