Files
theHarvester/tests
L1ghtn1ng 2ee9b557e5 fix(discovery): correct criminalip, hudsonrock, mojeek, githubcode error handling
- criminalip: inspect HTTP status via provider_http_error instead of
  only the provider's embedded status field, so 401/403/429 with
  non-JSON bodies are classified correctly; build the scan request with
  json_body instead of an f-string that produced invalid JSON for
  targets containing quotes or backslashes
- hudsonrock: remove the dead transport-error retry loop (the shared
  transport already swallows those exceptions and returns None), drop a
  redundant isinstance check, and describe the real 429-only retry
- mojeek: fix the finite API path off-by-one that fetched zero pages
  for --limit 1 and dropped the final partial page, and request pages
  sequentially instead of one concurrent burst
- githubcode: only HTTP 429 responses retry; a 403 now fails
  immediately as access-denied instead of stalling ~3 minutes and being
  mislabeled rate-limited
2026-09-17 01:38:23 +01:00
..