Module: Msf::Auxiliary::WmapScanUniqueQuery

Includes:
WmapModule
Defined in:
lib/msf/core/auxiliary/wmap_scan_unique_query.rb

Overview

This module provides methods for WMAP Unique Query Scanner modules

Instance Attribute Summary

Attributes included from WmapModule

#orderid, #requiredids

Instance Method Summary collapse

Methods included from WmapModule

#distance, #headersparse, #initialize, #queryparse, #register_wmap_options, #wmap_base_url, #wmap_enabled, #wmap_getoid, #wmap_setoid, #wmap_target_host, #wmap_target_port, #wmap_target_ssl, #wmap_target_vhost

Instance Method Details

#signature(fpath, fquery) ⇒ Object



16
17
18
19
20
21
22
23
24
25
26
# File 'lib/msf/core/auxiliary/wmap_scan_unique_query.rb', line 16

def signature(fpath,fquery)
  hsig = Hash.new()

  hsig = queryparse(fquery)

  #
  # Signature of the form ',p1,p2,pn' then to be appended to path: path,p1,p2,pn
  #

  sigstr = fpath + "," + hsig.map{|p| p[0].to_s}.join(",")
end

#wmap_typeObject



12
13
14
# File 'lib/msf/core/auxiliary/wmap_scan_unique_query.rb', line 12

def wmap_type
  :wmap_unique_query
end