forked from Jemurai/triage
-
Notifications
You must be signed in to change notification settings - Fork 126
/
Rakefile
34 lines (27 loc) · 954 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env rake
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__)
Triage::Application.load_tasks
Rake::Task[:default].clear
task :default => ['secure_pipeline:all']
namespace :secure_pipeline do
task :network_attack do
sh 'gauntlt ./test/attacks/assert-ports.attack'
end
task :ssl_attack do
sh 'gauntlt ./test/attacks/ssl.attack'
end
task :xss do
sh 'gauntlt ./test/attacks/xss.attack'
end
task :information_leakage do
sh 'gauntlt ./test/attacks/email_leakage.attack'
sh 'gauntlt ./test/attacks/backdoors.attack'
sh 'gauntlt ./test/attacks/dirb.attack'
end
task :sql_injection do
sh 'gauntlt ./test/attacks/sql_injection.attack'
end
task :all => [:network_attack, :ssl_attack, :xss, :information_leakage, :sql_injection]
end