Created
June 1, 2023 07:58
-
-
Save Esonhugh/0f99eabec14110202ed34d34e88b31f8 to your computer and use it in GitHub Desktop.
Ruoyi Weak password admin -> admin123
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id: Ruoyi-default-password | |
info: | |
name: Ruoyi default password admin/admin123 | |
author: Esonhugh-self-maintained | |
severity: critical | |
description: | | |
Ruoyi default password admin admin123 | |
tags: password,default,ruoyi | |
stop-at-first-match: true | |
requests: | |
- method: POST | |
path: | |
- '{{BaseURL}}/ruoyi/login' | |
- '{{BaseURL}}/login' | |
- '{{Host}}:9200/ruoyi/login' | |
- '{{Host}}:9200/login' | |
body: '{"username":"admin","password":"admin123"}' | |
headers: | |
Content-Type: application/json | |
matchers-condition: and | |
matchers: | |
- type: status | |
status: | |
- 200 | |
- 302 | |
- type: word | |
part: body | |
condition: or | |
words: | |
- '"code":200' | |
- '"token"' | |
extractors: | |
- type: json | |
part: body | |
json: | |
- ".data.access_token" | |
- ".token" | |
- ".access_token" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment