Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4fa2f40

Browse files
committed
minor fix
1 parent 4c4cb85 commit 4fa2f40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils/restapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def restAPIsetup(host="0.0.0.0", port=RESTAPI_SERVER_PORT):
258258
global tasks
259259
adminid = hexencode(os.urandom(16))
260260
options[adminid] = AttribDict(cmdLineOptions)
261-
options[taskid]["oDir"] = tempfile.mkdtemp(prefix="sqlmap-")
261+
options[adminid]["oDir"] = tempfile.mkdtemp(prefix="sqlmap-")
262262
tasks.append(adminid)
263263
logger.info("Running REST-JSON API server at '%s:%d'.." % (host, port))
264264
logger.info("The admin task ID is: %s" % adminid)

0 commit comments

Comments
 (0)