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

Skip to content

Commit 96adc7c

Browse files
committed
Fixes #5285
1 parent 7940b57 commit 96adc7c

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

lib/core/option.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2655,6 +2655,9 @@ def _basicOptionValidation():
26552655
raise SqlmapSyntaxException(errMsg)
26562656

26572657
if conf.paramExclude:
2658+
if re.search(r"\A\w+,", conf.paramExclude):
2659+
conf.paramExclude = r"\A(%s)\Z" % ('|'.join(re.escape(_) for _ in conf.paramExclude.split(',')))
2660+
26582661
try:
26592662
re.compile(conf.paramExclude)
26602663
except Exception as ex:

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.1.1"
23+
VERSION = "1.7.1.2"
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)

0 commit comments

Comments
 (0)