Skip to content

Commit 193afa0

Browse files
committed
fixed SQLi test
1 parent f73d5bf commit 193afa0

File tree

1 file changed

+47
-2
lines changed

1 file changed

+47
-2
lines changed

Broken-User-Authentication/UnionColumnBasedSQLiGET.yml

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,51 @@ execute:
197197
- <html>
198198
- </html>
199199
neq: "${x1.response.body}"
200+
- success: x3
201+
- failure: exit
202+
- req:
203+
- modify_query_param:
204+
userKey: ${userVal}${unionBasedNegativePayloads}
205+
- validate:
206+
response_code:
207+
gte: 200
208+
lt: 300
209+
response_payload:
210+
length:
211+
gt: 0
212+
not_contains:
213+
- Error
214+
- Internal Server
215+
- Fail
216+
- Unauthorized
217+
- access denied
218+
- Forbidden
219+
- Method Not allowed
220+
- Gateway timeout
221+
- request timeout
222+
- server error
223+
- server busy
224+
- authentication error
225+
- authorization error
226+
- validation error
227+
- Permission Denied
228+
- invalid
229+
- token expired
230+
- session expired
231+
- session timeout
232+
- unexpected error
233+
- unable to process request
234+
- bad request
235+
- service unavailable
236+
- account is locked
237+
- account is blocked
238+
- multiple failed attempts
239+
- Attention Required!
240+
- CloudFlare
241+
- Sorry, you have been blocked
242+
- " UNION SELECT "
243+
- <html>
244+
- </html>
245+
eq: "${x2.response.body}"
200246
- success: vulnerable
201-
202-
247+
- failure: exit

0 commit comments

Comments
 (0)