Skip to content

Commit b6dff71

Browse files
David MaloneyDavid Maloney
authored andcommitted
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
1 parent 87d34cf commit b6dff71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/msf/core/exploit/ssh.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module Msf
22
module Exploit::Remote::SSH
3+
require 'rex/socket/ssh_factory'
34
def ssh_socket_factory
45
Rex::Socket::SSHFactory.new(framework, self, datastore['Proxies'])
56
end

0 commit comments

Comments
 (0)