From 2679c650aaabb57a90be9c5071b5cb2d522fc2c2 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 23 Jul 2021 11:04:30 +0200 Subject: [PATCH] Trivial update --- lib/core/settings.py | 2 +- sqlmapapi.yaml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 68f38ae10..623df3681 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from thirdparty import six from thirdparty.six import unichr as _unichr # sqlmap version (...) -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) diff --git a/sqlmapapi.yaml b/sqlmapapi.yaml index 0ee4b2cd3..999cdddff 100644 --- a/sqlmapapi.yaml +++ b/sqlmapapi.yaml @@ -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