• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wpscanteam / CMSScanner / 10771931262

09 Sep 2024 11:06AM UTC coverage: 99.925%. Remained the same
10771931262

push

github

web-flow
Merge pull request #261 from wpscanteam/dependabot/bundler/webmock-tw-3.23.1

Update webmock requirement from ~> 3.19.1 to ~> 3.23.1

315 of 346 branches covered (91.04%)

1333 of 1334 relevant lines covered (99.93%)

120.15 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/app/controllers/interesting_findings.rb
1
# frozen_string_literal: true
2

3
module CMSScanner
4✔
4
  module Controller
4✔
5
    # InterestingFindings Controller
6
    class InterestingFindings < Base
4✔
7
      def cli_options
4✔
8
        [
9
          OptChoice.new(
200✔
10
            ['--interesting-findings-detection MODE',
11
             'Use the supplied mode for the interesting findings detection. '],
12
            choices: %w[mixed passive aggressive], normalize: :to_sym, advanced: true
13
          )
14
        ]
15
      end
16

17
      def run
4✔
18
        mode = NS::ParsedCli.interesting_findings_detection || NS::ParsedCli.detection_mode
36✔
19
        findings = target.interesting_findings(mode: mode)
36✔
20

21
        output('findings', findings: findings) unless findings.empty?
36✔
22
      end
23
    end
24
  end
25
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc