From 8d8696eb8c2dc7ce9218e7e95a0208863fa664ab Mon Sep 17 00:00:00 2001 From: Tod Beardsley Date: Fri, 25 Mar 2011 17:03:16 +0000 Subject: [PATCH] Fixes #4026, the HTTP options scanner now reports its vulnerability in the normal way. git-svn-id: file:///home/svn/framework3/trunk@12133 4d416f70-5f16-0410-b530-b9f4589650da --- modules/auxiliary/scanner/http/options.rb | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/modules/auxiliary/scanner/http/options.rb b/modules/auxiliary/scanner/http/options.rb index 586b77368b..b39ed37770 100644 --- a/modules/auxiliary/scanner/http/options.rb +++ b/modules/auxiliary/scanner/http/options.rb @@ -26,7 +26,16 @@ class Metasploit3 < Msf::Auxiliary 'Version' => '$Revision$', 'Description' => 'Display available HTTP options for each system', 'Author' => ['CG'], - 'License' => MSF_LICENSE + 'License' => MSF_LICENSE, + 'References' => + [ + [ 'CVE', '2005-3398'], + [ 'CVE', '2005-3498'], + [ 'OSVDB', '877'], + [ 'BID', '11604'], + [ 'BID', '9506'], + [ 'BID', '9561'] + ] ) end @@ -57,17 +66,9 @@ class Metasploit3 < Msf::Auxiliary :port => rport, :proto => 'tcp', :sname => 'http', - :name => 'HTTP-TRACE-ENABLED', + :name => self.fullname, :info => res.headers['Allow'], - :refs => - [ - [ 'CVE', '2005-3398'], - [ 'CVE', '2005-3498'], - [ 'OSVDB', '877'], - [ 'BID', '11604'], - [ 'BID', '9506'], - [ 'BID', '9561'] - ] + :refs => self.references ) end end