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