Skip to content

Commit

Permalink
Add HAR: 边界AI
Browse files Browse the repository at this point in the history
  • Loading branch information
loveyanglove authored Oct 17, 2024
1 parent 867d660 commit 205f759
Show file tree
Hide file tree
Showing 2 changed files with 283 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 @@ -3684,6 +3684,18 @@
"date": "2024-10-11 09:15:10",
"version": "20241011",
"commenturl": "https://github.com/qd-today/templates/issues/761"
},
"边界AI": {
"name": "边界AI",
"author": "loveyanglove",
"url": "https://raw.githubusercontent.com/qd-today/templates/master/边界AI.har",
"update": false,
"comments": "账号密码签到<br>日志显示",
"filename": "边界AI.har",
"content": "W3siY29tbWVudCI6ICLotKblj7flr4bnoIHnmbvlvZUiLCAicmVxdWVzdCI6IHsibWV0aG9kIjogIlBPU1QiLCAidXJsIjogImh0dHBzOi8vYWkxZm9vLmNvbS9hcGkvdjEvdXNlci9sb2dpbiIsICJoZWFkZXJzIjogW3sibmFtZSI6ICJIb3N0IiwgInZhbHVlIjogImFpMWZvby5jb20ifSwgeyJuYW1lIjogIkNvbm5lY3Rpb24iLCAidmFsdWUiOiAia2VlcC1hbGl2ZSJ9LCB7Im5hbWUiOiAic2VjLWNoLXVhIiwgInZhbHVlIjogIlwiQ2hyb21pdW1cIjt2PVwiMTIyXCIsIFwiTm90KEE6QnJhbmRcIjt2PVwiMjRcIiwgXCJHb29nbGUgQ2hyb21lXCI7dj1cIjEyMlwiIn0sIHsibmFtZSI6ICJDb250ZW50LVR5cGUiLCAidmFsdWUiOiAiYXBwbGljYXRpb24vanNvbiJ9LCB7Im5hbWUiOiAic2VjLWNoLXVhLW1vYmlsZSIsICJ2YWx1ZSI6ICI/MCJ9LCB7Im5hbWUiOiAiVXNlci1BZ2VudCIsICJ2YWx1ZSI6ICJNb3ppbGxhLzUuMCAoV2luZG93cyBOVCAxMC4wOyBXaW42NDsgeDY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWt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o2i5ZCOXCI6IFwiKC4qKVwiIiwgImZyb20iOiAiY29udGVudCJ9XX19XQ==",
"date": "2024-10-17 13:35:20",
"version": "20241017",
"commenturl": "https://github.com/qd-today/templates/issues/774"
}
}
}
271 changes: 271 additions & 0 deletions 边界AI.har
Original file line number Diff line number Diff line change
@@ -0,0 +1,271 @@
[
{
"comment": "账号密码登录",
"request": {
"method": "POST",
"url": "https://ai1foo.com/api/v1/user/login",
"headers": [
{
"name": "Host",
"value": "ai1foo.com"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "sec-ch-ua",
"value": "\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""
},
{
"name": "Content-Type",
"value": "application/json"
},
{
"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/122.0.6261.95 Safari/537.36"
},
{
"name": "app-name",
"value": "bianjie"
},
{
"name": "sec-ch-ua-platform",
"value": "\"Windows\""
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Origin",
"value": "https://ai1foo.com"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "Sec-Fetch-Mode",
"value": "cors"
},
{
"name": "Sec-Fetch-Dest",
"value": "empty"
},
{
"name": "Referer",
"value": "https://ai1foo.com/login"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.9"
}
],
"cookies": [],
"data": "{\"user\":\"{{username}}\",\"pass\":\"{{password}}\"}",
"mimeType": "application/json"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "ok",
"from": "content"
}
],
"failed_asserts": [
{
"re": "用户不存在或密码错误",
"from": "content"
}
],
"extract_variables": [
{
"name": "yhm",
"re": "\"user\":\"(.*?)\",",
"from": "content"
},
{
"name": "token",
"re": "\"token\":\"(.*?)\",",
"from": "content"
},
{
"name": "access_token",
"re": "\"access_token\":\"(.*?)\"",
"from": "content"
},
{
"name": "appid",
"re": "\"appid\":(\\d+)",
"from": "content"
},
{
"name": "id",
"re": "\"id\":(\\d+)",
"from": "content"
}
]
}
},
{
"comment": "签到",
"request": {
"method": "GET",
"url": "https://ai1foo.com/api/v1/user/signIn",
"headers": [
{
"name": "Host",
"value": "ai1foo.com"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "sec-ch-ua",
"value": "\"Chromium\";v=\"122\", \"Not(A:Brand\";v=\"24\", \"Google Chrome\";v=\"122\""
},
{
"name": "sec-ch-ua-mobile",
"value": "?0"
},
{
"name": "access-token",
"value": "{{access_token}}"
},
{
"name": "app-name",
"value": "bianjie"
},
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded"
},
{
"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": "uid",
"value": "{{id}}"
},
{
"name": "app",
"value": "{{appid}}"
},
{
"name": "token",
"value": "{{token}}"
},
{
"name": "sec-ch-ua-platform",
"value": "\"Windows\""
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Sec-Fetch-Site",
"value": "same-origin"
},
{
"name": "Sec-Fetch-Mode",
"value": "cors"
},
{
"name": "Sec-Fetch-Dest",
"value": "empty"
},
{
"name": "Referer",
"value": "https://ai1foo.com/"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.9"
}
],
"cookies": [],
"data": "",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "今天已经签到过了",
"from": "content"
}
],
"failed_asserts": [
{
"re": "请登录账户后重新尝试!",
"from": "content"
}
],
"extract_variables": [
{
"name": "msg",
"re": "\"msg\":\"(.*?)\",",
"from": "content"
},
{
"name": "lxqd",
"re": ",\"continue_days\":(\\d+)",
"from": "content"
}
]
}
},
{
"comment": "Unicode转换",
"request": {
"method": "POST",
"url": "api://util/unicode",
"headers": [],
"cookies": [],
"data": "html_unescape=false&content=用户名:{{yhm}},签到状态:{{msg}},已连续签到{{lxqd}}天。"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]

0 comments on commit 205f759

Please sign in to comment.