mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
fix for a bug reported by rdsears@mtu.edu (ignored config file items)
This commit is contained in:
@@ -1608,8 +1608,7 @@ def __mergeOptions(inputOptions, overrideOptions):
|
|||||||
inputOptionsItems = inputOptions.__dict__.items()
|
inputOptionsItems = inputOptions.__dict__.items()
|
||||||
|
|
||||||
for key, value in inputOptionsItems:
|
for key, value in inputOptionsItems:
|
||||||
if key not in conf or (conf[key] is False and value is True) or \
|
if key not in conf or (not conf[key] and value) or overrideOptions:
|
||||||
value not in (None, False) or overrideOptions:
|
|
||||||
conf[key] = value
|
conf[key] = value
|
||||||
|
|
||||||
def __setTrafficOutputFP():
|
def __setTrafficOutputFP():
|
||||||
|
|||||||
Reference in New Issue
Block a user