mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
fixed options initiation
This commit is contained in:
parent
b0635bddcc
commit
7adaffa71b
4 changed files with 28 additions and 18 deletions
|
|
@ -1784,7 +1784,7 @@ def _mergeOptions(inputOptions, overrideOptions):
|
|||
kb.explicitSettings.add(key)
|
||||
|
||||
for key, value in defaults.items():
|
||||
if conf[key] is None:
|
||||
if hasattr(conf, key) and conf[key] is None:
|
||||
conf[key] = value
|
||||
|
||||
def _setTrafficOutputFP():
|
||||
|
|
|
|||
|
|
@ -183,6 +183,7 @@ optDict = {
|
|||
"hexConvert": "boolean",
|
||||
"oDir": "string",
|
||||
"parseErrors": "boolean",
|
||||
"saveCmdline": "boolean",
|
||||
"updateAll": "boolean",
|
||||
"tor": "boolean",
|
||||
"torPort": "integer",
|
||||
|
|
@ -202,6 +203,7 @@ optDict = {
|
|||
"hpp": "boolean",
|
||||
"mobile": "boolean",
|
||||
"pageRank": "boolean",
|
||||
"purgeOutput": "boolean",
|
||||
"smart": "boolean",
|
||||
"testFilter": "string",
|
||||
"wizard": "boolean",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue