Class: Yawast::Commands::Scan

Inherits:
Object
  • Object
show all
Defined in:
lib/commands/scan.rb

Class Method Summary collapse

Class Method Details

.process(args, options) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/commands/scan.rb', line 6

def self.process(args, options)
  args.each do |arg|
    uri = Yawast::Commands::Utils.extract_uri([arg])

    Yawast::Scanner::Core.process(uri, options)
  end
end