Update wpscan_options.rb
This commit is contained in:
@@ -19,7 +19,7 @@ class WpscanOptions
|
|||||||
:proxy_auth,
|
:proxy_auth,
|
||||||
:threads,
|
:threads,
|
||||||
:url,
|
:url,
|
||||||
:virtualHost,
|
:vhost,
|
||||||
:wordlist,
|
:wordlist,
|
||||||
:force,
|
:force,
|
||||||
:update,
|
:update,
|
||||||
@@ -62,8 +62,8 @@ class WpscanOptions
|
|||||||
@url = URI.parse(add_http_protocol(url)).to_s
|
@url = URI.parse(add_http_protocol(url)).to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
def virtualHost=(virtualhost)
|
def vhost=(vhost)
|
||||||
@virtualHost = virtualhost
|
@vhost = vhost
|
||||||
end
|
end
|
||||||
|
|
||||||
def threads=(threads)
|
def threads=(threads)
|
||||||
@@ -251,7 +251,7 @@ class WpscanOptions
|
|||||||
def self.get_opt_long
|
def self.get_opt_long
|
||||||
GetoptLong.new(
|
GetoptLong.new(
|
||||||
['--url', '-u', GetoptLong::REQUIRED_ARGUMENT],
|
['--url', '-u', GetoptLong::REQUIRED_ARGUMENT],
|
||||||
['--virtualHost',GetoptLong::OPTIONAL_ARGUMENT],
|
['--vhost',GetoptLong::OPTIONAL_ARGUMENT],
|
||||||
['--enumerate', '-e', GetoptLong::OPTIONAL_ARGUMENT],
|
['--enumerate', '-e', GetoptLong::OPTIONAL_ARGUMENT],
|
||||||
['--username', '-U', GetoptLong::REQUIRED_ARGUMENT],
|
['--username', '-U', GetoptLong::REQUIRED_ARGUMENT],
|
||||||
['--usernames', GetoptLong::REQUIRED_ARGUMENT],
|
['--usernames', GetoptLong::REQUIRED_ARGUMENT],
|
||||||
|
|||||||
Reference in New Issue
Block a user