Yield back on pages, vulns, forms, and sites

git-svn-id: file:///home/svn/framework3/trunk@10760 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-10-20 01:13:26 +00:00
parent 9d99bf1039
commit cafb8d1ac2
1 changed files with 3 additions and 0 deletions

View File

@ -2430,6 +2430,7 @@ class DBManager
} }
report_web_site(info) report_web_site(info)
yield(:web_site, "#{info[:host]}:#{info[:port]} (#{info[:vhost]})") if block
end end
%W{page form vuln}.each do |wtype| %W{page form vuln}.each do |wtype|
@ -2475,6 +2476,8 @@ class DBManager
end end
} }
self.send("report_web_#{wtype}", info) self.send("report_web_#{wtype}", info)
yield("web_#{wtype}".intern, info[:path]) if block
end end
end end
end end