From 013af3235e902a71e34ebda1767528cd53456394 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 28 Feb 2020 14:37:37 +0100 Subject: [PATCH] I would die for Python3(.9) --- lib/core/testing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/testing.py b/lib/core/testing.py index 8aa56a3be..2081923a8 100644 --- a/lib/core/testing.py +++ b/lib/core/testing.py @@ -119,7 +119,7 @@ def vulnTest(): status = '%d/%d (%d%%) ' % (count, len(TESTS), round(100.0 * count / len(TESTS))) dataToStdout("\r[%s] [INFO] complete: %s" % (time.strftime("%X"), status)) - cmd = "%s %s %s --batch" % (sys.executable, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "sqlmap.py")), options.replace("", url).replace("", direct).replace("", request).replace("", log).replace("", config)) + cmd = "%s %s %s --batch --answer='unhandled=n'" % (sys.executable, os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "sqlmap.py")), options.replace("", url).replace("", direct).replace("", request).replace("", log).replace("", config)) output = shellExec(cmd) if not all((check in output if not check.startswith('~') else check[1:] not in output) for check in checks):