Skip to content

Commit f73d5bf

Browse files
committed
fixed issues
1 parent 74b012d commit f73d5bf

File tree

3 files changed

+142
-13
lines changed

3 files changed

+142
-13
lines changed

Broken-User-Authentication/UnionBasedMySQLiWithURLEncodedPayloadsPOST.yml

Lines changed: 48 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ wordLists:
9797
- "%27%20UNION%20SELECT%201,%20user(),%20now()%20WHERE%201%3D0%20--"
9898
- "%27%20UNION%20SELECT%201,%20user(),%20char(0x2F)%20WHERE%201%3D0%20--"
9999
- "%27%20UNION%20SELECT%201,%20user(),%20version_comment()%20WHERE%201%3D0%20--"
100-
101-
102100
execute:
103101
type: multiple
104102
requests:
@@ -194,8 +192,52 @@ execute:
194192
- <html>
195193
- </html>
196194
neq: "${x1.response.body}"
195+
- success: x3
196+
- failure: exit
197+
- req:
198+
- modify_body_param:
199+
userKey: ${userVal}${unionBasedNegativePayloads}
200+
- validate:
201+
response_code:
202+
gte: 200
203+
lt: 300
204+
response_payload:
205+
length:
206+
gt: 0
207+
not_contains:
208+
- Error
209+
- Internal Server
210+
- Fail
211+
- Unauthorized
212+
- access denied
213+
- Forbidden
214+
- Method Not allowed
215+
- Gateway timeout
216+
- request timeout
217+
- server error
218+
- server busy
219+
- authentication error
220+
- authorization error
221+
- validation error
222+
- Permission Denied
223+
- invalid
224+
- token expired
225+
- session expired
226+
- session timeout
227+
- unexpected error
228+
- unable to process request
229+
- bad request
230+
- service unavailable
231+
- account is locked
232+
- account is blocked
233+
- multiple failed attempts
234+
- Attention Required!
235+
- CloudFlare
236+
- Sorry, you have been blocked
237+
- UNION
238+
- SELECT
239+
- WHERE
240+
- <html>
241+
- </html>
242+
eq: "${x2.response.body}"
197243
- success: vulnerable
198-
199-
200-
201-

Broken-User-Authentication/UnionColumnBasedSQLiPOST.yml

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,50 @@ execute:
197197
- <html>
198198
- </html>
199199
neq: "${x1.response.body}"
200-
- success: vulnerable
201-
202-
200+
- success: x3
201+
- failure: exit
202+
- req:
203+
- modify_body_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}"
246+
- success: vulnerable

Broken-User-Authentication/UnionDataTypeBasedSQLiPOST.yml

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

0 commit comments

Comments
 (0)