Class: Dap::Filter::FilterVulnMatchUPNP

Inherits:
Object
  • Object
show all
Includes:
Base, BaseVulnMatch
Defined in:
lib/dap/filter/vulnmatch.rb

Instance Attribute Summary

Attributes included from Base

#name, #opts

Instance Method Summary collapse

Methods included from BaseVulnMatch

#lookup, #search

Methods included from Base

#initialize

Instance Method Details

#process(doc) ⇒ Object



36
37
38
39
# File 'lib/dap/filter/vulnmatch.rb', line 36

def process(doc)
  doc = search(doc, :upnp)
  [ doc ]
end