app/controllers/interesting_findings.rb in cms_scanner-0.0.43.2 vs app/controllers/interesting_findings.rb in cms_scanner-0.0.44.0
- old
+ new
@@ -13,10 +13,10 @@
)
]
end
def run
- mode = parsed_options[:interesting_findings_detection] || parsed_options[:detection_mode]
+ mode = NS::ParsedCli.interesting_findings_detection || NS::ParsedCli.detection_mode
findings = target.interesting_findings(mode: mode)
output('findings', findings: findings) unless findings.empty?
end
end