添加 联想智选app.har

This commit is contained in:
unknown 2020-08-03 07:10:01 +08:00
parent 48947913ff
commit 89998b547d
2 changed files with 610 additions and 1 deletions

View File

@ -54,4 +54,5 @@ CSDN-专业IT技术论坛|[github-h](https://github.com/github-h)|[CSDN-专业IT
Office-E5白嫖API调用|[gxitm](https://github.com/gxitm)|[Office-E5白嫖API调用.har](https://raw.githubusercontent.com/qiandao-today/templates/master/Office-E5%E7%99%BD%E5%AB%96API%E8%B0%83%E7%94%A8.har)|2020-07-03 21:45:38|refresh_token+client_id+secret<br>根据相关教程获取到三个参数并要保证被调用的10个API有权限<br>urlhttps://developer.microsoft.com/zh-CN/microsoft-365/dev-program
杉果游戏|[github-h](https://github.com/github-h)|[杉果游戏.har](https://raw.githubusercontent.com/qiandao-today/templates/master/%e6%9d%89%e6%9e%9c%e6%b8%b8%e6%88%8f.har)|2020-07-04 15:00:21|用户名+密码<br>用户名为邮箱<br>https://ww.sonkwo.com/
天天爱阅读签到提醒|[github-h](https://github.com/github-h)|[天天爱阅读签到提醒.har](https://raw.githubusercontent.com/qiandao-today/templates/master/%e5%a4%a9%e5%a4%a9%e7%88%b1%e9%98%85%e8%af%bb%e7%ad%be%e5%88%b0%e6%8f%90%e9%86%92.har)|2020-07-27 15:00:21|cookie+SCKEY(可选)<br>请导入后认真阅读模板说明<br>https://wap.cmread.com/
夏跡natsunokiseki|[github-h](https://github.com/github-h)|[夏跡natsunokiseki.har](https://raw.githubusercontent.com/qiandao-today/templates/master/%e5%a4%8f%e8%b7%a1natsunokiseki.har)|2020-07-27 15:00:21|用户名+密码<br>每日登录<br>https://bbs.natsunokiseki.org/
夏跡natsunokiseki|[github-h](https://github.com/github-h)|[夏跡natsunokiseki.har](https://raw.githubusercontent.com/qiandao-today/templates/master/%e5%a4%8f%e8%b7%a1natsunokiseki.har)|2020-07-27 15:00:21|用户名+密码<br>每日登录<br>https://bbs.natsunokiseki.org/
夏跡natsunokiseki|[aragonsnow](https://github.com/aragonsnow)|[联想智选app.har](https://raw.githubusercontent.com/qiandao-today/templates/master/%E8%81%94%E6%83%B3%E6%99%BA%E9%80%89app.har)|2020-08-03 15:00:21|需要在京东智选APP 账号密码登录抓包 <br> account 和 password 是app登录的账号密码, loginType,邮箱是email,手机号是msisdn <br> IMEI 和 baseinfo 在 抓包的 https://api.club.lenovo.cn/users/getSessionID 的header里 <br> deviceId 在 抓包的 https://uss.lenovomm.com/authen/1.2/tgt/user/get 的post里

608
联想智选app.har Normal file
View File

@ -0,0 +1,608 @@
[
{
"comment": "作者asdaragon,需要在京东智选APP 账号密码登录抓包",
"request": {
"method": "GET",
"url": "http://localhost/util/regex?p=&data=",
"headers": [],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"OK\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "变量说明account 和 password 是app登录的账号密码, loginType,邮箱是email,手机号是msisdn",
"request": {
"method": "GET",
"url": "http://localhost/util/regex?p=&data=",
"headers": [],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"OK\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "变量说明IMEI 和 baseinfo 在 抓包的 https://api.club.lenovo.cn/users/getSessionID 的header里",
"request": {
"method": "GET",
"url": "http://localhost/util/regex?p=&data=",
"headers": [],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"OK\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "变量说明deviceId 在  抓包的 https://uss.lenovomm.com/authen/1.2/tgt/user/get 的post里",
"request": {
"method": "GET",
"url": "http://localhost/util/regex?p=&data=",
"headers": [],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"OK\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "智选账号密码登录1",
"request": {
"method": "POST",
"url": "https://uss.lenovomm.com/authen/1.2/tgt/user/get?{{logintype|urlencode}}={{account|urlencode}}",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded"
},
{
"name": "Host",
"value": "uss.lenovomm.com"
},
{
"name": "User-Agent",
"value": "LenovoClub/283 CFNetwork/1126 Darwin/19.5.0"
},
{
"name": "Accept-Language",
"value": "zh-cn"
}
],
"cookies": [],
"data": "deviceid={{deviceid|urlencode}}&password={{password|urlencode}}&t=&c=&getcode=y&source=ios%3Alenovo%3Aclub%3A4.1.0&deviceidtype=sn&devicecategory=unknown&devicevendor=apple&devicefamily=unknown&devicemodel=iPhone&osversion=(null)&imsi=&lang=zh-CN",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"re": "<Value>(.+?)<",
"from": "content",
"name": "lpsutgt"
}
]
}
},
{
"comment": "智选账号密码登录2",
"request": {
"method": "GET",
"url": "https://uss.lenovomm.com/authen/1.2/st/get?lpsutgt={{lpsutgt|urlencode}}&source=ios%3Alenovo%3Aclub%3A4.1.0&lang=zh-CN&realm=club.lenovo.com.cn",
"headers": [
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Accept-Language",
"value": "zh-cn"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "User-Agent",
"value": "LenovoClub/283 CFNetwork/1126 Darwin/19.5.0"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"re": "<Value>(.+?)<",
"from": "content",
"name": "lenovo_sso"
}
]
}
},
{
"comment": "智选账号密码登录3",
"request": {
"method": "GET",
"url": "https://api.club.lenovo.cn/users/getSessionID",
"headers": [
{
"name": "LenovoClub/283 (iPhone11,8; iOS 13.5.1; Scale/2.000000)",
"value": "user_agent"
},
{
"name": "baseinfo",
"value": "{{baseinfo}}"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "User-Agent",
"value": "LenovoClub/4.1.0 (iPhone; iOS 13.5.1; Scale/2.00)"
},
{
"name": "token",
"value": ""
},
{
"name": "unique",
"value": "{{imei}}"
},
{
"name": "imei",
"value": "{{imei}}"
},
{
"name": "Authorization",
"value": "Lenovosso {{lenovo_sso}}"
},
{
"name": "Accept",
"value": "application/json"
},
{
"name": "Accept-Language",
"value": "zh-Hans-CN;q=1"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"re": "\"lenovoid\":(.+?),",
"from": "content",
"name": "lenovoid"
},
{
"re": "\"token\":\"(.+?)\"",
"from": "content",
"name": "token"
},
{
"re": "\"sessionid\":\"(.+?)\"",
"from": "content",
"name": "sessionid"
}
]
}
},
{
"comment": "联想智选签到",
"request": {
"method": "POST",
"url": "https://api.club.lenovo.cn/common/signin/add",
"headers": [
{
"name": "User-Agent",
"value": "LenovoClub/4.1.0 (iPhone; iOS 13.5.1; Scale/2.00)"
},
{
"name": "Accept",
"value": "application/json"
},
{
"name": "Accept-Language",
"value": "zh-Hans-CN;q=1"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded"
},
{
"name": "token",
"value": "{{token}}"
},
{
"name": "unique",
"value": "{{imei}}"
},
{
"name": "imei",
"value": "{{imei}}"
},
{
"name": "Authorization",
"value": "Lenovo {{sessionid}}"
},
{
"name": "baseinfo",
"value": "{{baseinfo}}"
},
{
"name": "LenovoClub/283 (iPhone11,8; iOS 13.5.1; Scale/2.000000)",
"value": "user_agent"
}
],
"cookies": [],
"data": "imei={{imei|urlencode}}&uid={{lenovoid|urlencode}}",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": [
{
"re": "\"error\":\"(.+?)\"",
"from": "content",
"name": "sign_error"
},
{
"re": "\"add_yb_tip\":\"(.+?)\"",
"from": "content",
"name": "zx_log"
}
]
}
},
{
"comment": "参加连续3天签到任务",
"request": {
"method": "POST",
"url": "https://api.club.lenovo.cn/common/signin/challenge_task/join",
"headers": [
{
"name": "Accept",
"value": "application/json"
},
{
"name": "Accept-Language",
"value": "zh-Hans-CN;q=1"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded"
},
{
"name": "User-Agent",
"value": "LenovoClub/4.1.0 (iPhone; iOS 13.5.1; Scale/2.00)"
},
{
"name": "token",
"value": "{{token}}"
},
{
"name": "unique",
"value": "{{imei}}"
},
{
"name": "imei",
"value": "{{imei}}"
},
{
"name": "Authorization",
"value": "Lenovo {{sessionid}}"
},
{
"name": "baseinfo",
"value": "{{baseinfo}}"
},
{
"name": "LenovoClub/283 (iPhone11,8; iOS 13.5.1; Scale/2.000000)",
"value": "user_agent"
}
],
"cookies": [],
"data": "task_id=7",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": [
{
"re": "\"succ\":(.+?),",
"from": "content",
"name": "task_suc"
},
{
"re": "\"error\":\"(.+?)\"",
"from": "content",
"name": "task_error"
}
]
}
},
{
"comment": "获取任务信息",
"request": {
"method": "GET",
"url": "https://api.club.lenovo.cn/common/signin/challenge_task/task_list",
"headers": [
{
"name": "Accept",
"value": "application/json"
},
{
"name": "Accept-Language",
"value": "zh-Hans-CN;q=1"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded"
},
{
"name": "User-Agent",
"value": "LenovoClub/4.1.0 (iPhone; iOS 13.5.1; Scale/2.00)"
},
{
"name": "token",
"value": "{{token}}"
},
{
"name": "unique",
"value": "{{imei}}"
},
{
"name": "imei",
"value": "{{imei}}"
},
{
"name": "Authorization",
"value": "Lenovo {{sessionid}}"
},
{
"name": "baseinfo",
"value": "{{baseinfo}}"
},
{
"name": "LenovoClub/283 (iPhone11,8; iOS 13.5.1; Scale/2.000000)",
"value": "user_agent"
}
],
"cookies": [],
"data": "task_id=7",
"mimeType": "application/x-www-form-urlencoded"
},
"rule": {
"success_asserts": [],
"failed_asserts": [],
"extract_variables": [
{
"re": "\"total_signin_count\":(.+?),",
"from": "content",
"name": "total_signin_count"
},
{
"re": "\"current_signin_count\":(.+?),",
"from": "content",
"name": "current_signin_count"
}
]
}
},
{
"comment": "获取积分",
"request": {
"method": "GET",
"url": "https://api.club.lenovo.cn/common/signin/signin_cal?end_day=20200801&start_day=20200801",
"headers": [
{
"name": "baseinfo",
"value": "{{baseinfo}}"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "User-Agent",
"value": "LenovoClub/4.1.0 (iPhone; iOS 13.5.1; Scale/2.00)"
},
{
"name": "token",
"value": "{{token}}"
},
{
"name": "unique",
"value": "{{imei}}"
},
{
"name": "imei",
"value": "{{imei}}"
},
{
"name": "Authorization",
"value": "Lenovo {{sessionid}}"
},
{
"name": "LenovoClub/283 (iPhone11,8; iOS 13.5.1; Scale/2.000000)",
"value": "user_agent"
},
{
"name": "Accept",
"value": "application/json"
},
{
"name": "Accept-Language",
"value": "zh-Hans-CN;q=1"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"re": "\"user_yanbao_score\":\"(.+?)\"",
"from": "content",
"name": "user_yanbao_score"
},
{
"re": "\"continue_count\":(.+?),",
"from": "content",
"name": "continue_count"
}
]
}
},
{
"comment": "生成日志",
"request": {
"method": "GET",
"url": "http://localhost/util/regex?p=.*&data=%5B%E8%81%94%E6%83%B3%E7%AD%BE%E5%88%B0%5D%E7%94%A8%E6%88%B7id%EF%BC%9A{{lenovoid|urlencode}}%EF%BC%8C%E6%9C%AC%E6%AC%A1%E7%AD%BE%E5%88%B0%E8%8E%B7%E5%BE%97%EF%BC%9A{{zx_log|urlencode}}{{sign_error|urlencode}}%EF%BC%8C%E5%8F%82%E5%8A%A0%E4%BB%BB%E5%8A%A1%EF%BC%9A{{task_suc|urlencode}}{{task_error|urlencode}}%EF%BC%8C%E8%BF%9E%E7%BB%AD%E7%AD%BE%E5%88%B0%E5%A4%A9%E6%95%B0%EF%BC%9A{{continue_count|urlencode}}%EF%BC%8C%E5%BB%B6%E4%BF%9D%E5%A4%A9%E6%95%B0%EF%BC%9A{{user_yanbao_score|urlencode}}%EF%BC%8C%E4%BB%BB%E5%8A%A1%E5%AE%8C%E6%88%90%E5%A4%A9%E6%95%B0%EF%BC%9A{{current_signin_count|urlencode}}%20%2F%20{{total_signin_count|urlencode}}",
"headers": [],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"OK\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"re": "1\": \"(.+?)\"",
"from": "content",
"name": "__log__"
}
]
}
}
]