Class: AcunetixTasks

Inherits:
Thor
  • Object
show all
Defined in:
lib/tasks/thorfile.rb

Instance Method Summary collapse

Instance Method Details

#acunetix_360(file_path) ⇒ Object



15
16
17
18
19
20
# File 'lib/tasks/thorfile.rb', line 15

def acunetix_360(file_path)
  detect_and_set_project_scope
  importer = Dradis::Plugins::Acunetix::Acunetix360::Importer.new(task_options)

  process_upload(importer, file_path)
end

#standard(file_path) ⇒ Object



7
8
9
10
11
12
# File 'lib/tasks/thorfile.rb', line 7

def standard(file_path)
  detect_and_set_project_scope
  importer = Dradis::Plugins::Acunetix::Standard::Importer.new(task_options)

  process_upload(importer, file_path)
end