Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c4cb85 commit 4fa2f40Copy full SHA for 4fa2f40
1 file changed
lib/utils/restapi.py
@@ -258,7 +258,7 @@ def restAPIsetup(host="0.0.0.0", port=RESTAPI_SERVER_PORT):
258
global tasks
259
adminid = hexencode(os.urandom(16))
260
options[adminid] = AttribDict(cmdLineOptions)
261
- options[taskid]["oDir"] = tempfile.mkdtemp(prefix="sqlmap-")
+ options[adminid]["oDir"] = tempfile.mkdtemp(prefix="sqlmap-")
262
tasks.append(adminid)
263
logger.info("Running REST-JSON API server at '%s:%d'.." % (host, port))
264
logger.info("The admin task ID is: %s" % adminid)
0 commit comments