Merge pull request #1860 from pikpikcu/patch-193

Create minio-default-password
patch-1
Prince Chaddha 2021-07-05 19:48:01 +05:30 committed by GitHub
commit 9614c56493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,41 @@
id: minio-default-password
info:
name: Minio Default Password
author: pikpikcu
severity: medium
requests:
- method: POST
path:
- "{{BaseURL}}/minio/webrpc"
headers:
Content-Type: application/json
body: |
{"id":1,"jsonrpc":"2.0","params":{"username":"minioadmin","password":"minioadmin"},"method":"Web.Login"}
- method: POST
path:
- "{{BaseURL}}/minio/webrpc"
headers:
Content-Type: application/json
body: |
{"id":1,"jsonrpc":"2.0","params":{"username":"minioadmin","password":"minioadmin"},"method":"web.Login"}
matchers-condition: and
matchers:
- type: word
words:
- "Content-Type: application/json"
part: header
- type: word
words:
- 'uiVersion'
- 'token'
part: body
condition: and
- type: status
status:
- 200