git-svn-id: file:///home/svn/framework3/trunk@10528 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-10-03 00:23:18 +00:00
parent 8a567dd3a8
commit ddcb07bf97
2 changed files with 2 additions and 2 deletions

View File

@ -3184,7 +3184,7 @@ class DBManager
ret = {}
task = queue(Proc.new {
vuln = WebVuln.find_or_initialize_by_web_site_id_and_path_and_method_and_pname_and_name_and_query(site[:id], path, meth, pname, name, query)
vuln = WebVuln.find_or_initialize_by_web_site_id_and_path_and_method_and_pname_and_name_and_query(site[:id], path, meth, pname, name, quer)
msfe_import_timestamps(opts, vuln)
vuln.save!

View File

@ -52,7 +52,7 @@ class Workspace < ActiveRecord::Base
def web_sites
hosts.map{|host| host.web_sites}.flatten
end
def web_pages
web_sites.map{|w| w.web_pages}.flatten
end