Removed authorization header.

unstable
Roberto Soares 2015-04-25 14:30:21 -03:00
parent b810a96dac
commit 3a84396f32
1 changed files with 1 additions and 5 deletions

View File

@ -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