From a40442c8a9663d6b2ab3146ed90eaf75c9aa6bd5 Mon Sep 17 00:00:00 2001 From: Peter Date: Fri, 11 Apr 2014 10:27:24 +0200 Subject: [PATCH] Removed 'Total WordPress Sites in the World' counter from stats --- lib/wpstools/plugins/stats/stats_plugin.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/wpstools/plugins/stats/stats_plugin.rb b/lib/wpstools/plugins/stats/stats_plugin.rb index 4499de08..7d47ac5d 100644 --- a/lib/wpstools/plugins/stats/stats_plugin.rb +++ b/lib/wpstools/plugins/stats/stats_plugin.rb @@ -20,7 +20,6 @@ class StatsPlugin < Plugin puts "WPScan Database Statistics:" puts "---------------------------" - puts "[#] Total WordPress Sites in the World: #{get_wp_installations}" puts puts "[#] Total vulnerable versions: #{vuln_core_count}" puts "[#] Total vulnerable plugins: #{vuln_plugin_count}" @@ -79,9 +78,4 @@ class StatsPlugin < Plugin IO.readlines(file).size end - def get_wp_installations() - page = Nokogiri::HTML(Typhoeus.get('http://en.wordpress.com/stats/').body) - page.css('span[class="stats-flipper-number"]').text - end - end