From 10323a59aff3a500c9c65f87206e413966cf2271 Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Mon, 28 Oct 2013 00:32:13 +0100 Subject: [PATCH] Changed wordpress.com scanning error to warning. See issue #343. --- wpscan.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wpscan.rb b/wpscan.rb index c65278da..3570e25a 100755 --- a/wpscan.rb +++ b/wpscan.rb @@ -46,10 +46,6 @@ 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." @@ -113,6 +109,10 @@ def main puts "| Started: #{start_time.asctime}" puts + if wp_target.wordpress_hosted? + puts "#{red('[!]')} We do not support scanning *.wordpress.com hosted blogs." + end + if wp_target.has_robots? puts green('[+]') + " robots.txt available under: '#{wp_target.robots_url}'"