Class: Ronin::Scanners::Nikto

Inherits:
RProgram::Program
  • Object
show all
Defined in:
lib/ronin/scanners/nikto/nikto.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.scan(options = {}, &block) ⇒ Object

Perform a Nikto scan using the given options and block. If a block is given, it will be passed a newly created NiktoTask object.



40
41
42
# File 'lib/ronin/scanners/nikto/nikto.rb', line 40

def self.scan(options={},&block)
  self.find.scan(options,&block)
end

Instance Method Details

#scan(options = {}, &block) ⇒ Object

Perform a Nikto scan using the given options and block. If a block is given, it will be passed a newly created NiktoTask object.



49
50
51
# File 'lib/ronin/scanners/nikto/nikto.rb', line 49

def scan(options={},&block)
  run_task(NiktoTask.new(options,&block))
end