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