diff --git a/lib/core/settings.py b/lib/core/settings.py index 30a0567..152161b 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -22,7 +22,7 @@ except NameError: # clone link CLONE = "https://github.com/ekultek/zeus-scanner.git" # current version -VERSION = "1.0.42.a8d5" +VERSION = "1.0.42.49ab" # colors to output depending on the version VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30} # version string formatting diff --git a/zeus.py b/zeus.py index 701ff74..7201202 100755 --- a/zeus.py +++ b/zeus.py @@ -2,7 +2,6 @@ import optparse import os -import sys import random import subprocess import time @@ -654,6 +653,13 @@ if __name__ == "__main__": "fix the URL you want to scan and try again...", level=40 )) shutdown() + elif "Max retries exceeded with url" in str(e): + logger.fatal(set_color( + "you have hit the max retries, to continue using Zeus " + "it is recommended to use a proxy (--proxy/--proxy-file) " + "along with a new user-agent (--random-agent/--agent).", level=50 + )) + shutdown() else: logger.exception(set_color( "ran into exception '{}' exception has been saved to log file...".format(e), level=50