bin/pwn_bdba_scan in pwn-0.4.924 vs bin/pwn_bdba_scan in pwn-0.4.925
- old
+ new
@@ -143,17 +143,18 @@
output_path: report_path
)
puts "\nReport Saved to: #{report_path}"
rescue IO::TimeoutError,
- RestClient::Unauthorized,
- RestClient::Forbidden,
+ RestClient::BadGateway,
RestClient::BadRequest,
- RestClient::ResourceNotFound,
+ RestClient::Exceptions::OpenTimeout,
+ RestClient::Forbidden,
+ RestClient::GatewayTimeout,
RestClient::InternalServerError,
- RestClient::BadGateway,
+ RestClient::ResourceNotFound,
RestClient::ServiceUnavailable,
- RestClient::GatewayTimeout
+ RestClient::Unauthorized
abort_total += 1
if abort_total <= scan_attempts.to_i
puts 'Sleeping for 60 Seconds and Retrying...'