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

Skip to content

Commit 3cb48ff

Browse files
committed
Minor adjustments for issue (hash) creation
1 parent 40393b2 commit 3cb48ff

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

lib/core/common.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3483,6 +3483,9 @@ def createGithubIssue(errMsg, excMsg):
34833483
_ = re.sub(r"\s+line \d+", "", _)
34843484
_ = re.sub(r'File ".+?/(\w+\.py)', r"\g<1>", _)
34853485
_ = re.sub(r".+\Z", "", _)
3486+
_ = re.sub(r"(Unicode[^:]*Error:).+", r"\g<1>", _)
3487+
_ = re.sub(r"= _", "= ", _)
3488+
34863489
key = hashlib.md5(_).hexdigest()[:8]
34873490

34883491
if key in issues:

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from lib.core.enums import OS
1818

1919
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
20-
VERSION = "1.3.4.4"
20+
VERSION = "1.3.4.5"
2121
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2222
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2323
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)