Class: WPScan::Finders::WpVersionFinders
- Inherits:
-
UniqueFinders
- Object
- UniqueFinders
- WPScan::Finders::WpVersionFinders
- Defined in:
- app/finders/wp_version.rb
Overview
Specific Finders container to filter the version detected and remove the one with low confidence to avoid false positive when there is not enought information to accurately determine it.
Instance Method Summary collapse
Instance Method Details
#filter_findings ⇒ Object
14 15 16 17 18 |
# File 'app/finders/wp_version.rb', line 14 def filter_findings best_finding = super best_finding && best_finding.confidence >= 40 ? best_finding : false end |