mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-21 17:16:35 +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
|
from thirdparty.six import unichr as _unichr
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# 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 = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
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)
|
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:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: OK
|
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:
|
/task/new:
|
||||||
get:
|
get:
|
||||||
description: Create a new task
|
description: Create a new task
|
||||||
|
@ -25,6 +36,7 @@ paths:
|
||||||
example: "fad44d6beef72285"
|
example: "fad44d6beef72285"
|
||||||
success:
|
success:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
example: true
|
||||||
/scan/{taskid}/start:
|
/scan/{taskid}/start:
|
||||||
post:
|
post:
|
||||||
description: Launch a scan
|
description: Launch a scan
|
||||||
|
@ -59,6 +71,7 @@ paths:
|
||||||
example: 19720
|
example: 19720
|
||||||
success:
|
success:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
example: true
|
||||||
/scan/{taskid}/stop:
|
/scan/{taskid}/stop:
|
||||||
get:
|
get:
|
||||||
description: Stop a scan
|
description: Stop a scan
|
||||||
|
|
Loading…
Reference in New Issue
Block a user