mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
cleaner solution for the problem solved with last commit
This commit is contained in:
@@ -1203,8 +1203,9 @@ def __cleanupOptions():
|
||||
if conf.data:
|
||||
conf.data = urldecode(conf.data)
|
||||
|
||||
if conf.timeSec == TIME_DEFAULT_DELAY:
|
||||
conf.timeSec = int(conf.timeSec)
|
||||
# to distinguish explicit usafe of --time-sec
|
||||
if conf.timeSec is None:
|
||||
conf.timeSec = TIME_DEFAULT_DELAY
|
||||
kb.adjustTimeDelay = True
|
||||
else:
|
||||
kb.adjustTimeDelay = False
|
||||
|
||||
Reference in New Issue
Block a user