Skip to content

Commit

Permalink
Add HAR: 真白萌 (#387)
Browse files Browse the repository at this point in the history
Co-authored-by: chen8945 <[email protected]>
  • Loading branch information
github-actions[bot] and chen8945 authored Jun 28, 2023
1 parent ad08ff5 commit 9f75800
Show file tree
Hide file tree
Showing 2 changed files with 334 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tpls_history.json
Original file line number Diff line number Diff line change
Expand Up @@ -2616,6 +2616,18 @@
"date": "2023-06-27 18:39:46",
"version": "20230627",
"commenturl": "https://github.com/qd-today/templates/issues/378"
},
"真白萌": {
"name": "真白萌",
"author": "chen8945",
"url": "https://raw.githubusercontent.com/qd-today/templates/master/真白萌.har",
"update": false,
"comments": "用户名或邮箱 + 密码<br>https://masiro.me/",
"filename": "真白萌.har",
"content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIkdFVCIsICJ1cmwiOiAiaHR0cHM6Ly9tYXNpcm8ubWUvYWRtaW4vYXV0aC9sb2dpbiIsICJoZWFkZXJzIjogW3sibmFtZSI6ICJyZWZlcmVyIiwgInZhbHVlIjogImh0dHBzOi8vbWFzaXJvLm1lL2FkbWluIn0sIHsibmFtZSI6ICJ1c2VyLWFnZW50IiwgInZhbHVlIjogIk1vemlsbGEvNS4wIChXaW5kb3dzIE5UIDEwLjA7IFdpbjY0OyB4NjQpIEFwcGxlV2ViS2l0LzUzNy4zNiAoS0hUTUwsIGxpa2UgR2Vja28pIENocm9tZS8xMDkuMC41NDEwLjAgU2FmYXJpLzUzNy4zNiJ9XSwgImNvb2tpZXMiOiBbXX0sICJydWxlIjogeyJzdWNjZXNzX2Fzc2VydHMiOiBbeyJyZSI6ICIyMDAiLCAiZnJvbSI6ICJzdGF0dXMifV0sICJmYWlsZWRfYXNzZXJ0cyI6IFtdLCAiZXh0cmFjdF92YXJpYWJsZXMiOiBbeyJuYW1lIjogInRva2VuIiwgInJlIjogIm5hbWU9XCJfdG9rZW5cIiB2YWx1ZT1cIiguKylcIiIsICJmcm9tIjogImNvbnRlb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yk8L3NwYW4+IiwgImZyb20iOiAiY29udGVudCJ9LCB7Im5hbWUiOiAibW9uZXkiLCAicmUiOiAi6YeR5biBOihcXGQrKSIsICJmcm9tIjogImNvbnRlbnQifSwgeyJuYW1lIjogImV4cCIsICJyZSI6ICLnu4/pqozlgLw6KC4rKSDnsonkuJ0iLCAiZnJvbSI6ICJjb250ZW50In1dfX0sIHsiY29tbWVudCI6ICJVbmljb2Rl6L2s5o2iIiwgInJlcXVlc3QiOiB7Im1ldGhvZCI6ICJQT1NUIiwgInVybCI6ICJhcGk6Ly91dGlsL3VuaWNvZGUiLCAiaGVhZGVycyI6IFtdLCAiY29va2llcyI6IFtdLCAiZGF0YSI6ICJjb250ZW50PeeUqOaIt+WQje+8mnt7bmFtZX1977yM6YeR5biB77yae3ttb25leX19XFxyXFxuIOetiee6p++8mnt7bHZ8Y2FwaXRhbGl6ZX1977yM57uP6aqM77yae3tleHB9fVxcclxcbiDnpYjmhL/nu5PmnpzvvJp7e21zZ319IHt7bXNnMXx1cmxlbmNvZGV9fVxcclxcbiDnrb7liLDnu5PmnpzvvJp7e3NpZ258dXJsZW5jb2RlfX0ifSwgInJ1bGUiOiB7InN1Y2Nlc3NfYXNzZXJ0cyI6IFt7InJlIjogIjIwMCIsICJmcm9tIjogInN0YXR1cyJ9LCB7InJlIjogIlwi54q25oCBXCI6IFwiMjAwXCIiLCAiZnJvbSI6ICJjb250ZW50In1dLCAiZmFpbGVkX2Fzc2VydHMiOiBbXSwgImV4dHJhY3RfdmFyaWFibGVzIjogW3sibmFtZSI6ICJfX2xvZ19fIiwgInJlIjogIlwi6L2s5o2i5ZCOXCI6IFwiKC4qKVwiIiwgImZyb20iOiAiY29udGVudCJ9XX19XQ==",
"date": "2023-06-29 00:14:00",
"version": "20230629",
"commenturl": "https://github.com/qd-today/templates/issues/386"
}
}
}
322 changes: 322 additions & 0 deletions 真白萌.har
Original file line number Diff line number Diff line change
@@ -0,0 +1,322 @@
[
{
"request": {
"method": "GET",
"url": "https://masiro.me/admin/auth/login",
"headers": [
{
"name": "referer",
"value": "https://masiro.me/admin"
},
{
"name": "user-agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "token",
"re": "name=\"_token\" value=\"(.+)\"",
"from": "content"
}
]
}
},
{
"request": {
"method": "POST",
"url": "https://masiro.me/admin/auth/login",
"headers": [
{
"name": "origin",
"value": "https://masiro.me"
},
{
"name": "referer",
"value": "https://masiro.me/admin"
},
{
"name": "user-agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
},
{
"name": "x-csrf-token",
"value": "{{token}}"
}
],
"cookies": [],
"data": "username={{username|urlencode}}&password={{password|urlencode}}&activationcode=&remember=1&_token={{token}}",
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\\\\u767b\\\\u5f55\\\\u6210\\\\u529f!",
"from": "content"
}
],
"failed_asserts": [
{
"re": "\\\\u7528\\\\u6237\\\\u540d\\\\u6216\\\\u5bc6\\\\u7801\\\\u9519\\\\u8bef\\\\u3002",
"from": "content"
},
{
"re": "\\\\u8d26\\\\u53f7\\\\u4e0d\\\\u80fd\\\\u4e3a\\\\u7a7a!",
"from": "content"
},
{
"re": "\\\\u8d26\\\\u53f7\\\\u4e0d\\\\u5b58\\\\u5728!",
"from": "content"
},
{
"re": "\\\\u5bc6\\\\u7801\\\\u4e0d\\\\u80fd\\\\u4e3a\\\\u7a7a!",
"from": "content"
}
],
"extract_variables": []
}
},
{
"request": {
"method": "GET",
"url": "https://masiro.me/admin",
"headers": [
{
"name": "referer",
"value": "https://masiro.me/admin/auth/login"
},
{
"name": "user-agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "",
"request": {
"method": "GET",
"url": "https://masiro.me/admin/wishingPondIndex",
"headers": [
{
"name": "referer",
"value": "https://masiro.me/admin"
},
{
"name": "user-agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "token",
"re": "name=\"_token\" value=\"(.+)\"",
"from": "content"
}
]
}
},
{
"request": {
"method": "POST",
"url": "https://masiro.me/admin/gachiyaWishingPond",
"headers": [
{
"name": "origin",
"value": "https://masiro.me"
},
{
"name": "referer",
"value": "https://masiro.me/admin/wishingPondIndex"
},
{
"name": "user-agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
},
{
"name": "x-csrf-token",
"value": "{{token}}"
}
],
"cookies": [],
"data": "wp_id=1&cost=NaN",
"mimeType": "application/x-www-form-urlencoded; charset=UTF-8"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "msg",
"re": "\"msg\":\"(.+?)\"",
"from": "content"
},
{
"name": "msg1",
"re": "style=\\\\\"color:.*?\\\\\">(.+?)<\\\\/div>",
"from": "content"
}
]
}
},
{
"request": {
"method": "GET",
"url": "https://masiro.me/admin/dailySignIn",
"headers": [
{
"name": "referer",
"value": "https://masiro.me/admin"
},
{
"name": "user-agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
},
{
"name": "x-csrf-token",
"value": "{{token}}"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\\\\u4eca\\\\u65e5\\\\u5df2\\\\u6253\\\\u5361",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "sign",
"re": "\"msg\":\"(.+)\"",
"from": "content"
}
]
}
},
{
"comment": "",
"request": {
"method": "GET",
"url": "https://masiro.me/admin/userCenterShow",
"headers": [
{
"name": "referer",
"value": "https://masiro.me/admin"
},
{
"name": "user-agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5410.0 Safari/537.36"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "name",
"re": "(.*)<span class=\"user-lev\"",
"from": "content"
},
{
"name": "lv",
"re": "<span class=\"user-lev\">(.+)</span>",
"from": "content"
},
{
"name": "money",
"re": "金币:(\\d+)",
"from": "content"
},
{
"name": "exp",
"re": "经验值:(.+) 粉丝",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "content=用户名:{{name}},金币:{{money}}\\r\\n 等级:{{lv|capitalize}},经验:{{exp}}\\r\\n 祈愿结果:{{msg}} {{msg1|urlencode}}\\r\\n 签到结果:{{sign|urlencode}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]

0 comments on commit 9f75800

Please sign in to comment.