mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
api's get_option function doesn't lookup the right object
This commit is contained in:
parent
a06a6de193
commit
c3dd6e1e32
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ def option_get(taskid):
|
|||
|
||||
option = request.json.get("option", "")
|
||||
|
||||
if option in tasks[taskid]:
|
||||
if option in tasks[taskid].options:
|
||||
return jsonize({option: tasks[taskid].get_option(option)})
|
||||
else:
|
||||
return jsonize({option: "not set"})
|
||||
|
|
|
|||
Loading…
Reference in a new issue