MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / option_list

Function option_list

lib/utils/api.py:443–452  ·  view source on GitHub ↗

List options for a certain task ID

(taskid)

Source from the content-addressed store, hash-verified

441# Handle task's options
442@get("/option/<taskid>/list")
443def option_list(taskid):
444 """
445 List options for a certain task ID
446 """
447 if taskid not in DataStore.tasks:
448 logger.warning("[%s] Invalid task ID provided to option_list()" % taskid)
449 return jsonize({"success": False, "message": "Invalid task ID"})
450
451 logger.debug("(%s) Listed task options" % taskid)
452 return jsonize({"success": True, "options": DataStore.tasks[taskid].get_options()})
453
454@post("/option/<taskid>/get")
455def option_get(taskid):

Callers

nothing calls this directly

Calls 3

jsonizeFunction · 0.90
debugMethod · 0.80
get_optionsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…