Fixed too restrictive pattern matching on target.wordpress_hosted attribute

This commit is contained in:
lp1
2018-10-25 18:09:04 +02:00
parent 41cca5fb8a
commit adc5841261

View File

@@ -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