Class: WPScan::Finders::SameTypeFinders
- Inherits:
-
BaseFinders
- Object
- Array
- BaseFinders
- WPScan::Finders::SameTypeFinders
- Defined in:
- lib/wpscan/finders/same_type_finders.rb
Overview
This class is designed to handle same type results, such as enumeration of plugins, themes etc.
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from BaseFinders
Instance Method Details
#run(opts = {}, &block) ⇒ Findings
13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/wpscan/finders/same_type_finders.rb', line 13 def run(opts = {}, &block) findings.on_append = block if block symbols_from_mode(opts[:mode]).each do |symbol| each do |finder| run_finder(finder, symbol, opts) end end findings.sort! if opts[:sort] filter_findings end |