Updates request timeout values to realistic ones (and in seconds)

This commit is contained in:
erwanlr
2015-03-30 16:08:49 +01:00
parent 7d790f8f79
commit a58b34eba8
6 changed files with 11 additions and 13 deletions

View File

@@ -73,10 +73,8 @@ class Browser
@max_threads = 20
# 10 minutes, at this time the cache is cleaned before each scan. If this value is set to 0, the cache will be disabled
@cache_ttl = 600
# 2s
@request_timeout = 2000
# 1s
@connect_timeout = 1000
@request_timeout = 4 # 4s
@connect_timeout = 2 # 2s
@user_agent = "WPScan v#{WPSCAN_VERSION} (http://wpscan.org)"
end