Yield back on pages, vulns, forms, and sites

git-svn-id: file:///home/svn/framework3/trunk@10760 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
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)
yield(:web_site, "#{info[:host]}:#{info[:port]} (#{info[:vhost]})") if block
end
%W{page form vuln}.each do |wtype|
@ -2475,6 +2476,8 @@ class DBManager
end
}
self.send("report_web_#{wtype}", info)
yield("web_#{wtype}".intern, info[:path]) if block
end
end
end