You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/auxiliary/scanner/http/epmp1000_web_login.rb
+30-25Lines changed: 30 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
##
2
1
##
3
2
# This module requires Metasploit: http://metasploit.com/download
4
3
# Current source: https://github.com/rapid7/metasploit-framework
@@ -16,8 +15,7 @@ def initialize(info={})
16
15
super(update_info(info,
17
16
'Name'=>'Cambium ePMP 1000 Login Scanner',
18
17
'Description'=>%{
19
-
This module scans for Cambium ePMP 1000 management login portal(s), and attempts to identify valid credentials.
20
-
18
+
This module scans for Cambium ePMP 1000 management login portal(s), and attempts to identify valid credentials. Default login credentials are - admin/admin, installer/installer, home/home and readonly/readonly.
21
19
},
22
20
'Author'=>
23
21
[
@@ -29,9 +27,9 @@ def initialize(info={})
29
27
30
28
register_options(
31
29
[
32
-
Opt::RPORT(80),# Application may run on a different port too. Change port accordingly.
33
-
OptString.new('USERNAME',[false,"A specific username to authenticate as","admin"]),
34
-
OptString.new('PASSWORD',[false,"A specific password to authenticate with","admin"])
30
+
Opt::RPORT(80),# Application may run on a different port too. Change port accordingly.
31
+
OptString.new('USERNAME',[false,"A specific username to authenticate as","admin"]),
32
+
OptString.new('PASSWORD',[false,"A specific password to authenticate with","admin"])
35
33
],self.class)
36
34
end
37
35
@@ -95,11 +93,13 @@ def is_app_epmp1000?
95
93
epmp_ver=get_epmp_ver[1]
96
94
97
95
print_good("#{rhost}:#{rport} - Running Cambium ePMP 1000 version #{epmp_ver}...")
98
-
99
96
returntrue
97
+
100
98
else
99
+
101
100
print_error("#{rhost}:#{rport} - Application does not appear to be Cambium ePMP 1000. Module will not continue.")
102
101
returnfalse
102
+
103
103
end
104
104
end
105
105
@@ -108,14 +108,16 @@ def is_app_epmp1000?
108
108
#
109
109
110
110
defdo_login(user,pass)
111
+
111
112
print_status("#{rhost}:#{rport} - Trying username:#{user.inspect} with password:#{pass.inspect}")
0 commit comments