Removed 'Total WordPress Sites in the World' counter from stats
This commit is contained in:
@@ -20,7 +20,6 @@ class StatsPlugin < Plugin
|
|||||||
|
|
||||||
puts "WPScan Database Statistics:"
|
puts "WPScan Database Statistics:"
|
||||||
puts "---------------------------"
|
puts "---------------------------"
|
||||||
puts "[#] Total WordPress Sites in the World: #{get_wp_installations}"
|
|
||||||
puts
|
puts
|
||||||
puts "[#] Total vulnerable versions: #{vuln_core_count}"
|
puts "[#] Total vulnerable versions: #{vuln_core_count}"
|
||||||
puts "[#] Total vulnerable plugins: #{vuln_plugin_count}"
|
puts "[#] Total vulnerable plugins: #{vuln_plugin_count}"
|
||||||
@@ -79,9 +78,4 @@ class StatsPlugin < Plugin
|
|||||||
IO.readlines(file).size
|
IO.readlines(file).size
|
||||||
end
|
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
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user