From 1a818ceccd28150e5ff3754e74b25419b3b1ec25 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 16 Jul 2016 22:47:16 +0200 Subject: [PATCH] Adding error message regarding #2030 --- lib/core/settings.py | 2 +- sqlmap.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 41113022f..295f70923 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.7.27" +VERSION = "1.0.7.28" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") diff --git a/sqlmap.py b/sqlmap.py index f9d0d70f9..b487cb8f9 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -213,6 +213,11 @@ def main(): logger.error(errMsg) raise SystemExit + elif "in _loadQueries" in excMsg: + errMsg = "invalid structure of 'xml/queries.xml' file" + logger.error(errMsg) + raise SystemExit + elif "_mkstemp_inner" in excMsg: errMsg = "there has been a problem while accessing temporary files" logger.error(errMsg)