mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Minor fix
This commit is contained in:
parent
d5d01e91ad
commit
25c6fca20e
|
@ -1501,8 +1501,8 @@ def _cleanupOptions():
|
||||||
conf.dbms = conf.dbms.capitalize()
|
conf.dbms = conf.dbms.capitalize()
|
||||||
|
|
||||||
if conf.testFilter:
|
if conf.testFilter:
|
||||||
if not any([char in conf.testFilter for char in ('.', ')', '(', ']', '[')]):
|
conf.testFilter = conf.testFilter.strip('*+')
|
||||||
conf.testFilter = conf.testFilter.replace('*', '.*')
|
conf.testFilter = re.sub(r"([^.])([*+])", "\g<1>.\g<2>", conf.testFilter)
|
||||||
|
|
||||||
if "timeSec" not in kb.explicitSettings:
|
if "timeSec" not in kb.explicitSettings:
|
||||||
if conf.tor:
|
if conf.tor:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user