mirror of
https://github.com/qiandao-today/templates.git
synced 2025-04-04 19:59:20 +00:00
Add HAR: mossfrp (#415)
Co-authored-by: sunnywangzi <sunnywangzi@users.noreply.github.com>
This commit is contained in:
parent
6891ec619c
commit
4590bff3ce
237
mossfrp.har
Normal file
237
mossfrp.har
Normal file
|
@ -0,0 +1,237 @@
|
|||
[
|
||||
{
|
||||
"comment": "登入-获取token",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://https.ghs.wiki:7002/API?void=post",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"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": "Access-Control-Allow-Origin",
|
||||
"value": "*"
|
||||
},
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"name": "Origin",
|
||||
"value": "https://www.mossfrp.top"
|
||||
},
|
||||
{
|
||||
"name": "Referer",
|
||||
"value": "https://https.ghs.wiki/"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Dest",
|
||||
"value": "empty"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Mode",
|
||||
"value": "cors"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Site",
|
||||
"value": "cross-site"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.203"
|
||||
},
|
||||
{
|
||||
"name": "access-control-max-age",
|
||||
"value": "864000"
|
||||
},
|
||||
{
|
||||
"name": "dnt",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua",
|
||||
"value": "\"Not/A)Brand\";v=\"99\", \"Microsoft Edge\";v=\"115\", \"Chromium\";v=\"115\""
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua-mobile",
|
||||
"value": "?0"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua-platform",
|
||||
"value": "\"Windows\""
|
||||
},
|
||||
{
|
||||
"name": "sec-gpc",
|
||||
"value": "1"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "{\"type\":\"login\",\"loginType\":\"email\",\"account\":\"{{username}}\",\"password\":\"{{password}}\",\"encryption\":\"true\"}",
|
||||
"mimeType": "application/json"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [
|
||||
{
|
||||
"re": "404",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "token",
|
||||
"re": "\"token\":\"(.+?)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "签到",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "https://https.ghs.wiki:7002/API?void=post",
|
||||
"headers": [
|
||||
{
|
||||
"name": "Accept",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"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": "Access-Control-Allow-Origin",
|
||||
"value": "*"
|
||||
},
|
||||
{
|
||||
"name": "Connection",
|
||||
"value": "keep-alive"
|
||||
},
|
||||
{
|
||||
"name": "Content-Type",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"name": "Origin",
|
||||
"value": "https://www.mossfrp.top"
|
||||
},
|
||||
{
|
||||
"name": "Referer",
|
||||
"value": "https://https.ghs.wiki/"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Dest",
|
||||
"value": "empty"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Mode",
|
||||
"value": "cors"
|
||||
},
|
||||
{
|
||||
"name": "Sec-Fetch-Site",
|
||||
"value": "cross-site"
|
||||
},
|
||||
{
|
||||
"name": "User-Agent",
|
||||
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 Edg/115.0.1901.203"
|
||||
},
|
||||
{
|
||||
"name": "access-control-max-age",
|
||||
"value": "864000"
|
||||
},
|
||||
{
|
||||
"name": "dnt",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua",
|
||||
"value": "\"Not/A)Brand\";v=\"99\", \"Microsoft Edge\";v=\"115\", \"Chromium\";v=\"115\""
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua-mobile",
|
||||
"value": "?0"
|
||||
},
|
||||
{
|
||||
"name": "sec-ch-ua-platform",
|
||||
"value": "\"Windows\""
|
||||
},
|
||||
{
|
||||
"name": "sec-gpc",
|
||||
"value": "1"
|
||||
}
|
||||
],
|
||||
"cookies": [],
|
||||
"data": "{\"type\":\"signIn\",\"token\":\"{{token}}\"}",
|
||||
"mimeType": "application/json"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "signInMessage",
|
||||
"re": "\"signInMessage\":\"(.+?)\",",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"comment": "Unicode转换",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"url": "api://util/unicode",
|
||||
"headers": [],
|
||||
"cookies": [],
|
||||
"data": "content={{signInMessage}}"
|
||||
},
|
||||
"rule": {
|
||||
"success_asserts": [
|
||||
{
|
||||
"re": "200",
|
||||
"from": "status"
|
||||
},
|
||||
{
|
||||
"re": "\"状态\": \"200\"",
|
||||
"from": "content"
|
||||
}
|
||||
],
|
||||
"failed_asserts": [],
|
||||
"extract_variables": [
|
||||
{
|
||||
"name": "__log__",
|
||||
"re": "\"转换后\": \"(.*)\"",
|
||||
"from": "content"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
|
@ -2724,6 +2724,18 @@
|
|||
"date": "2023-08-31 13:11:45",
|
||||
"version": "20230831",
|
||||
"commenturl": "https://github.com/qd-today/templates/issues/421"
|
||||
},
|
||||
"mossfrp": {
|
||||
"name": "mossfrp",
|
||||
"author": "sunnywangzi",
|
||||
"url": "https://raw.githubusercontent.com/qd-today/templates/master/mossfrp.har",
|
||||
"update": false,
|
||||
"comments": "username:邮箱/用户名<br>password:加密后的密码 (抓登录时post传的password的值)<br>https://www.mossfrp.top",
|
||||
"filename": "mossfrp.har",
|
||||
"content": "W3siY29tbWVudCI6ICLnmbvlhaUt6I635Y+WdG9rZW4iLCAicmVxdWVzdCI6IHsibWV0aG9kIjogIlBPU1QiLCAidXJsIjogImh0dHBzOi8vaHR0cHMuZ2hzLndpa2k6NzAwMi9BUEk/dm9pZD1wb3N0IiwgImhlYWRlcnMiOiBbeyJuYW1lIjogIkFjY2VwdCIsICJ2YWx1ZSI6ICJhcHBsaWNhdGlvbi9qc29uIn0sIHsibmFtZSI6ICJBY2NlcHQtRW5jb2RpbmciLCAidmFsdWUiOiAiZ3ppcCwgZGVmbGF0ZSwgYnIifSwgeyJuYW1lIjogIkFjY2VwdC1MYW5ndWFnZSIsICJ2YWx1ZSI6ICJ6aC1DTix6aDtxPTAuOSxlbjtxPTAuOCxlbi1HQjtxPTAuNyxlbi1VUztxPTAuNiJ9LCB7Im5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023-09-01 08:40:39",
|
||||
"version": "20230901",
|
||||
"commenturl": "https://github.com/qd-today/templates/issues/414"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user