mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-21 09:06:36 +03:00
Trivial update
This commit is contained in:
parent
179a6edf92
commit
2679c650aa
|
@ -20,7 +20,7 @@ from thirdparty import six
|
|||
from thirdparty.six import unichr as _unichr
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.5.7.7"
|
||||
VERSION = "1.5.7.8"
|
||||
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)
|
||||
|
|
|
@ -9,6 +9,17 @@ paths:
|
|||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
version:
|
||||
type: string
|
||||
example: "1.5.7.7#dev"
|
||||
success:
|
||||
type: boolean
|
||||
example: true
|
||||
/task/new:
|
||||
get:
|
||||
description: Create a new task
|
||||
|
@ -25,6 +36,7 @@ paths:
|
|||
example: "fad44d6beef72285"
|
||||
success:
|
||||
type: boolean
|
||||
example: true
|
||||
/scan/{taskid}/start:
|
||||
post:
|
||||
description: Launch a scan
|
||||
|
@ -59,6 +71,7 @@ paths:
|
|||
example: 19720
|
||||
success:
|
||||
type: boolean
|
||||
example: true
|
||||
/scan/{taskid}/stop:
|
||||
get:
|
||||
description: Stop a scan
|
||||
|
|
Loading…
Reference in New Issue
Block a user