diff --git a/lib/wpscan/wpscan_helper.rb b/lib/wpscan/wpscan_helper.rb index 709733c8..9968aa32 100644 --- a/lib/wpscan/wpscan_helper.rb +++ b/lib/wpscan/wpscan_helper.rb @@ -113,7 +113,7 @@ end # Hook to check if the target if down during the scan # And have the number of requests performed to display at the end of the scan -# The target is considered down after 10 requests with status = 0 +# The target is considered down after 30 requests with status = 0 down = 0 @total_requests_done = 0 @@ -121,5 +121,5 @@ Typhoeus.on_complete do |response| down += 1 if response.code == 0 @total_requests_done += 1 - fail 'The target seems to be down' if down >= 10 + fail 'The target seems to be down' if down >= 30 end