Update wpscan_options.rb

This commit is contained in:
stefancastille
2015-06-17 08:44:04 +02:00
parent 94bab3f550
commit e16c5584d1

View File

@@ -62,6 +62,10 @@ 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)
@virtualHost = virtualhost
end
def threads=(threads) def threads=(threads)
@threads = threads.is_a?(Integer) ? threads : threads.to_i @threads = threads.is_a?(Integer) ? threads : threads.to_i
end end