File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5408,6 +5408,12 @@ def _parseBurpLog(content):
54085408 if conf .scope :
54095409 logger .info ("using regular expression '%s' for filtering targets" % conf .scope )
54105410
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+
54115417 for target in _parseBurpLog (content ):
54125418 yield target
54135419
Original file line number Diff line number Diff line change 2020from thirdparty .six import unichr as _unichr
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.6.3.14 "
23+ VERSION = "1.6.3.15 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_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