Minor fixups for trace report_note patch
parent
d92378a013
commit
96d2209ca2
|
@ -17,7 +17,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
def initialize
|
||||
super(
|
||||
'Name' => 'HTTP TRACE Detection',
|
||||
'Version' => '$Revision$',
|
||||
'Version' => '$Revision: $',
|
||||
'Description' => 'Test if TRACE is actually enabled. 405 (Apache) 501(IIS) if its disabled, 200 if it is',
|
||||
'Author' => ['CG'],
|
||||
'License' => MSF_LICENSE
|
||||
|
@ -49,14 +49,14 @@ class Metasploit3 < Msf::Auxiliary
|
|||
:port => rport,
|
||||
:proto => 'tcp',
|
||||
:sname => (ssl ? 'https' : 'http'),
|
||||
:type => 'TRACE',
|
||||
:data => "TRACE Method is enabled.",
|
||||
:type => 'service.http.method.trace',
|
||||
:data => "TRACE method is enabled for this service",
|
||||
:update => :unique_data
|
||||
)
|
||||
elsif (res.code == 501)#Not Implemented
|
||||
print_error("Received #{res.code} TRACE is not enabled for #{target_host}:#{rport}")#IIS
|
||||
print_error("Received #{res.code} TRACE is not enabled for #{target_host}:#{rport}") #IIS
|
||||
elsif (res.code == 405)#Method Not Allowed
|
||||
print_error("Received #{res.code} TRACE is not enabled for #{target_host}:#{rport}")#Apache
|
||||
print_error("Received #{res.code} TRACE is not enabled for #{target_host}:#{rport}") #Apache
|
||||
else
|
||||
print_status("#{res.code}")
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue