From e16c5584d14bcd1e8a3dce79056c7f85277df5f6 Mon Sep 17 00:00:00 2001 From: stefancastille Date: Wed, 17 Jun 2015 08:44:04 +0200 Subject: [PATCH] Update wpscan_options.rb --- lib/wpscan/wpscan_options.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/wpscan/wpscan_options.rb b/lib/wpscan/wpscan_options.rb index ad60f0b9..e2162385 100644 --- a/lib/wpscan/wpscan_options.rb +++ b/lib/wpscan/wpscan_options.rb @@ -62,6 +62,10 @@ class WpscanOptions @url = URI.parse(add_http_protocol(url)).to_s end + def virtualHost=(virtualhost) + @virtualHost = virtualhost + end + def threads=(threads) @threads = threads.is_a?(Integer) ? threads : threads.to_i end