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 enough information to accurately determine it.
Instance Method Summary collapse
Instance Method Details
#filter_findings ⇒ Object
16 17 18 19 20 |
# File 'app/finders/wp_version.rb', line 16 def filter_findings best_finding = super best_finding && best_finding.confidence >= 40 ? best_finding : false end |