Skip to content

Commit 6ff07f0

Browse files
committed
Fixes #2326
1 parent 1c737d7 commit 6ff07f0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lib/core/option.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2482,14 +2482,14 @@ def _basicOptionValidation():
24822482
if conf.regexp:
24832483
try:
24842484
re.compile(conf.regexp)
2485-
except re.error, ex:
2485+
except Exception, ex:
24862486
errMsg = "invalid regular expression '%s' ('%s')" % (conf.regexp, getSafeExString(ex))
24872487
raise SqlmapSyntaxException(errMsg)
24882488

24892489
if conf.crawlExclude:
24902490
try:
24912491
re.compile(conf.crawlExclude)
2492-
except re.error, ex:
2492+
except Exception, ex:
24932493
errMsg = "invalid regular expression '%s' ('%s')" % (conf.crawlExclude, getSafeExString(ex))
24942494
raise SqlmapSyntaxException(errMsg)
24952495

lib/core/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.12.16"
22+
VERSION = "1.0.12.17"
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)

txt/checksum.md5

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ e4aec2b11c1ad6039d0c3dbbfbc5eb1a lib/core/exception.py
3939
cc9c82cfffd8ee9b25ba3af6284f057e lib/core/__init__.py
4040
91c514013daa796e2cdd940389354eac lib/core/log.py
4141
ea5b08cac48cf538fb4bce31438b387b lib/core/optiondict.py
42-
3f1a2c9d978df38c112d3534440dda9f lib/core/option.py
42+
3ddaba5d5f295d0bae84a2037b6a6fd8 lib/core/option.py
4343
7af487340c138f7b5dbd443161cbb428 lib/core/profiling.py
4444
e60456db5380840a586654344003d4e6 lib/core/readlineng.py
4545
b3a62d41a5af6cd7fa733b6227febb0c lib/core/replication.py
4646
dfb664b223ac3585d51e58839b777d9b lib/core/revision.py
4747
7c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48-
e639cc2dee56c9e8d9bb6deb6da63cb8 lib/core/settings.py
48+
eee4af7268f0747fbf9425fccd173e7e lib/core/settings.py
4949
7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
5050
23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
5151
c3ace7874a536d801f308cf1fd03df99 lib/core/target.py

0 commit comments

Comments
 (0)