Removed authorization header.
parent
b810a96dac
commit
3a84396f32
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue