File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1653,10 +1653,20 @@ def _cleanupOptions():
16531653 conf .testFilter = conf .testFilter .strip ('*+' )
16541654 conf .testFilter = re .sub (r"([^.])([*+])" , "\g<1>.\g<2>" , conf .testFilter )
16551655
1656+ try :
1657+ re .compile (conf .testFilter )
1658+ except re .error :
1659+ conf .testFilter = re .escape (conf .testFilter )
1660+
16561661 if conf .testSkip :
16571662 conf .testSkip = conf .testSkip .strip ('*+' )
16581663 conf .testSkip = re .sub (r"([^.])([*+])" , "\g<1>.\g<2>" , conf .testSkip )
16591664
1665+ try :
1666+ re .compile (conf .testSkip )
1667+ except re .error :
1668+ conf .testSkip = re .escape (conf .testSkip )
1669+
16601670 if "timeSec" not in kb .explicitSettings :
16611671 if conf .tor :
16621672 conf .timeSec = 2 * conf .timeSec
Original file line number Diff line number Diff line change 1919from lib .core .revision import getRevisionNumber
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.0.5.10 "
22+ VERSION = "1.0.5.11 "
2323REVISION = getRevisionNumber ()
2424STABLE = VERSION .count ('.' ) <= 2
2525VERSION_STRING = "sqlmap/%s#%s" % (VERSION , "stable" if STABLE else "dev" )
You can’t perform that action at this time.
0 commit comments