Skip to content

Fix crash when VirusTotal blocks or returns bad response - #400

Open
TheSpidyOps wants to merge 2 commits into
aboul3la:masterfrom
TheSpidyOps:fix-virustotal-error
Open

Fix crash when VirusTotal blocks or returns bad response#400
TheSpidyOps wants to merge 2 commits into
aboul3la:masterfrom
TheSpidyOps:fix-virustotal-error

Conversation

@TheSpidyOps

Copy link
Copy Markdown

Problem:
Sublist3r would crash or hang if the VirusTotal module received a non-200 HTTP response (e.g., 403 Forbidden, rate-limiting) or if the response couldn't be parsed as expected.

Fix:
Wrapped the VirusTotal request and parsing logic in a try-except block to:

  • Handle network errors
  • Check for non-200 status codes
  • Skip gracefully if anything goes wrong

This improves stability and prevents the entire scan from failing when VirusTotal blocks or limits requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant