mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-10 09:49:06 +00:00
fixed options initiation
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user