Skip to content

Commit 3a84396

Browse files
committed
Removed authorization header.
1 parent b810a96 commit 3a84396

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

modules/auxiliary/scanner/http/influxdb_enum.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,9 @@ def initialize(info = {})
3535
end
3636

3737
def run
38-
username = datastore['USERNAME']
39-
password = datastore['PASSWORD']
40-
4138
res = send_request_cgi(
4239
'uri' => normalize_uri(target_uri.path),
43-
'method' => 'GET',
44-
'authorization' => basic_auth(username, password)
40+
'method' => 'GET'
4541
)
4642

4743
if res && res.code == 401

0 commit comments

Comments
 (0)