updated options module
git-svn-id: file:///home/svn/framework3/trunk@7078 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
a478c11df0
commit
56d4345830
|
@ -34,7 +34,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
begin
|
begin
|
||||||
res = send_request_raw({
|
res = send_request_raw({
|
||||||
'version' => '1.0',
|
'version' => '1.0',
|
||||||
'uri' => '*',
|
'uri' => '/',
|
||||||
'method' => 'OPTIONS'
|
'method' => 'OPTIONS'
|
||||||
}, 10)
|
}, 10)
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
|
|
||||||
wmap_report(rep_id,'WEB_SERVER','OPTIONS',"#{res.headers['Allow']}",nil)
|
wmap_report(rep_id,'WEB_SERVER','OPTIONS',"#{res.headers['Allow']}",nil)
|
||||||
else
|
else
|
||||||
print_status("No options.")
|
''
|
||||||
end
|
end
|
||||||
|
|
||||||
rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout
|
rescue ::Rex::ConnectionRefused, ::Rex::HostUnreachable, ::Rex::ConnectionTimeout
|
||||||
|
|
Loading…
Reference in New Issue