mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 22:31:32 +00:00
560 lines
17 KiB
JSON
560 lines
17 KiB
JSON
[
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://www.baogaoting.com/account/login",
|
|
"headers": [
|
|
{
|
|
"name": "referer",
|
|
"value": "https://www.baogaoting.com/"
|
|
},
|
|
{
|
|
"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": "302",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "location",
|
|
"re": ".*",
|
|
"from": "header-location"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "{{location}}",
|
|
"headers": [
|
|
{
|
|
"name": "referer",
|
|
"value": "https://www.baogaoting.com/"
|
|
},
|
|
{
|
|
"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": "302",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "location",
|
|
"re": ".*",
|
|
"from": "header-location"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "{{location}}",
|
|
"headers": [
|
|
{
|
|
"name": "referer",
|
|
"value": "https://www.baogaoting.com/"
|
|
},
|
|
{
|
|
"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": "RequestVerificationToken",
|
|
"re": "name=\"__RequestVerificationToken\" type=\"hidden\" value=\"(.+)\"",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "ReturnUrl",
|
|
"re": "name=\"ReturnUrl\" value=\"(.+)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "字符串替换",
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "api://util/string/replace",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": "r=json&p=amp;&s={{ReturnUrl|urlencode}}&t="
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
},
|
|
{
|
|
"re": "\"状态\": \"OK\"",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "",
|
|
"re": "\"处理后字符串\": \"(.*)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://login.baogaoting.com/account/pwdlogin",
|
|
"headers": [
|
|
{
|
|
"name": "origin",
|
|
"value": "https://login.baogaoting.com"
|
|
},
|
|
{
|
|
"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": [],
|
|
"data": "ReturnUrl={{ReturnUrl|urlencode}}&prefix=%2B86&phone={{username|urlencode}}&password={{password|urlencode}}&__RequestVerificationToken={{RequestVerificationToken}}",
|
|
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "302",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [
|
|
{
|
|
"re": "The phone field is required",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"re": "The password field is required",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"re": "请点击立即注册或者使用验证码登录",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"re": "密码错误",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"extract_variables": [
|
|
{
|
|
"name": "location",
|
|
"re": ".*",
|
|
"from": "header-location"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "字符串替换",
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "api://util/string/replace",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": "r=json&p=amp;&s={{location|urlencode}}&t="
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
},
|
|
{
|
|
"re": "\"状态\": \"OK\"",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "location",
|
|
"re": "\"处理后字符串\": \"(.*)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://login.baogaoting.com{{location}}",
|
|
"headers": [
|
|
{
|
|
"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": "code",
|
|
"re": "name='code' value='(.+)'",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "id_token",
|
|
"re": "name='id_token' value='(.+)'",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "scope",
|
|
"re": "name='scope' value='(.+)'",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "state",
|
|
"re": "name='state' value='(.+)'",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "session_state",
|
|
"re": "name='session_state' value='(.+)'",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://www.baogaoting.com/signin-oidc",
|
|
"headers": [
|
|
{
|
|
"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": [],
|
|
"data": "code={{code}}&id_token={{id_token}}&scope={{scope}}&state={{state}}&session_state={{session_state}}",
|
|
"mimeType": "application/x-www-form-urlencoded"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "302",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": []
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://www.baogaoting.com/account/login",
|
|
"headers": [
|
|
{
|
|
"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": "302",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": []
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://www.baogaoting.com/",
|
|
"headers": [
|
|
{
|
|
"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": [
|
|
{
|
|
"re": "请登录!",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"extract_variables": [
|
|
{
|
|
"name": "name",
|
|
"re": "<p class=\"fontS16 fontBold\">(.+)</p>",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://u.baogaoting.com/",
|
|
"headers": [
|
|
{
|
|
"name": "referer",
|
|
"value": "https://www.baogaoting.com/"
|
|
},
|
|
{
|
|
"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": "302",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "location",
|
|
"re": ".*",
|
|
"from": "header-location"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "{{location}}",
|
|
"headers": [
|
|
{
|
|
"name": "referer",
|
|
"value": "https://www.baogaoting.com/"
|
|
},
|
|
{
|
|
"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": "code",
|
|
"re": "name='code' value='(.+)'",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "id_token",
|
|
"re": "name='id_token' value='(.+)'",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "scope",
|
|
"re": "name='scope' value='(.+)'",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "state",
|
|
"re": "name='state' value='(.+)'",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "session_state",
|
|
"re": "name='session_state' value='(.+)'",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://u.baogaoting.com/signin-oidc",
|
|
"headers": [
|
|
{
|
|
"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": [],
|
|
"data": "code={{code}}&id_token={{id_token}}&scope={{scope}}&state={{state}}&session_state={{session_state}}",
|
|
"mimeType": "application/x-www-form-urlencoded"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "302",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": []
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://u.baogaoting.com/home/signinreward",
|
|
"headers": [
|
|
{
|
|
"name": "origin",
|
|
"value": "https://u.baogaoting.com"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://u.baogaoting.com/"
|
|
},
|
|
{
|
|
"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://u.baogaoting.com/",
|
|
"headers": [
|
|
{
|
|
"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": "day",
|
|
"re": "<div class=\"center\">已连续签到<span class=\"ml10 mr10 fontS24 font-blue fontBold sigin_day_totaldays\">\\d+</span>天</div>",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "jf",
|
|
"re": "<span class=\"fontS28\">(\\d+)</span>",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "Unicode转换",
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "api://util/unicode",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": "content=用户名:{{name}},可用积分:{{jf}}\\r\\n 签到结果:{{day|striptags}}"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
},
|
|
{
|
|
"re": "\"状态\": \"200\"",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "__log__",
|
|
"re": "\"转换后\": \"(.*)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |