Skip to content

Commit 7bc3741

Browse files
committed
Minor patch
1 parent 363a405 commit 7bc3741

File tree

3 files changed

+103
-49
lines changed

3 files changed

+103
-49
lines changed

data/txt/sha256sums.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ f5272cda54f7cdd07fb6154d5a1ed1f1141a2a4f39b6a85d3f325fd60ac8dc9a lib/core/enums
189189
48797d6c34dd9bb8a53f7f3794c85f4288d82a9a1d6be7fcf317d388cb20d4b3 lib/core/replication.py
190190
3574639db4942d16a2dc0a2f04bb7c0913c40c3862b54d34c44075a760e0c194 lib/core/revision.py
191191
888daba83fd4a34e9503fe21f01fef4cc730e5cde871b1d40e15d4cbc847d56c lib/core/session.py
192-
cb2c26272e56488b28713fd56ca64809d73cae3685bda26e66ef36e8d0fc4599 lib/core/settings.py
192+
3b56bc9e795809f99cf502cc0f0c1c5b046f03720a6fd43192add592c5e90fdd lib/core/settings.py
193193
cd5a66deee8963ba8e7e9af3dd36eb5e8127d4d68698811c29e789655f507f82 lib/core/shell.py
194194
bcb5d8090d5e3e0ef2a586ba09ba80eef0c6d51feb0f611ed25299fbb254f725 lib/core/subprocessng.py
195195
d35650179816193164a5f177102f18379dfbe6bb6d40fbb67b78d907b41c8038 lib/core/target.py
@@ -478,7 +478,7 @@ eb45fd711efa71ab9d91d815cc8abebc9abc4770311fbb827159008b000f4fc2 plugins/generi
478478
1966ca704961fb987ab757f0a4afddbf841d1a880631b701487c75cef63d60c3 plugins/__init__.py
479479
423d9bfaddb3cf527d02ddda97e53c4853d664c51ef7be519e4f45b9e399bc30 README.md
480480
c6ad39bfd1810413402dedfc275fc805fa13f85fc490e236c1e725bde4e5100b sqlmapapi.py
481-
168309215af7dd5b0b71070e1770e72f1cbb29a3d8025143fb8aa0b88cd56b62 sqlmapapi.yaml
481+
4e993cfe2889bf0f86ad0abafd9a6a25849580284ea279b2115e99707e14bb97 sqlmapapi.yaml
482482
a40607ce164eb2d21865288d24b863edb1c734b56db857e130ac1aef961c80b9 sqlmap.conf
483483
e9d3d52d4c0698b956cc0dc92c177d432b1f97c5918f750baa3e737de4ae574b sqlmap.py
484484
eb37a88357522fd7ad00d90cdc5da6b57442b4fec49366aadb2944c4fbf8b804 tamper/0eunion.py

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from thirdparty import six
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.10.1.18"
22+
VERSION = "1.10.1.19"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

sqlmapapi.yaml

Lines changed: 100 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,106 @@ paths:
3737
success:
3838
type: boolean
3939
example: true
40+
/task/{taskid}/delete:
41+
get:
42+
description: Delete an existing task
43+
parameters:
44+
- in: path
45+
name: taskid
46+
required: true
47+
schema:
48+
type: string
49+
description: Scan task ID
50+
responses:
51+
'200':
52+
description: OK
53+
content:
54+
application/json:
55+
schema:
56+
type: object
57+
properties:
58+
success:
59+
type: boolean
60+
example: true
61+
/option/{taskid}/list:
62+
get:
63+
description: List options for a given task ID
64+
parameters:
65+
- in: path
66+
name: taskid
67+
required: true
68+
schema:
69+
type: string
70+
description: Scan task ID
71+
responses:
72+
'200':
73+
description: OK
74+
content:
75+
application/json:
76+
schema:
77+
type: object
78+
properties:
79+
success:
80+
type: boolean
81+
example: true
82+
options:
83+
type: array
84+
items:
85+
type: object
86+
/option/{taskid}/get:
87+
post:
88+
description: Get value of option(s) for a certain task ID
89+
parameters:
90+
- in: path
91+
name: taskid
92+
required: true
93+
schema:
94+
type: string
95+
requestBody:
96+
content:
97+
application/json:
98+
schema:
99+
type: array
100+
items:
101+
type: string
102+
example: ["url", "cookie"]
103+
responses:
104+
'200':
105+
description: OK
106+
content:
107+
application/json:
108+
schema:
109+
type: object
110+
properties:
111+
success:
112+
type: boolean
113+
options:
114+
type: object
115+
/option/{taskid}/set:
116+
post:
117+
description: Set value of option(s) for a certain task ID
118+
parameters:
119+
- in: path
120+
name: taskid
121+
required: true
122+
schema:
123+
type: string
124+
requestBody:
125+
content:
126+
application/json:
127+
schema:
128+
type: object
129+
example: {"cookie": "id=1"}
130+
responses:
131+
'200':
132+
description: OK
133+
content:
134+
application/json:
135+
schema:
136+
type: object
137+
properties:
138+
success:
139+
type: boolean
40140
/scan/{taskid}/start:
41141
post:
42142
description: Launch a scan
@@ -120,31 +220,6 @@ paths:
120220
success:
121221
type: boolean
122222
example: true
123-
/scan/{taskid}/list:
124-
get:
125-
description: List options for a given task ID
126-
parameters:
127-
- in: path
128-
name: taskid
129-
required: true
130-
schema:
131-
type: string
132-
description: Scan task ID
133-
responses:
134-
'200':
135-
description: OK
136-
content:
137-
application/json:
138-
schema:
139-
type: object
140-
properties:
141-
success:
142-
type: boolean
143-
example: true
144-
options:
145-
type: array
146-
items:
147-
type: object
148223
/scan/{taskid}/data:
149224
get:
150225
description: Retrieve the scan resulting data
@@ -220,24 +295,3 @@ paths:
220295
success:
221296
type: boolean
222297
example: true
223-
/task/{taskid}/delete:
224-
get:
225-
description: Delete an existing task
226-
parameters:
227-
- in: path
228-
name: taskid
229-
required: true
230-
schema:
231-
type: string
232-
description: Scan task ID
233-
responses:
234-
'200':
235-
description: OK
236-
content:
237-
application/json:
238-
schema:
239-
type: object
240-
properties:
241-
success:
242-
type: boolean
243-
example: true

0 commit comments

Comments
 (0)