mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
minor bug fix (#297)
This commit is contained in:
parent
7adaffa71b
commit
912323c12d
2 changed files with 10 additions and 3 deletions
|
|
@ -61,7 +61,7 @@ def is_admin(taskid):
|
|||
return True
|
||||
|
||||
def init_options():
|
||||
dataype = {"boolean": False, "string": "", "integer": 0, "float": 0.0}
|
||||
dataype = {"boolean": False, "string": None, "integer": None, "float": None}
|
||||
options = AttribDict()
|
||||
|
||||
for _ in optDict:
|
||||
|
|
@ -260,8 +260,6 @@ def scan_start(taskid):
|
|||
for key, value in request.json.items():
|
||||
tasks[taskid][key] = value
|
||||
|
||||
print "DEBUG TASKS:", tasks
|
||||
|
||||
# Overwrite output directory (oDir) value to a temporary directory
|
||||
tasks[taskid].oDir = tempfile.mkdtemp(prefix="sqlmap-")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue