mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 22:31:32 +00:00
450 lines
14 KiB
JSON
450 lines
14 KiB
JSON
[
|
|
{
|
|
"comment": "登录爱快",
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://bbs.ikuai8.com/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1",
|
|
"headers": [
|
|
{
|
|
"name": ":authority",
|
|
"value": "bbs.ikuai8.com"
|
|
},
|
|
{
|
|
"name": ":method",
|
|
"value": "POST"
|
|
},
|
|
{
|
|
"name": ":path",
|
|
"value": "/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1"
|
|
},
|
|
{
|
|
"name": ":scheme",
|
|
"value": "https"
|
|
},
|
|
{
|
|
"name": "accept",
|
|
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
|
|
},
|
|
{
|
|
"name": "accept-encoding",
|
|
"value": "gzip, deflate, br"
|
|
},
|
|
{
|
|
"name": "accept-language",
|
|
"value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
|
|
},
|
|
{
|
|
"name": "cache-control",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"name": "content-type",
|
|
"value": "application/x-www-form-urlencoded"
|
|
},
|
|
{
|
|
"name": "origin",
|
|
"value": "https://bbs.ikuai8.com"
|
|
},
|
|
{
|
|
"name": "pragma",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://bbs.ikuai8.com/"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\"Not.A/Brand\";v=\"8\", \"Chromium\";v=\"114\", \"Microsoft Edge\";v=\"114\""
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-mobile",
|
|
"value": "?0"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-platform",
|
|
"value": "\"Windows\""
|
|
},
|
|
{
|
|
"name": "sec-fetch-dest",
|
|
"value": "iframe"
|
|
},
|
|
{
|
|
"name": "sec-fetch-mode",
|
|
"value": "navigate"
|
|
},
|
|
{
|
|
"name": "sec-fetch-site",
|
|
"value": "same-origin"
|
|
},
|
|
{
|
|
"name": "sec-fetch-user",
|
|
"value": "?1"
|
|
},
|
|
{
|
|
"name": "upgrade-insecure-requests",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "user-agent",
|
|
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"data": "fastloginfield=username&username={{ username |urlencode}}&password={{password|urlencode}}&quickforward=yes&handlekey=Is",
|
|
"mimeType": "application/x-www-form-urlencoded"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": []
|
|
}
|
|
},
|
|
{
|
|
"comment": "获取表单编码",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://bbs.ikuai8.com/",
|
|
"headers": [
|
|
{
|
|
"name": ":authority",
|
|
"value": "bbs.ikuai8.com"
|
|
},
|
|
{
|
|
"name": ":method",
|
|
"value": "GET"
|
|
},
|
|
{
|
|
"name": ":path",
|
|
"value": "/"
|
|
},
|
|
{
|
|
"name": ":scheme",
|
|
"value": "https"
|
|
},
|
|
{
|
|
"name": "accept",
|
|
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
|
|
},
|
|
{
|
|
"name": "accept-encoding",
|
|
"value": "gzip, deflate, br"
|
|
},
|
|
{
|
|
"name": "accept-language",
|
|
"value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
|
|
},
|
|
{
|
|
"name": "cache-control",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"name": "pragma",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://bbs.ikuai8.com/"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\"Not.A/Brand\";v=\"8\", \"Chromium\";v=\"114\", \"Microsoft Edge\";v=\"114\""
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-mobile",
|
|
"value": "?0"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-platform",
|
|
"value": "\"Windows\""
|
|
},
|
|
{
|
|
"name": "sec-fetch-dest",
|
|
"value": "document"
|
|
},
|
|
{
|
|
"name": "sec-fetch-mode",
|
|
"value": "navigate"
|
|
},
|
|
{
|
|
"name": "sec-fetch-site",
|
|
"value": "same-origin"
|
|
},
|
|
{
|
|
"name": "sec-fetch-user",
|
|
"value": "?1"
|
|
},
|
|
{
|
|
"name": "upgrade-insecure-requests",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "user-agent",
|
|
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43"
|
|
}
|
|
],
|
|
"cookies": []
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "formhash",
|
|
"re": "formhash=(.*)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "连续签到",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://bbs.ikuai8.com/plugin.php?id=k_misign%3Asign&operation=qiandao&format=button&inajax=1&ajaxtarget=midaben_sign&formhash={{formhash|urlencode}}",
|
|
"headers": [
|
|
{
|
|
"name": ":authority",
|
|
"value": "bbs.ikuai8.com"
|
|
},
|
|
{
|
|
"name": ":method",
|
|
"value": "GET"
|
|
},
|
|
{
|
|
"name": ":path",
|
|
"value": "/plugin.php?id=k_misign:sign&operation=qiandao&format=button&formhash=84b3d084&inajax=1&ajaxtarget=midaben_sign"
|
|
},
|
|
{
|
|
"name": ":scheme",
|
|
"value": "https"
|
|
},
|
|
{
|
|
"name": "accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "accept-encoding",
|
|
"value": "gzip, deflate, br"
|
|
},
|
|
{
|
|
"name": "accept-language",
|
|
"value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
|
|
},
|
|
{
|
|
"name": "cache-control",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"name": "pragma",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://bbs.ikuai8.com/"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\"Not.A/Brand\";v=\"8\", \"Chromium\";v=\"114\", \"Microsoft Edge\";v=\"114\""
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-mobile",
|
|
"value": "?0"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-platform",
|
|
"value": "\"Windows\""
|
|
},
|
|
{
|
|
"name": "sec-fetch-dest",
|
|
"value": "empty"
|
|
},
|
|
{
|
|
"name": "sec-fetch-mode",
|
|
"value": "cors"
|
|
},
|
|
{
|
|
"name": "sec-fetch-site",
|
|
"value": "same-origin"
|
|
},
|
|
{
|
|
"name": "user-agent",
|
|
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.51"
|
|
},
|
|
{
|
|
"name": "x-requested-with",
|
|
"value": "XMLHttpRequest"
|
|
}
|
|
],
|
|
"cookies": []
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "temp_value",
|
|
"re": "获得随机奖励 (.*)金钱",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "获取信息",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://bbs.ikuai8.com/",
|
|
"headers": [
|
|
{
|
|
"name": ":authority",
|
|
"value": "bbs.ikuai8.com"
|
|
},
|
|
{
|
|
"name": ":method",
|
|
"value": "GET"
|
|
},
|
|
{
|
|
"name": ":path",
|
|
"value": "/"
|
|
},
|
|
{
|
|
"name": ":scheme",
|
|
"value": "https"
|
|
},
|
|
{
|
|
"name": "accept",
|
|
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
|
|
},
|
|
{
|
|
"name": "accept-encoding",
|
|
"value": "gzip, deflate, br"
|
|
},
|
|
{
|
|
"name": "accept-language",
|
|
"value": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"
|
|
},
|
|
{
|
|
"name": "cache-control",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"name": "pragma",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://bbs.ikuai8.com/"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\"Not.A/Brand\";v=\"8\", \"Chromium\";v=\"114\", \"Microsoft Edge\";v=\"114\""
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-mobile",
|
|
"value": "?0"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-platform",
|
|
"value": "\"Windows\""
|
|
},
|
|
{
|
|
"name": "sec-fetch-dest",
|
|
"value": "document"
|
|
},
|
|
{
|
|
"name": "sec-fetch-mode",
|
|
"value": "navigate"
|
|
},
|
|
{
|
|
"name": "sec-fetch-site",
|
|
"value": "same-origin"
|
|
},
|
|
{
|
|
"name": "sec-fetch-user",
|
|
"value": "?1"
|
|
},
|
|
{
|
|
"name": "upgrade-insecure-requests",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "user-agent",
|
|
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43"
|
|
}
|
|
],
|
|
"cookies": []
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "points",
|
|
"re": "积分: (.*)</a>",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "check_in_nums",
|
|
"re": "连续(.*)天",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "rank",
|
|
"re": "<div class=\"line\">\\s*([0-9]+)\\s*</div>",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "打印日志",
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "api://util/unicode",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": "content=爱快积分:{{points}} 连续签到{{check_in_nums}}天 排名{{rank}}"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
},
|
|
{
|
|
"re": "\"状态\": \"200\"",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "__log__",
|
|
"re": "\"转换后\": \"(.*)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |