Skip to content

Commit 5dad73a

Browse files
author
Tod Beardsley
committed
Explicitly require credential_collection
Otherwise, you run into a require ordering problem on some platforms. This is not a great way to fix this -- but it's a fast way, and possibly even a good way, since you're being explicit about what your module requirements are.
1 parent b5c3c87 commit 5dad73a

File tree

8 files changed

+7
-1
lines changed

8 files changed

+7
-1
lines changed

modules/auxiliary/scanner/http/appletv_login.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
##
55

66
require 'msf/core'
7+
require 'metasploit/framework/credential_collection'
78

89
class Metasploit3 < Msf::Auxiliary
910

modules/auxiliary/scanner/http/axis_login.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
require 'msf/core'
88
require 'metasploit/framework/login_scanner/axis2'
9+
require 'metasploit/framework/credential_collection'
910

1011
class Metasploit3 < Msf::Auxiliary
1112

modules/auxiliary/scanner/http/glassfish_login.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
require 'msf/core'
77
require 'metasploit/framework/login_scanner/glassfish'
8+
require 'metasploit/framework/credential_collection'
89

910
class Metasploit3 < Msf::Auxiliary
1011

modules/auxiliary/scanner/http/hp_sys_mgmt_login.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
require 'msf/core'
77
require 'metasploit/framework/login_scanner/smh'
8+
require 'metasploit/framework/credential_collection'
89

910
class Metasploit3 < Msf::Auxiliary
1011

modules/auxiliary/scanner/http/ipboard_login.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11

22
require 'msf/core'
33
require 'metasploit/framework/login_scanner/ipboard'
4+
require 'metasploit/framework/credential_collection'
45

56
class Metasploit3 < Msf::Auxiliary
67

modules/auxiliary/scanner/http/wordpress_xmlrpc_login.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
require 'metasploit/framework/credential_collection'
88
require 'metasploit/framework/login_scanner/wordpress_rpc'
99

10-
1110
class Metasploit3 < Msf::Auxiliary
1211
include Msf::HTTP::Wordpress
1312
include Msf::Auxiliary::Scanner

modules/auxiliary/scanner/pop3/pop3_login.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
require 'msf/core'
77
require 'metasploit/framework/login_scanner/pop3'
8+
require 'metasploit/framework/credential_collection'
89

910
class Metasploit3 < Msf::Auxiliary
1011

modules/auxiliary/scanner/ssh/ssh_login_pubkey.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
require 'msf/core'
77
require 'net/ssh'
88
require 'metasploit/framework/login_scanner/ssh'
9+
require 'metasploit/framework/credential_collection'
910

1011
class Metasploit3 < Msf::Auxiliary
1112

0 commit comments

Comments
 (0)