Skip to content

Commit c9745f8

Browse files
committed
Minor update
1 parent 11afdcb commit c9745f8

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎lib/core/common.py‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4116,14 +4116,18 @@ def unhandledExceptionMessage():
41164116
True
41174117
"""
41184118

4119+
from lib.core.revision import getRevisionNumber # Note: not in the header because of the circular import
4120+
4121+
revision = getRevisionNumber()
4122+
41194123
errMsg = "unhandled exception occurred in %s. It is recommended to retry your " % VERSION_STRING
41204124
errMsg += "run with the latest development version from official GitHub "
41214125
errMsg += "repository at '%s'. If the exception persists, please open a new issue " % GIT_PAGE
41224126
errMsg += "at '%s' " % ISSUES_PAGE
41234127
errMsg += "with the following text and any other information required to "
41244128
errMsg += "reproduce the bug. Developers will try to reproduce the bug, fix it accordingly "
41254129
errMsg += "and get back to you\n"
4126-
errMsg += "Running version: %s\n" % VERSION_STRING[VERSION_STRING.find('/') + 1:]
4130+
errMsg += "Running version: %s%s\n" % (VERSION_STRING[VERSION_STRING.find('/') + 1:], (" (%s)" % revision) if revision else "")
41274131
errMsg += "Python version: %s\n" % PYVERSION
41284132
errMsg += "Operating system: %s\n" % platform.platform()
41294133
errMsg += "Command line: %s\n" % re.sub(r".+?\bsqlmap\.py\b", "sqlmap.py", getUnicode(" ".join(sys.argv), encoding=getattr(sys.stdin, "encoding", None)))

‎lib/core/settings.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from thirdparty import six
2020

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

0 commit comments

Comments
 (0)