Added hosted wordpress detection. See issue #343.
This commit is contained in:
@@ -46,6 +46,10 @@ def main
|
||||
|
||||
wp_target = WpTarget.new(wpscan_options.url, wpscan_options.to_h)
|
||||
|
||||
if wp_target.wordpress_hosted?
|
||||
raise "The WordPress URL supplied '#{wp_target.uri}' seems to be hosted on wordpress.com This is not supported."
|
||||
end
|
||||
|
||||
# Remote website up?
|
||||
unless wp_target.online?
|
||||
raise "The WordPress URL supplied '#{wp_target.uri}' seems to be down."
|
||||
|
||||
Reference in New Issue
Block a user