mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
cleaner solution for the problem solved with last commit
This commit is contained in:
parent
f5cff067c6
commit
b79d4f70f3
3 changed files with 7 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue