Skip to content

Commit 14adcce

Browse files
committed
Missed the HTTPUSERNAME fix
1 parent 61f9cc3 commit 14adcce

File tree

69 files changed

+121
-121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+121
-121
lines changed

modules/auxiliary/admin/appletv/appletv_display_image.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def initialize(info = {})
2727
[
2828
['URL', 'http://nto.github.io/AirPlay.html']
2929
],
30-
'DefaultOptions' => { 'HTTPUSERNAME' => 'AirPlay' },
30+
'DefaultOptions' => { 'HttpUsername' => 'AirPlay' },
3131
'License' => MSF_LICENSE
3232
))
3333

modules/auxiliary/admin/http/openbravo_xxe.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def run
5353
users = send_request_raw({
5454
'method' => 'GET',
5555
'uri' => normalize_uri(datastore['TARGETURI'], "/ws/dal/#{datastore["ENDPOINT"]}"),
56-
'authorization' => basic_auth(datastore['HTTPUSERNAME'], datastore['HttpPassword'])
56+
'authorization' => basic_auth(datastore['HttpUsername'], datastore['HttpPassword'])
5757
}, 60)
5858

5959
if !users or users.code != 200

modules/auxiliary/scanner/http/buffalo_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def run_host(ip)
4747
stop_on_success: datastore['STOP_ON_SUCCESS'],
4848
bruteforce_speed: datastore['BRUTEFORCE_SPEED'],
4949
connection_timeout: 10,
50-
http_username: datastore['HTTPUSERNAME'],
50+
http_username: datastore['HttpUsername'],
5151
http_password: datastore['HttpPassword']
5252
)
5353
)

modules/auxiliary/scanner/http/caidao_bruteforce_login.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def initialize(info = {})
3939
], self.class)
4040

4141
# caidao does not have an username, there's only password
42-
deregister_options('HTTPUSERNAME', 'HttpPassword', 'USERNAME', 'USER_AS_PASS', 'USERPASS_FILE', 'USER_FILE', 'DB_ALL_USERS')
42+
deregister_options('HttpUsername', 'HttpPassword', 'USERNAME', 'USER_AS_PASS', 'USERPASS_FILE', 'USER_FILE', 'DB_ALL_USERS')
4343
end
4444

4545
def scanner(ip)
@@ -62,7 +62,7 @@ def scanner(ip)
6262
stop_on_success: datastore['STOP_ON_SUCCESS'],
6363
bruteforce_speed: datastore['BRUTEFORCE_SPEED'],
6464
connection_timeout: 5,
65-
http_username: datastore['HTTPUSERNAME'],
65+
http_username: datastore['HttpUsername'],
6666
http_password: datastore['HttpPassword']
6767
))
6868
}.call

modules/auxiliary/scanner/http/chef_webui_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def init_loginscanner(ip)
152152
stop_on_success: datastore['STOP_ON_SUCCESS'],
153153
bruteforce_speed: datastore['BRUTEFORCE_SPEED'],
154154
connection_timeout: 5,
155-
http_username: datastore['HTTPUSERNAME'],
155+
http_username: datastore['HttpUsername'],
156156
http_password: datastore['HttpPassword']
157157
)
158158
)

modules/auxiliary/scanner/http/dlink_dir_615h_http_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def initialize
4040
File.join(Msf::Config.data_directory, "wordlists", "http_default_pass.txt") ]),
4141
], self.class)
4242

43-
deregister_options('HTTPUSERNAME', 'HttpPassword')
43+
deregister_options('HttpUsername', 'HttpPassword')
4444
end
4545

4646
def target_url

modules/auxiliary/scanner/http/dlink_dir_session_cgi_http_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def initialize
4343
File.join(Msf::Config.data_directory, "wordlists", "http_default_pass.txt") ]),
4444
], self.class)
4545

46-
deregister_options('HTTPUSERNAME', 'HttpPassword')
46+
deregister_options('HttpUsername', 'HttpPassword')
4747
end
4848

4949
def target_url

modules/auxiliary/scanner/http/etherpad_duo_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def initialize(info={})
2525
'License' => MSF_LICENSE
2626
))
2727

28-
deregister_options('HTTPUSERNAME', 'HttpPassword')
28+
deregister_options('HttpUsername', 'HttpPassword')
2929
end
3030

3131
def run_host(ip)

modules/auxiliary/scanner/http/gitlab_login.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def initialize
2828
register_options(
2929
[
3030
Opt::RPORT(80),
31-
OptString.new('HTTPUSERNAME', [ true, 'The username to test', 'root' ]),
31+
OptString.new('HttpUsername', [ true, 'The username to test', 'root' ]),
3232
OptString.new('HttpPassword', [ true, 'The password to test', '5iveL!fe' ]),
3333
OptString.new('TARGETURI', [true, 'The path to GitLab', '/'])
3434
], self.class)
@@ -61,7 +61,7 @@ def run_host(ip)
6161
password: datastore['HttpPassword'],
6262
user_file: datastore['USER_FILE'],
6363
userpass_file: datastore['USERPASS_FILE'],
64-
username: datastore['HTTPUSERNAME'],
64+
username: datastore['HttpUsername'],
6565
user_as_pass: datastore['USER_AS_PASS']
6666
)
6767

modules/auxiliary/scanner/http/glassfish_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def init_loginscanner(ip)
9393
stop_on_success: datastore['STOP_ON_SUCCESS'],
9494
bruteforce_speed: datastore['BRUTEFORCE_SPEED'],
9595
connection_timeout: 5,
96-
http_username: datastore['HTTPUSERNAME'],
96+
http_username: datastore['HttpUsername'],
9797
http_password: datastore['HttpPassword']
9898
)
9999
)

0 commit comments

Comments
 (0)