mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 21:53:42 +00:00
216 lines
6.8 KiB
JSON
216 lines
6.8 KiB
JSON
[
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://www.xianyudanji.net/wp-admin/admin-ajax.php",
|
|
"headers": [
|
|
{
|
|
"name": "origin",
|
|
"value": "https://www.xianyudanji.net"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://www.xianyudanji.net/"
|
|
},
|
|
{
|
|
"name": "user-agent",
|
|
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"data": "action=user_login&username={{username|urlencode}}&password={{password|urlencode}}&rememberme=1",
|
|
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
},
|
|
{
|
|
"re": "\\\\u767b\\\\u5f55\\\\u6210\\\\u529f",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"re": "400",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [
|
|
{
|
|
"re": "\\\\u8bf7\\\\u8f93\\\\u5165\\\\u767b\\\\u5f55\\\\u8d26\\\\u53f7\\\\u6216\\\\u5bc6\\\\u7801",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"re": "\\\\u7528\\\\u6237\\\\u540d\\\\u6216\\\\u5bc6\\\\u7801\\\\u9519\\\\u8bef",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"extract_variables": []
|
|
}
|
|
},
|
|
{
|
|
"comment": "",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://www.xianyudanji.net/user",
|
|
"headers": [
|
|
{
|
|
"name": "referer",
|
|
"value": "https://www.xianyudanji.net/"
|
|
},
|
|
{
|
|
"name": "user-agent",
|
|
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"data": "",
|
|
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "nonce",
|
|
"re": "data-nonce=\"(.*?)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://www.xianyudanji.net/wp-admin/admin-ajax.php",
|
|
"headers": [
|
|
{
|
|
"name": "origin",
|
|
"value": "https://www.xianyudanji.net"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://www.xianyudanji.net/user"
|
|
},
|
|
{
|
|
"name": "user-agent",
|
|
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"data": "action=user_qiandao&nonce={{nonce}}",
|
|
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
},
|
|
{
|
|
"re": "\\\\u7b7e\\\\u5230\\\\u6210\\\\u529f",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"failed_asserts": [
|
|
{
|
|
"re": "\\\\u975e\\\\u6cd5\\\\u8bf7\\\\u6c42\\\\uff0c\\\\u8bf7\\\\u5237\\\\u65b0\\\\u91cd\\\\u8bd5",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"re": "\\\\u8bf7\\\\u767b\\\\u5f55\\\\u540e\\\\u7b7e\\\\u5230",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"extract_variables": [
|
|
{
|
|
"name": "msg",
|
|
"re": "\"msg\":\"(.*)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://www.xianyudanji.net/user",
|
|
"headers": [
|
|
{
|
|
"name": "referer",
|
|
"value": "https://www.xianyudanji.net/"
|
|
},
|
|
{
|
|
"name": "user-agent",
|
|
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"data": "",
|
|
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "name",
|
|
"re": "<span class=\"mx-display-name\">(.*?)<span",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "ye",
|
|
"re": "当前余额:(.+)</p>",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "xf",
|
|
"re": "累计消费:(.+)</p>",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "Unicode转换",
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "api://util/unicode",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": "content=用户名:{{name}}\\r\\n 当前余额:{{ye}},累计消费:{{xf}}\\r\\n 签到结果:{{msg}}"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
},
|
|
{
|
|
"re": "\"状态\": \"200\"",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "__log__",
|
|
"re": "\"转换后\": \"(.*)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |