@@ -15,8 +15,8 @@ class Metasploit3 < Msf::Auxiliary
15
15
16
16
def initialize
17
17
super (
18
- 'Name' => 'Gitlab Login Utility' ,
19
- 'Description' => 'This module attempts to login to a Gitlab instance using a specific user/pass.' ,
18
+ 'Name' => 'GitLab Login Utility' ,
19
+ 'Description' => 'This module attempts to login to a GitLab instance using a specific user/pass.' ,
20
20
'Author' => [ 'Ben Campbell' ] ,
21
21
'License' => MSF_LICENSE
22
22
)
@@ -26,7 +26,7 @@ def initialize
26
26
Opt ::RPORT ( 80 ) ,
27
27
OptString . new ( 'USERNAME' , [ true , 'The username to test' , 'root' ] ) ,
28
28
OptString . new ( 'PASSWORD' , [ true , 'The password to test' , '5iveL!fe' ] ) ,
29
- OptString . new ( 'TARGETURI' , [ true , 'The path to Gitlab ' , '/' ] )
29
+ OptString . new ( 'TARGETURI' , [ true , 'The path to GitLab ' , '/' ] )
30
30
] , self . class )
31
31
32
32
register_autofilter_ports ( [ 80 , 443 ] )
@@ -43,11 +43,11 @@ def run_host(ip)
43
43
)
44
44
45
45
if res && res . body && res . body . include? ( 'user[email]' )
46
- vprint_status ( "#{ peer } - Gitlab v5 login page" )
46
+ vprint_status ( "#{ peer } - GitLab v5 login page" )
47
47
elsif res && res . body && res . body . include? ( 'user[login]' )
48
- vprint_status ( "#{ peer } - Gitlab v7 login page" )
48
+ vprint_status ( "#{ peer } - GitLab v7 login page" )
49
49
else
50
- vprint_error ( 'Not a valid Gitlab login page' )
50
+ vprint_error ( 'Not a valid GitLab login page' )
51
51
return
52
52
end
53
53
@@ -61,7 +61,7 @@ def run_host(ip)
61
61
user_as_pass : datastore [ 'USER_AS_PASS' ]
62
62
)
63
63
64
- scanner = Metasploit ::Framework ::LoginScanner ::Gitlab . new (
64
+ scanner = Metasploit ::Framework ::LoginScanner ::GitLab . new (
65
65
configure_http_login_scanner (
66
66
cred_details : cred_collection ,
67
67
stop_on_success : datastore [ 'STOP_ON_SUCCESS' ] ,
0 commit comments