Class: CMSScanner::Controller::InterestingFiles

Inherits:
Base
  • Object
show all
Defined in:
app/controllers/interesting_files.rb

Overview

InterestingFiles Controller

Instance Method Summary collapse

Methods inherited from Base

#==, #after_scan, #before_scan, #cli_options, #datastore, #formatter, #output, #parsed_options, parsed_options=, #render, #target

Instance Method Details

#run ⇒ Object



5
6
7
8
9
# File 'app/controllers/interesting_files.rb', line 5

def run
  findings = target.interesting_files(mode: parsed_options[:detection_mode])

  output('findings', findings: findings) unless findings.empty?
end