mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
now False is also affected (along with None and "")
This commit is contained in:
parent
6e4b65a822
commit
29ea0950b6
|
@ -1945,7 +1945,7 @@ def initTechnique(technique=None):
|
|||
|
||||
# Restoring stored conf options
|
||||
for key, value in kb.injection.conf.items():
|
||||
if value and (not hasattr(conf, key) or (hasattr(conf, key) and getattr(conf, key) in ("", None))):
|
||||
if value and (not hasattr(conf, key) or (hasattr(conf, key) and not getattr(conf, key))):
|
||||
setattr(conf, key, value)
|
||||
debugMsg = "resuming configuration option '%s' (%s)" % (key, value)
|
||||
logger.debug(debugMsg)
|
||||
|
|
Loading…
Reference in New Issue
Block a user