-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: chen8945 <[email protected]>
- Loading branch information
1 parent
ad08ff5
commit 9f75800
Showing
2 changed files
with
334 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,322 @@ | ||
[ | ||
{ | ||
"request": { | ||
"method": "GET", | ||
"url": "https://masiro.me/admin/auth/login", | ||
"headers": [ | ||
{ | ||
"name": "referer", | ||
"value": "https://masiro.me/admin" | ||
}, | ||
{ | ||
"name": "user-agent", | ||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36" | ||
} | ||
], | ||
"cookies": [] | ||
}, | ||
"rule": { | ||
"success_asserts": [ | ||
{ | ||
"re": "200", | ||
"from": "status" | ||
} | ||
], | ||
"failed_asserts": [], | ||
"extract_variables": [ | ||
{ | ||
"name": "token", | ||
"re": "name=\"_token\" value=\"(.+)\"", | ||
"from": "content" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"request": { | ||
"method": "POST", | ||
"url": "https://masiro.me/admin/auth/login", | ||
"headers": [ | ||
{ | ||
"name": "origin", | ||
"value": "https://masiro.me" | ||
}, | ||
{ | ||
"name": "referer", | ||
"value": "https://masiro.me/admin" | ||
}, | ||
{ | ||
"name": "user-agent", | ||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36" | ||
}, | ||
{ | ||
"name": "x-csrf-token", | ||
"value": "{{token}}" | ||
} | ||
], | ||
"cookies": [], | ||
"data": "username={{username|urlencode}}&password={{password|urlencode}}&activationcode=&remember=1&_token={{token}}", | ||
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8" | ||
}, | ||
"rule": { | ||
"success_asserts": [ | ||
{ | ||
"re": "200", | ||
"from": "status" | ||
}, | ||
{ | ||
"re": "\\\\u767b\\\\u5f55\\\\u6210\\\\u529f!", | ||
"from": "content" | ||
} | ||
], | ||
"failed_asserts": [ | ||
{ | ||
"re": "\\\\u7528\\\\u6237\\\\u540d\\\\u6216\\\\u5bc6\\\\u7801\\\\u9519\\\\u8bef\\\\u3002", | ||
"from": "content" | ||
}, | ||
{ | ||
"re": "\\\\u8d26\\\\u53f7\\\\u4e0d\\\\u80fd\\\\u4e3a\\\\u7a7a!", | ||
"from": "content" | ||
}, | ||
{ | ||
"re": "\\\\u8d26\\\\u53f7\\\\u4e0d\\\\u5b58\\\\u5728!", | ||
"from": "content" | ||
}, | ||
{ | ||
"re": "\\\\u5bc6\\\\u7801\\\\u4e0d\\\\u80fd\\\\u4e3a\\\\u7a7a!", | ||
"from": "content" | ||
} | ||
], | ||
"extract_variables": [] | ||
} | ||
}, | ||
{ | ||
"request": { | ||
"method": "GET", | ||
"url": "https://masiro.me/admin", | ||
"headers": [ | ||
{ | ||
"name": "referer", | ||
"value": "https://masiro.me/admin/auth/login" | ||
}, | ||
{ | ||
"name": "user-agent", | ||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36" | ||
} | ||
], | ||
"cookies": [] | ||
}, | ||
"rule": { | ||
"success_asserts": [ | ||
{ | ||
"re": "200", | ||
"from": "status" | ||
} | ||
], | ||
"failed_asserts": [], | ||
"extract_variables": [] | ||
} | ||
}, | ||
{ | ||
"comment": "", | ||
"request": { | ||
"method": "GET", | ||
"url": "https://masiro.me/admin/wishingPondIndex", | ||
"headers": [ | ||
{ | ||
"name": "referer", | ||
"value": "https://masiro.me/admin" | ||
}, | ||
{ | ||
"name": "user-agent", | ||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36" | ||
} | ||
], | ||
"cookies": [] | ||
}, | ||
"rule": { | ||
"success_asserts": [ | ||
{ | ||
"re": "200", | ||
"from": "status" | ||
} | ||
], | ||
"failed_asserts": [], | ||
"extract_variables": [ | ||
{ | ||
"name": "token", | ||
"re": "name=\"_token\" value=\"(.+)\"", | ||
"from": "content" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"request": { | ||
"method": "POST", | ||
"url": "https://masiro.me/admin/gachiyaWishingPond", | ||
"headers": [ | ||
{ | ||
"name": "origin", | ||
"value": "https://masiro.me" | ||
}, | ||
{ | ||
"name": "referer", | ||
"value": "https://masiro.me/admin/wishingPondIndex" | ||
}, | ||
{ | ||
"name": "user-agent", | ||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36" | ||
}, | ||
{ | ||
"name": "x-csrf-token", | ||
"value": "{{token}}" | ||
} | ||
], | ||
"cookies": [], | ||
"data": "wp_id=1&cost=NaN", | ||
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8" | ||
}, | ||
"rule": { | ||
"success_asserts": [ | ||
{ | ||
"re": "200", | ||
"from": "status" | ||
} | ||
], | ||
"failed_asserts": [], | ||
"extract_variables": [ | ||
{ | ||
"name": "msg", | ||
"re": "\"msg\":\"(.+?)\"", | ||
"from": "content" | ||
}, | ||
{ | ||
"name": "msg1", | ||
"re": "style=\\\\\"color:.*?\\\\\">(.+?)<\\\\/div>", | ||
"from": "content" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"request": { | ||
"method": "GET", | ||
"url": "https://masiro.me/admin/dailySignIn", | ||
"headers": [ | ||
{ | ||
"name": "referer", | ||
"value": "https://masiro.me/admin" | ||
}, | ||
{ | ||
"name": "user-agent", | ||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36" | ||
}, | ||
{ | ||
"name": "x-csrf-token", | ||
"value": "{{token}}" | ||
} | ||
], | ||
"cookies": [] | ||
}, | ||
"rule": { | ||
"success_asserts": [ | ||
{ | ||
"re": "200", | ||
"from": "status" | ||
}, | ||
{ | ||
"re": "\\\\u4eca\\\\u65e5\\\\u5df2\\\\u6253\\\\u5361", | ||
"from": "content" | ||
} | ||
], | ||
"failed_asserts": [], | ||
"extract_variables": [ | ||
{ | ||
"name": "sign", | ||
"re": "\"msg\":\"(.+)\"", | ||
"from": "content" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"comment": "", | ||
"request": { | ||
"method": "GET", | ||
"url": "https://masiro.me/admin/userCenterShow", | ||
"headers": [ | ||
{ | ||
"name": "referer", | ||
"value": "https://masiro.me/admin" | ||
}, | ||
{ | ||
"name": "user-agent", | ||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36" | ||
} | ||
], | ||
"cookies": [] | ||
}, | ||
"rule": { | ||
"success_asserts": [ | ||
{ | ||
"re": "200", | ||
"from": "status" | ||
} | ||
], | ||
"failed_asserts": [], | ||
"extract_variables": [ | ||
{ | ||
"name": "name", | ||
"re": "(.*)<span class=\"user-lev\"", | ||
"from": "content" | ||
}, | ||
{ | ||
"name": "lv", | ||
"re": "<span class=\"user-lev\">(.+)</span>", | ||
"from": "content" | ||
}, | ||
{ | ||
"name": "money", | ||
"re": "金币:(\\d+)", | ||
"from": "content" | ||
}, | ||
{ | ||
"name": "exp", | ||
"re": "经验值:(.+) 粉丝", | ||
"from": "content" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"comment": "Unicode转换", | ||
"request": { | ||
"method": "POST", | ||
"url": "api://util/unicode", | ||
"headers": [], | ||
"cookies": [], | ||
"data": "content=用户名:{{name}},金币:{{money}}\\r\\n 等级:{{lv|capitalize}},经验:{{exp}}\\r\\n 祈愿结果:{{msg}} {{msg1|urlencode}}\\r\\n 签到结果:{{sign|urlencode}}" | ||
}, | ||
"rule": { | ||
"success_asserts": [ | ||
{ | ||
"re": "200", | ||
"from": "status" | ||
}, | ||
{ | ||
"re": "\"状态\": \"200\"", | ||
"from": "content" | ||
} | ||
], | ||
"failed_asserts": [], | ||
"extract_variables": [ | ||
{ | ||
"name": "__log__", | ||
"re": "\"转换后\": \"(.*)\"", | ||
"from": "content" | ||
} | ||
] | ||
} | ||
} | ||
] |