Moves Models into their own namespace - Ref #1315

This commit is contained in:
erwanlr
2019-03-19 21:07:53 +00:00
parent f1657164d5
commit 898e8d4546
116 changed files with 613 additions and 560 deletions

View File

@@ -31,7 +31,7 @@ module WPScan
configs.each do |klass, config|
item = process_response(opts, target.homepage_res, slug, klass, config)
found << item if item.is_a?(WpItem)
found << item if item.is_a?(Model::WpItem)
end
end
@@ -70,7 +70,7 @@ module WPScan
item = process_response(opts, response, slug, klass, config)
found << item if item.is_a?(WpItem)
found << item if item.is_a?(Model::WpItem)
end
end