Class: WPScan::Finders::WpVersionFinders

Inherits:
UniqueFinders
  • Object
show all
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_findingsObject



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