mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
minor bug fix (#297)
This commit is contained in:
@@ -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-")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user