mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-05 22:31:32 +00:00
212 lines
6.5 KiB
JSON
212 lines
6.5 KiB
JSON
[
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://www.wifi.com.cn/forum.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.9"
|
|
},
|
|
{
|
|
"name": "Accept-Encoding",
|
|
"value": "gzip, deflate, br"
|
|
},
|
|
{
|
|
"name": "Accept-Language",
|
|
"value": "zh-CN,zh;q=0.9,zh-TW;q=0.8,en;q=0.7"
|
|
},
|
|
{
|
|
"name": "Cache-Control",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"name": "Connection",
|
|
"value": "keep-alive"
|
|
},
|
|
{
|
|
"name": "Cookie",
|
|
"value": "{{cookie}}"
|
|
},
|
|
{
|
|
"name": "DNT",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "Pragma",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"name": "Referer",
|
|
"value": "https://www.wifi.com.cn/home.php?mod=spacecp&ac=credit&showcredit=1"
|
|
},
|
|
{
|
|
"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 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"102\""
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-mobile",
|
|
"value": "?0"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-platform",
|
|
"value": "\"Windows\""
|
|
}
|
|
],
|
|
"cookies": []
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": []
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "GET",
|
|
"url": "https://www.wifi.com.cn/home.php?mod=spacecp&ac=credit&showcredit=1&inajax=1&ajaxtarget=extcreditmenu_menu",
|
|
"headers": [
|
|
{
|
|
"name": "Accept",
|
|
"value": "*/*"
|
|
},
|
|
{
|
|
"name": "Accept-Encoding",
|
|
"value": "gzip, deflate, br"
|
|
},
|
|
{
|
|
"name": "Accept-Language",
|
|
"value": "zh-CN,zh;q=0.9,zh-TW;q=0.8,en;q=0.7"
|
|
},
|
|
{
|
|
"name": "Cache-Control",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"name": "Connection",
|
|
"value": "keep-alive"
|
|
},
|
|
{
|
|
"name": "DNT",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"name": "Pragma",
|
|
"value": "no-cache"
|
|
},
|
|
{
|
|
"name": "Referer",
|
|
"value": "https://www.wifi.com.cn/forum.php"
|
|
},
|
|
{
|
|
"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 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36"
|
|
},
|
|
{
|
|
"name": "X-Requested-With",
|
|
"value": "XMLHttpRequest"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua",
|
|
"value": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"102\""
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-mobile",
|
|
"value": "?0"
|
|
},
|
|
{
|
|
"name": "sec-ch-ua-platform",
|
|
"value": "\"Windows\""
|
|
}
|
|
],
|
|
"cookies": []
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "log_value",
|
|
"re": "<span id=\"hcredit_2\">(.+?)</span>",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"request": {
|
|
"method": "POST",
|
|
"url": "api://util/unicode",
|
|
"headers": [],
|
|
"cookies": [],
|
|
"data": "content=恩山币: {{log_value}}",
|
|
"mimeType": null
|
|
},
|
|
"rule": {
|
|
"success_asserts": [
|
|
{
|
|
"re": "200",
|
|
"from": "status"
|
|
},
|
|
{
|
|
"re": "\"状态\": \"200\"",
|
|
"from": "content"
|
|
}
|
|
],
|
|
"failed_asserts": [],
|
|
"extract_variables": [
|
|
{
|
|
"name": "__log__",
|
|
"re": "\"转换后\": \"(.*)\"",
|
|
"from": "content"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |