Update wpscan_options.rb
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user