Skip to content

Commit

Permalink
Add HAR: 二次元下午茶 (#482)
Browse files Browse the repository at this point in the history
Co-authored-by: a76yyyy <a76yyyy@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and a76yyyy authored Nov 21, 2023
1 parent e1886d5 commit 28c3df1
Show file tree
Hide file tree
Showing 2 changed files with 311 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 @@ -2904,6 +2904,18 @@
"date": "2023-11-20 16:11:43",
"version": "20231120",
"commenturl": "https://github.com/qd-today/templates/issues/480"
},
"二次元下午茶": {
"name": "二次元下午茶",
"author": "李大爷",
"url": "https://raw.githubusercontent.com/qd-today/templates/master/二次元下午茶.har",
"update": false,
"comments": "账号密码<br>https://teaeee.com/",
"filename": "二次元下午茶.har",
"content": "W3sicmVxdWVzdCI6IHsibWV0aG9kIjogIlBPU1QiLCAidXJsIjogImh0dHBzOi8vdGVhZWVlLmNvbS93cC1hZG1pbi9hZG1pbi1hamF4LnBocCIsICJoZWFkZXJzIjogW3sibmFtZSI6ICJIb3N0IiwgInZhbHVlIjogInRlYWVlZS5jb20ifSwgeyJuYW1lIjogIkNvbm5lY3Rpb24iLCAidmFsdWUiOiAia2VlcC1hbGl2ZSJ9LCB7Im5hbWUiOiAic2VjLWNoLXVhIiwgInZhbHVlIjogIlwiQ2hyb21pdW1cIjt2PVwiMTE5XCIsIFwiTm90P0FfQnJhbmRcIjt2PVwiMjRcIiJ9LCB7Im5hbWUiOiAiQWNjZXB0IiwgInZhbHVlIjogImFwcGxpY2F0aW9uL2pzb24sIHRleHQvamF2YXNjcmlwdCwgKi8qOyBxPTAuMDEifSwgeyJuYW1lIjogIkNvbnRlbnQtVHlwZSIsICJ2YWx1ZSI6ICJhcHBsaWNhdGlvbi94LXd3dy1mb3JtLXVybGVuY29kZWQ7IGNoYXJzZXQ9VVRGLTgifSwgeyJuYW1lIjogIlgtUmVxdWVzdGVkLVdpdGgiLCAidmFsdWUiOiA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W10sICJleHRyYWN0X3ZhcmlhYmxlcyI6IFt7Im5hbWUiOiAiX19sb2dfXyIsICJyZSI6ICJcIui9rOaNouWQjlwiOiBcIiguKilcIiIsICJmcm9tIjogImNvbnRlbnQifV19fV0=",
"date": "2023-11-21 08:18:41",
"version": "20231121",
"commenturl": "https://github.com/qd-today/templates/issues/478"
}
}
}
299 changes: 299 additions & 0 deletions 二次元下午茶.har
Original file line number Diff line number Diff line change
@@ -0,0 +1,299 @@
[
{
"request": {
"method": "POST",
"url": "https://teaeee.com/wp-admin/admin-ajax.php",
"headers": [
{
"name": "Host",
"value": "teaeee.com"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "sec-ch-ua",
"value": "\"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""
},
{
"name": "Accept",
"value": "application/json, text/javascript, */*; q=0.01"
},
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded; charset=UTF-8"
},
{
"name": "X-Requested-With",
"value": "XMLHttpRequest"
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.9 Safari/537.36"
},
{
"name": "sec-ch-ua-platform",
"value": "\"Windows\""
},
{
"name": "Origin",
"value": "https://teaeee.com"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "Sec-Fetch-Mode",
"value": "cors"
},
{
"name": "Sec-Fetch-Dest",
"value": "empty"
},
{
"name": "Referer",
"value": "https://teaeee.com/"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.9"
}
],
"cookies": [],
"data": "action=user_login&username={{username|urlencode}}&password={{password|urlencode}}&rememberme=1",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"request": {
"method": "GET",
"url": "https://teaeee.com/user",
"headers": [
{
"name": "Host",
"value": "teaeee.com"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Cache-Control",
"value": "max-age=0"
},
{
"name": "sec-ch-ua",
"value": "\"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "sec-ch-ua-platform",
"value": "\"Windows\""
},
{
"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/119.0.6045.9 Safari/537.36"
},
{
"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": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "Sec-Fetch-Mode",
"value": "navigate"
},
{
"name": "Sec-Fetch-User",
"value": "?1"
},
{
"name": "Sec-Fetch-Dest",
"value": "document"
},
{
"name": "Referer",
"value": "https://teaeee.com/user"
},
{
"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": [],
"extract_variables": [
{
"name": "nonce",
"re": "disabled data-nonce=\"(.+)\" data-toggle=\"tooltip",
"from": "content"
}
]
}
},
{
"request": {
"method": "POST",
"url": "https://teaeee.com/wp-admin/admin-ajax.php",
"headers": [
{
"name": "Host",
"value": "teaeee.com"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "sec-ch-ua",
"value": "\"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""
},
{
"name": "Accept",
"value": "application/json, text/javascript, */*; q=0.01"
},
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded; charset=UTF-8"
},
{
"name": "X-Requested-With",
"value": "XMLHttpRequest"
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.9 Safari/537.36"
},
{
"name": "sec-ch-ua-platform",
"value": "\"Windows\""
},
{
"name": "Origin",
"value": "https://teaeee.com"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "Sec-Fetch-Mode",
"value": "cors"
},
{
"name": "Sec-Fetch-Dest",
"value": "empty"
},
{
"name": "Referer",
"value": "https://teaeee.com/user"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.9"
}
],
"cookies": [],
"data": "action=user_qiandao&nonce={{nonce|urlencode}}",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"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"
}
]
}
}
]

0 comments on commit 28c3df1

Please sign in to comment.