diff --git a/modules/auxiliary/scanner/http/influxdb_enum.rb b/modules/auxiliary/scanner/http/influxdb_enum.rb index 7490f3d86c..ec7c9d1688 100644 --- a/modules/auxiliary/scanner/http/influxdb_enum.rb +++ b/modules/auxiliary/scanner/http/influxdb_enum.rb @@ -35,13 +35,9 @@ class Metasploit3 < Msf::Auxiliary end def run - username = datastore['USERNAME'] - password = datastore['PASSWORD'] - res = send_request_cgi( 'uri' => normalize_uri(target_uri.path), - 'method' => 'GET', - 'authorization' => basic_auth(username, password) + 'method' => 'GET' ) if res && res.code == 401