Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1a818ce

Browse files
committed
Adding error message regarding #2030
1 parent 7fea8d6 commit 1a818ce

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.7.27"
22+
VERSION = "1.0.7.28"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

sqlmap.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,11 @@ def main():
213213
logger.error(errMsg)
214214
raise SystemExit
215215

216+
elif "in _loadQueries" in excMsg:
217+
errMsg = "invalid structure of 'xml/queries.xml' file"
218+
logger.error(errMsg)
219+
raise SystemExit
220+
216221
elif "_mkstemp_inner" in excMsg:
217222
errMsg = "there has been a problem while accessing temporary files"
218223
logger.error(errMsg)

0 commit comments

Comments
 (0)