mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-12 03:05:09 +00:00
Minor update for sqlmap API task_delete
This commit is contained in:
parent
69efd623c9
commit
7dc414b06b
3 changed files with 4 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ from lib.core.enums import OS
|
|||
from thirdparty import six
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.10.6.38"
|
||||
VERSION = "1.10.6.39"
|
||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||
|
|
|
|||
|
|
@ -392,6 +392,7 @@ def task_delete(taskid):
|
|||
Delete an existing task
|
||||
"""
|
||||
if taskid in DataStore.tasks:
|
||||
DataStore.tasks[taskid].engine_kill()
|
||||
DataStore.tasks.pop(taskid)
|
||||
|
||||
logger.debug("(%s) Deleted task" % taskid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue