From 15c0448cf11b63c87e98d9580c500f4050d48105 Mon Sep 17 00:00:00 2001 From: stefancastille Date: Thu, 25 Jun 2015 16:13:04 +0200 Subject: [PATCH] Update wpscan_options.rb --- lib/wpscan/wpscan_options.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/wpscan/wpscan_options.rb b/lib/wpscan/wpscan_options.rb index 3e333975..7a354df5 100644 --- a/lib/wpscan/wpscan_options.rb +++ b/lib/wpscan/wpscan_options.rb @@ -19,7 +19,7 @@ class WpscanOptions :proxy_auth, :threads, :url, - :virtualHost, + :vhost, :wordlist, :force, :update, @@ -62,8 +62,8 @@ class WpscanOptions @url = URI.parse(add_http_protocol(url)).to_s end - def virtualHost=(virtualhost) - @virtualHost = virtualhost + def vhost=(vhost) + @vhost = vhost end def threads=(threads) @@ -251,7 +251,7 @@ class WpscanOptions def self.get_opt_long GetoptLong.new( ['--url', '-u', GetoptLong::REQUIRED_ARGUMENT], - ['--virtualHost',GetoptLong::OPTIONAL_ARGUMENT], + ['--vhost',GetoptLong::OPTIONAL_ARGUMENT], ['--enumerate', '-e', GetoptLong::OPTIONAL_ARGUMENT], ['--username', '-U', GetoptLong::REQUIRED_ARGUMENT], ['--usernames', GetoptLong::REQUIRED_ARGUMENT],