Changeset 6088
- Timestamp:
- 01/07/09 17:57:28 (6 months ago)
- Location:
- framework3/trunk/modules/auxiliary/scanner
- Files:
-
- 2 modified
-
http/options.rb (modified) (3 diffs)
-
oracle/oracle_version.rb (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
framework3/trunk/modules/auxiliary/scanner/http/options.rb
r5987 r6088 23 23 'Version' => '$Revision: $', 24 24 'Description' => 'Display available HTTP options for each system', 25 'Author' => 'CG |at| carnal0wnage |dot| com',25 'Author' => ['CG'], 26 26 'License' => MSF_LICENSE 27 27 ) … … 29 29 end 30 30 31 # Fingerprint a single host32 31 def run_host(ip) 33 32 … … 49 48 wmap_target_ssl 50 49 ) 51 #not sure about this one, can you add columns in the db on the fly?50 52 51 wmap_report(rep_id,'WEB_SERVER','OPTIONS',"#{res.headers['Allow']}",nil) 53 52 else -
framework3/trunk/modules/auxiliary/scanner/oracle/oracle_version.rb
r6087 r6088 11 11 12 12 include Msf::Exploit::Remote::TNS 13 include Msf::Auxiliary::Scanner 13 14 14 15 def initialize(info = {}) … … 16 17 'Name' => 'Oracle Version Enumeration.', 17 18 'Description' => %q{ 18 This module simply queries the TNS listner for the Oracle build. .19 This module simply queries the TNS listner for the Oracle build. 19 20 }, 20 'Author' => [ 'CG'],21 'Author' => ['CG'], 21 22 'License' => MSF_LICENSE, 22 23 'Version' => '$Revision$', … … 30 31 end 31 32 32 def run 33 def run_host(ip) 33 34 34 35 connect_data = "(CONNECT_DATA=(COMMAND=VERSION))" … … 50 51 51 52 if ( data and data =~ /\\*.TNSLSNR for (.*)/ ) 52 return print_status("Host #{ rhost} is running: " + $1)53 return print_status("Host #{ip} is running: " + $1) 53 54 else 54 return print_error("Unable to determine version info for #{ rhost}...")55 return print_error("Unable to determine version info for #{ip}...") 55 56 56 57 disconnect 57 58 58 59 end 59 60 end
