do not reset options when firing a scan

This commit is contained in:
Mathieu Deous 2013-12-14 15:59:47 +01:00
parent af7ad31182
commit 72137e85f9

View File

@ -447,8 +447,6 @@ def scan_start(taskid):
if taskid not in tasks:
abort(500, "Invalid task ID")
tasks[taskid].reset_options()
# Initialize sqlmap engine's options with user's provided options, if any
for option, value in request.json.items():
tasks[taskid].set_option(option, value)