app/controllers/core.rb in wpscan-3.4.3 vs app/controllers/core.rb in wpscan-3.4.4
- old
+ new
@@ -69,10 +69,10 @@
output('not_fully_configured', url: target.homepage_url)
exit(WPScan::ExitCode::VULNERABLE)
end
- raise NotWordPressError unless target.wordpress? || parsed_options[:force]
+ raise NotWordPressError unless target.wordpress?(parsed_options[:detection_mode]) || parsed_options[:force]
end
# Loads the related server module in the target
# and includes it in the WpItem class which will be needed
# to check if directory listing is enabled etc