mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 20:32:02 +00:00
425 lines
14 KiB
JSON
425 lines
14 KiB
JSON
[
|
|
{
|
|
"comment": "",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://skyeysnow.com/login.php",
|
|
"headers": [
|
|
{
|
|
"name": "accept",
|
|
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
|
|
},
|
|
{
|
|
"name": "accept-language",
|
|
"value": "zh-CN,zh;q=0.9,zh-TW;q=0.8,zh-HK;q=0.7,en;q=0.6,en-US;q=0.5,ja;q=0.4"
|
|
},
|
|
{
|
|
"name": "cache-control",
|
|
"value": "max-age=0"
|
|
},
|
|
{
|
|
"name": "dnt",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"value": "u=0, i"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://skyeysnow.com/"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\"Chromium\";v=\"130\", \"Microsoft Edge\";v=\"130\", \"Not?A_Brand\";v=\"99\""
|
|
},
|
|
{
|
|
"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/130.0.0.0 Safari/537.36 Edg/130.0.0.0"
|
|
}
|
|
],
|
|
"cookies": []
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "/",
|
|
"from": "header-location"
|
|
},
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "login_url",
|
|
"re": "action=\"(/member.php\\?.+?)\"",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "formhash",
|
|
"re": "name=\"formhash\" value=\"(.+?)\"",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"re": "name=\"referer\" value=\"(.+?)\"",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "login_status",
|
|
"re": ".+",
|
|
"from": "status"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "判断条件成立",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "{% if login_status == \"200\" %}",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": ""
|
|
},
|
|
"rule": {
|
|
"success_asserts": [],
|
|
"failed_asserts": [],
|
|
"extract_variables": []
|
|
}
|
|
},
|
|
{
|
|
"comment": "",
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "https://skyeysnow.com/{{login_url}}",
|
|
"headers": [
|
|
{
|
|
"name": "accept",
|
|
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
|
|
},
|
|
{
|
|
"name": "accept-language",
|
|
"value": "zh-CN,zh;q=0.9,zh-TW;q=0.8,zh-HK;q=0.7,en;q=0.6,en-US;q=0.5,ja;q=0.4"
|
|
},
|
|
{
|
|
"name": "cache-control",
|
|
"value": "max-age=0"
|
|
},
|
|
{
|
|
"name": "dnt",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"value": "u=0, i"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://skyeysnow.com/login.php"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\"Chromium\";v=\"130\", \"Microsoft Edge\";v=\"130\", \"Not?A_Brand\";v=\"99\""
|
|
},
|
|
{
|
|
"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/130.0.0.0 Safari/537.36 Edg/130.0.0.0"
|
|
},
|
|
{
|
|
"name": "content-type",
|
|
"value": "application/x-www-form-urlencoded"
|
|
},
|
|
{
|
|
"name": "origin",
|
|
"value": "https://skyeysnow.com"
|
|
}
|
|
],
|
|
"cookies": [],
|
|
"data": "formhash={{formhash}}&referer={{urlencode(referer, for_qs=True)}}&skfaid={{hash(username, \"sha256\") | upper}}&loginfield=username&username={{urlencode(username, for_qs=True)}}&password={{urlencode(password, for_qs=True)}}&loginsubmit=true"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": []
|
|
}
|
|
},
|
|
{
|
|
"comment": "判断块结束",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "{% endif %}",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": ""
|
|
},
|
|
"rule": {
|
|
"success_asserts": []
|
|
}
|
|
},
|
|
{
|
|
"comment": "",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://skyeysnow.com/home.php?mod=space",
|
|
"headers": [
|
|
{
|
|
"name": "accept",
|
|
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
|
|
},
|
|
{
|
|
"name": "accept-language",
|
|
"value": "zh-CN,zh;q=0.9,zh-TW;q=0.8,zh-HK;q=0.7,en;q=0.6,en-US;q=0.5,ja;q=0.4"
|
|
},
|
|
{
|
|
"name": "cache-control",
|
|
"value": "max-age=0"
|
|
},
|
|
{
|
|
"name": "dnt",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"value": "u=0, i"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://skyeysnow.com/"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\"Chromium\";v=\"130\", \"Microsoft Edge\";v=\"130\", \"Not?A_Brand\";v=\"99\""
|
|
},
|
|
{
|
|
"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/130.0.0.0 Safari/537.36 Edg/130.0.0.0"
|
|
}
|
|
],
|
|
"cookies": []
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "个人资料",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": []
|
|
}
|
|
},
|
|
{
|
|
"comment": "",
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://skyeysnow.com/home.php?mod=spacecp&ac=credit&showcredit=1",
|
|
"headers": [
|
|
{
|
|
"name": "accept",
|
|
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
|
|
},
|
|
{
|
|
"name": "accept-language",
|
|
"value": "zh-CN,zh;q=0.9,zh-TW;q=0.8,zh-HK;q=0.7,en;q=0.6,en-US;q=0.5,ja;q=0.4"
|
|
},
|
|
{
|
|
"name": "cache-control",
|
|
"value": "max-age=0"
|
|
},
|
|
{
|
|
"name": "dnt",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "priority",
|
|
"value": "u=0, i"
|
|
},
|
|
{
|
|
"name": "referer",
|
|
"value": "https://skyeysnow.com/"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\"Chromium\";v=\"130\", \"Microsoft Edge\";v=\"130\", \"Not?A_Brand\";v=\"99\""
|
|
},
|
|
{
|
|
"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/130.0.0.0 Safari/537.36 Edg/130.0.0.0"
|
|
}
|
|
],
|
|
"cookies": []
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "<em>积分: </em>",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "JF",
|
|
"re": "<em>积分: </em>(\\d+)",
|
|
"from": "content"
|
|
},
|
|
{
|
|
"name": "JB",
|
|
"re": "<em> 金币: </em>(\\d+)",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"comment": "Copy_Unicode转换",
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "api://util/unicode",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": "content=积分{{JF}},金币{{JB}}"
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
},
|
|
{
|
|
"re": "\"状态\": \"200\"",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "__log__",
|
|
"re": "\"转换后\": \"(.*)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |