Yield back on pages, vulns, forms, and sites
git-svn-id: file:///home/svn/framework3/trunk@10760 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
9d99bf1039
commit
cafb8d1ac2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue