Apply aczid's patch for wmap_autotest.rc

This commit is contained in:
sinn3r 2012-04-04 15:40:48 -05:00
parent 1d56ffe225
commit 7503bc96f0
1 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,9 @@ framework.db.hosts.each do |host|
run_single("wmap_sites -l")
print_line("site which will get analyzed:")
run_single("wmap_sites -s #{host.address}:#{serv.port}")
run_single("wmap_targets -t #{host.address}:#{serv.port}")
serv.web_sites.each do |site|
run_single("wmap_targets -t #{site.vhost},#{host.address}:#{serv.port}")
end
print_line("defined target:")
run_single("wmap_targets -l")
if(profile != nil)