Skip to content

Instantly share code, notes, and snippets.

@jonaslsl
Last active October 27, 2015 17:44
Show Gist options
  • Save jonaslsl/3150932158b08fc71b29 to your computer and use it in GitHub Desktop.
Save jonaslsl/3150932158b08fc71b29 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
user_id = 3
puts "Start"
Dir["./reports/*"].each do |file_name|
file_name.gsub!(" ", "\\ ")
puts "./arachni_web_scan_import #{file_name} #{user_id}"
system("./arachni_web_scan_import #{file_name} #{user_id}")
end
puts "End"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment