Add HAR: 帕斯内网穿透 (#838)

Co-authored-by: loveyanglove <loveyanglove@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2025-01-14 22:10:06 +08:00 committed by GitHub
parent 63a782f245
commit bb69183d5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 232 additions and 0 deletions

View File

@ -3840,6 +3840,18 @@
"date": "2025-01-14 10:33:48",
"version": "20250114",
"commenturl": "https://github.com/qd-today/templates/issues/833"
},
"帕斯内网穿透": {
"name": "帕斯内网穿透",
"author": "loveyanglove",
"url": "https://raw.githubusercontent.com/qd-today/templates/master/帕斯内网穿透.har",
"update": false,
"comments": "手机号+密码登录签到<br>日志显示<br>https://www.passnat.com/",
"filename": "帕斯内网穿透.har",
"content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIlBPU1QiLCAidXJsIjogImh0dHBzOi8vYXBpLnBhc3NuYXQuY29tL3B1YmxpYy9sb2dpbiIsICJoZWFkZXJzIjogW3sibmFtZSI6ICJIb3N0IiwgInZhbHVlIjogImFwaS5wYXNzbmF0LmNvbSJ9LCB7Im5hbWUiOiAiQ29ubmVjdGlvbiIsICJ2YWx1ZSI6ICJrZWVwLWFsaXZlIn0sIHsibmFtZSI6ICJzZWMtY2gtdWEiLCAidmFsdWUiOiAiXCJDaHJvbWl1bVwiO3Y9XCIxMjJcIiwgXCJOb3QoQTpCcmFuZFwiO3Y9XCIyNFwiLCBcIkdvb2dsZSBDaHJvbWVcIjt2PVwiMTIyXCIifSwgeyJuYW1lIjogIkFjY2VwdCIsICJ2YWx1ZSI6ICJhcHBsaWNhdGlvbi9qc29uLCB0ZXh0L3BsYWluLCAqLyoifSwgeyJuYW1lIjogIkNvbnRlbnQtVHlwZSIsICJ2YWx1ZSI6ICJhcHBsaWNhdGlvbi9qc29uIn0sIHsibmFtZSI6ICJzZWMtY2gtdWEtbW9iaWxlIiwgInZhbHVlIjogIj8wIn0sIHsibmFtZSI6ICJBdXRob3JpemF0aW9uIiwgInZhb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hdGEiOiAiaHRtbF91bmVzY2FwZT1mYWxzZSZjb250ZW50PeetvuWIsOeKtuaAge+8mnt7bXNnfX3jgIIifSwgInJ1bGUiOiB7InN1Y2Nlc3NfYXNzZXJ0cyI6IFt7InJlIjogIjIwMCIsICJmcm9tIjogInN0YXR1cyJ9LCB7InJlIjogIlwi54q25oCBXCI6IFwiMjAwXCIiLCAiZnJvbSI6ICJjb250ZW50In1dLCAiZmFpbGVkX2Fzc2VydHMiOiBbXSwgImV4dHJhY3RfdmFyaWFibGVzIjogW3sibmFtZSI6ICJfX2xvZ19fIiwgInJlIjogIlwi6L2s5o2i5ZCOXCI6IFwiKC4qKVwiIiwgImZyb20iOiAiY29udGVudCJ9XX19XQ==",
"date": "2025-01-14 22:07:26",
"version": "20250114",
"commenturl": "https://github.com/qd-today/templates/issues/837"
}
}
}

220
帕斯内网穿透.har Normal file
View File

@ -0,0 +1,220 @@
[
{
"request": {
"method": "POST",
"url": "https://api.passnat.com/public/login",
"headers": [
{
"name": "Host",
"value": "api.passnat.com"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "sec-ch-ua",
"value": "\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""
},
{
"name": "Accept",
"value": "application/json, text/plain, */*"
},
{
"name": "Content-Type",
"value": "application/json"
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "Authorization",
"value": "Bearer"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36"
},
{
"name": "sec-ch-ua-platform",
"value": "\"Windows\""
},
{
"name": "Origin",
"value": "https://dashboard.passnat.com"
},
{
"name": "Sec-Fetch-Site",
"value": "same-site"
},
{
"name": "Sec-Fetch-Mode",
"value": "cors"
},
{
"name": "Sec-Fetch-Dest",
"value": "empty"
},
{
"name": "Referer",
"value": "https://dashboard.passnat.com/login"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.9"
}
],
"cookies": [],
"data": "{\"password\":\"{{password}}\",\"phone_number\":\"{{phone}}\",\"platform\":1}",
"mimeType": "application/json"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [
{
"re": "请求参数错误",
"from": "content"
}
],
"extract_variables": [
{
"name": "token",
"re": "\"auth_token\":\"(.+)\"",
"from": "content"
}
]
}
},
{
"request": {
"method": "GET",
"url": "https://api.passnat.com/user/checkIn",
"headers": [
{
"name": "Host",
"value": "api.passnat.com"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "sec-ch-ua",
"value": "\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""
},
{
"name": "Accept",
"value": "application/json, text/plain, */*"
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "Authorization",
"value": "Bearer {{token}}"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.6261.95 Safari/537.36"
},
{
"name": "sec-ch-ua-platform",
"value": "\"Windows\""
},
{
"name": "Origin",
"value": "https://dashboard.passnat.com"
},
{
"name": "Sec-Fetch-Site",
"value": "same-site"
},
{
"name": "Sec-Fetch-Mode",
"value": "cors"
},
{
"name": "Sec-Fetch-Dest",
"value": "empty"
},
{
"name": "Referer",
"value": "https://dashboard.passnat.com/dashboard"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.9"
}
],
"cookies": [],
"data": "",
"mimeType": ""
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [
{
"re": "token解析错误",
"from": "content"
}
],
"extract_variables": [
{
"name": "msg",
"re": "\"msg\":\"(.+)\",",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "html_unescape=false&content=签到状态:{{msg}}。"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]