File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -5408,6 +5408,12 @@ def _parseBurpLog(content):
5408
5408
if conf .scope :
5409
5409
logger .info ("using regular expression '%s' for filtering targets" % conf .scope )
5410
5410
5411
+ try :
5412
+ re .compile (conf .scope )
5413
+ except Exception as ex :
5414
+ errMsg = "invalid regular expression '%s' ('%s')" % (conf .scope , getSafeExString (ex ))
5415
+ raise SqlmapSyntaxException (errMsg )
5416
+
5411
5417
for target in _parseBurpLog (content ):
5412
5418
yield target
5413
5419
Original file line number Diff line number Diff line change 20
20
from thirdparty .six import unichr as _unichr
21
21
22
22
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23
- VERSION = "1.6.3.14 "
23
+ VERSION = "1.6.3.15 "
24
24
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
25
25
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
26
26
VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments