Fixed too restrictive pattern matching on target.wordpress_hosted attribute
This commit is contained in:
@@ -41,7 +41,7 @@ module WPScan
|
||||
end
|
||||
|
||||
def wordpress_hosted?
|
||||
uri.host =~ /wordpress.com$/i ? true : false
|
||||
uri.host =~ /\.wordpress\.com$/i ? true : false
|
||||
end
|
||||
|
||||
# @param [ String ] username
|
||||
|
||||
Reference in New Issue
Block a user