Removed allready included libs in stats_plugin
This commit is contained in:
@@ -1,6 +1,4 @@
|
|||||||
# encoding: UTF-8
|
# encoding: UTF-8
|
||||||
require 'nokogiri'
|
|
||||||
require 'typhoeus'
|
|
||||||
|
|
||||||
class StatsPlugin < Plugin
|
class StatsPlugin < Plugin
|
||||||
|
|
||||||
@@ -15,7 +13,7 @@ class StatsPlugin < Plugin
|
|||||||
def run(options = {})
|
def run(options = {})
|
||||||
if options[:stats]
|
if options[:stats]
|
||||||
puts "WPScan Database Statistics:"
|
puts "WPScan Database Statistics:"
|
||||||
puts "--------------------------"
|
puts "---------------------------"
|
||||||
puts "[#] Total WordPress Sites in the World: #{get_wp_installations}"
|
puts "[#] Total WordPress Sites in the World: #{get_wp_installations}"
|
||||||
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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user