Skip to content

Commit 3aa6692

Browse files
committed
Patch for #5348
1 parent aabfcbc commit 3aa6692

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.7.2.19"
23+
VERSION = "1.7.2.20"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

sqlmap.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,11 @@ def main():
436436
logger.critical(errMsg)
437437
raise SystemExit
438438

439+
elif any(_ in errMsg for _ in (": 9.9.9#",)):
440+
errMsg = "LOL :)"
441+
logger.critical(errMsg)
442+
raise SystemExit
443+
439444
elif kb.get("dumpKeyboardInterrupt"):
440445
raise SystemExit
441446

0 commit comments

Comments
 (0)