mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-20 06:29:03 +00:00
unhidding --test-filter
This commit is contained in:
@@ -1324,9 +1324,9 @@ def __cleanupOptions():
|
||||
if conf.dbms:
|
||||
conf.dbms = conf.dbms.capitalize()
|
||||
|
||||
if conf.testFilter:
|
||||
if not any([char in conf.testFilter for char in ('.', ')', '(', ']', '[')]):
|
||||
conf.testFilter = conf.testFilter.replace('*', '.*')
|
||||
if conf.tstF:
|
||||
if not any([char in conf.tstF for char in ('.', ')', '(', ']', '[')]):
|
||||
conf.tstF = conf.tstF.replace('*', '.*')
|
||||
|
||||
if conf.timeSec not in kb.explicitSettings:
|
||||
if conf.tor:
|
||||
|
||||
@@ -193,6 +193,7 @@ optDict = {
|
||||
"mobile": "boolean",
|
||||
"pageRank": "boolean",
|
||||
"smart": "boolean",
|
||||
"tstF": "string",
|
||||
"wizard": "boolean",
|
||||
"verbose": "integer"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user