Fixes non detection of plugin/theme readme and changelog files due to changes in CMSSCanner
This commit is contained in:
@@ -9,6 +9,10 @@ module WPScan
|
||||
super(slug, blog, opts)
|
||||
|
||||
@uri = Addressable::URI.parse(blog.url("wp-content/plugins/#{slug}/"))
|
||||
|
||||
# To be used by #head_and_get
|
||||
# If custom wp-content, it will be replaced by blog#url
|
||||
@path_from_blog = "wp-content/plugins/#{slug}/"
|
||||
end
|
||||
|
||||
# @return [ JSON ]
|
||||
|
||||
Reference in New Issue
Block a user