mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
Minor patch (while saving configuration file)
This commit is contained in:
parent
ae8b1fe89c
commit
b54651b5a2
|
@ -1828,10 +1828,8 @@ def _saveCmdline():
|
||||||
if datatype == OPTION_TYPE.BOOLEAN:
|
if datatype == OPTION_TYPE.BOOLEAN:
|
||||||
value = "False"
|
value = "False"
|
||||||
elif datatype in (OPTION_TYPE.INTEGER, OPTION_TYPE.FLOAT):
|
elif datatype in (OPTION_TYPE.INTEGER, OPTION_TYPE.FLOAT):
|
||||||
if option in ("threads", "verbose"):
|
if option in defaults:
|
||||||
value = "1"
|
value = str(defaults[option])
|
||||||
elif option == "timeout":
|
|
||||||
value = "10"
|
|
||||||
else:
|
else:
|
||||||
value = "0"
|
value = "0"
|
||||||
elif datatype == OPTION_TYPE.STRING:
|
elif datatype == OPTION_TYPE.STRING:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user