mirror of
https://github.com/wjf0214/qd-templates.git
synced 2026-11-23 18:15:06 +00:00
更新 联想智选
修复baseinfo 默认值问题
This commit is contained in:
1 parent
e273eabe72
commit
400503497c
3 files changed
+5
-5
No files matched your search
@@ -108,7 +108,7 @@
|
||||
| 爱玩网络 | [爱玩网络.har](https://github.com/wjf0214/qd-templates/blob/master/爱玩网络.har) | Web | username:账号<br>password:密码<br><https://wngamebox.cn/> |
|
||||
| switch520 | [switch520.har](https://github.com/wjf0214/qd-templates/blob/master/switch520.har) | Web | username:账号<br>password:密码<br><https://switch520.com> |
|
||||
| 远景论坛(账号版) | [远景论坛(账号版).har](https://github.com/wjf0214/qd-templates/blob/master/远景论坛(账号版).har) | Web | username:账号<br>password:密码<br><https://bbs.pcbeta.com/> |
|
||||
| 联想智选 | [联想智选.har](https://github.com/wjf0214/qd-templates/blob/master/联想智选.har) | App | username:账号<br>password:密码<br>baseinfo:APP抓包 api.club.lenovo.cn 域名下的任意请求,header里面去找。可以为空,有默认值。但推荐抓取。<br>只限最新版框架使用,20220820版本后。 |
|
||||
| 联想智选 | [联想智选.har](https://github.com/wjf0214/qd-templates/blob/master/联想智选.har) | App | username:账号<br>password:密码<br>baseinfo:APP抓包 api.club.lenovo.cn 域名下的任意请求,header里面去找。可以为空,有默认值。<br>只限最新版框架使用,20220820版本后。 |
|
||||
| 小米运动 | [小米运动.har](https://github.com/wjf0214/qd-templates/blob/master/小米运动.har) | App | username:账号<br>password:密码<br>min_step:最小步数<br>max_step:最大步数<br>步数在最大最小值之间取值,不填默认为1w到2w之间随机 |
|
||||
| 阡陌居 | [阡陌居.har](https://github.com/wjf0214/qd-templates/blob/master/阡陌居.har) | Web | 登录后首页cookie<br><http://www.1000qm.vip/> |
|
||||
| 魔兽大数据 | [魔兽大数据.har](https://github.com/wjf0214/qd-templates/blob/master/魔兽大数据.har) | Web | 登录后首页cookie<br>content:世界频道发言的内容<br><http://bj.wowdata.top/> |
|
||||
|
||||
+3
-3
@@ -798,11 +798,11 @@
|
||||
"author": "wjf0214",
|
||||
"url": "https://github.com/wjf0214/qd-templates/blob/master/联想智选.har",
|
||||
"update": false,
|
||||
"comments": "username:账号<br>password:密码<br>baseinfo:APP抓包 api.club.lenovo.cn 域名下的任意请求,header里面去找。可以为空,有默认值。但推荐抓取。<br>只限最新版框架使用,20220820版本后。",
|
||||
"comments": "username:账号<br>password:密码<br>baseinfo:APP抓包 api.club.lenovo.cn 域名下的任意请求,header里面去找。可以为空,有默认值。<br>只限最新版框架使用,20220820版本后。",
|
||||
"filename": "联想智选.har",
|
||||
"content": "",
|
||||
"date": "2022-08-20 00:20:00",
|
||||
"version": "20220820",
|
||||
"date": "2022-08-22 00:00:00",
|
||||
"version": "20220822",
|
||||
"commenturl":"https://github.com/wjf0214/qd-templates/discussions/69"
|
||||
},
|
||||
"小米运动": {
|
||||
|
||||
@@ -1 +1 @@
|
||||
[{"comment":"baseinfo转换","request":{"method":"GET","url":"api://util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s={{baseinfo|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"info","re":".+","from":"content"}]}},{"comment":"解码转换baseinfo,没有baseinfo取默认值","request":{"method":"GET","url":"api://util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s={{b64decode(info|default('eyJpbWVpIjoiMTYzNzQ4MTc4MjQ1OTYwMTgiLCJwaG9uZWJyYW5kIjoiWGlhb21pIiwicGhvbmVNb2RlbCI6Ik1JWCAyIiwiYXBwVmVyc2lvbiI6IlY1LjEuNCIsInBob25laW5jcmVtZW50YWwiOiJWMTIuMC4xLjAuUERFQ05YTSIsIlBhZ2VJbmZvIjoiTXlJbmZvcm1hdGlvbkFjdGlvbkltcGwiLCJwaG9uZWRpc3BsYXkiOiJQS1ExLjE5MDExOC4wMDEiLCJwaG9uZU1hbnVmYWN0dXJlciI6IlhpYW9taSIsImxlbm92b0NsdWJDaGFubmVsIjoieGlhb21pIiwibG9naW5OYW1lIjoiMTU4OTM5Njg5MTIiLCJwaG9uZXByb2R1Y3QiOiJjaGlyb24iLCJzeXN0ZW1WZXJzaW9uIjoiOSIsImFuZHJvaWRzZGt2ZXJzaW9uIjoiMjgifQ=='))|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"phoneManufacturer","re":"\"phoneManufacturer\":\"(.+?)\"","from":"content"},{"name":"phoneModel","re":"\"phoneModel\":\"(.+?)\"","from":"content"},{"name":"systemVersion","re":"\"systemVersion\":\"(.+?)\"","from":"content"},{"name":"appVersion","re":"\"appVersion\":\"(.+?)\"","from":"content"},{"name":"deviceid","re":"\"imei\":\"(.+?)\"","from":"content"}]}},{"comment":"登录","request":{"method":"POST","url":"https://uss.lenovomm.com/authen/1.2/tgt/user/get?msisdn={{username|urlencode}}","headers":[{"name":"baseinfo","value":"{{baseinfo}}"},{"name":"unique","value":"{{deviceid}}"},{"name":"token","value":""},{"name":"Authorization","value":""},{"name":"User-Agent","value":"LenovoClub/4.1.2 (iPad; iOS 13.6; Scale/2.00)"}],"cookies":[],"data":"lang=zh-CN-%23Hans&source=android%3Acom.lenovo.club.app-V4.2.5&deviceidtype=mac&deviceid={{deviceid}}&devicecategory=unknown&devicevendor={{phoneManufacturer}}&devicefamily=unknown&devicemodel={{phoneModel}}&osversion={{systemVersion}}&osname=Android&password={{password}}"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"lpsutgt","re":"<Value>(.+?)<\\/Value>","from":"content"}]}},{"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":"baseinfo","value":"{{baseinfo}}"},{"name":"unique","value":"{{deviceid}}"},{"name":"token","value":""},{"name":"Authorization","value":""},{"name":"User-Agent","value":"Apache-HttpClient/UNAVAILABLE (java 1.5)"}],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"lpsutgt","re":"<Value>(.+?)<\\/Value>","from":"content"}]}},{"comment":"获取token请求原数据","request":{"method":"GET","url":"api://util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s=%7B%22sessionid%22%3A%22Lenovosso%20{{lpsutgt|urlencode}}%22%2C%22time%22%3A%22{{timestamp('int')|urlencode}}{{random(100,999,0)|urlencode}}%22%7D","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"tokenData","re":".+","from":"content"}]}},{"comment":"aes加密","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"content={{aes_encrypt(tokenData, \"nihao_liu#zh*9@7\", \"CBC\", \"A*8@Stii_jin)*%6\", output_format='hex', padding=True, padding_style='pkcs7')}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"s","re":"\"转换后\": \"(.*)\"","from":"content"}]}},{"comment":"获取token","request":{"method":"GET","url":"https://api.club.lenovo.cn/users/getSessionID?s={{s|urlencode}}","headers":[{"name":"baseinfo","value":"{{baseinfo}}"},{"name":"unique","value":"{{deviceid}}"},{"name":"token","value":"{{lpsutgt}}"},{"name":"Authorization","value":"Lenovosso {{lpsutgt}}"},{"name":"User-Agent","value":"LenovoClub/4.1.2 (iPad; iOS 13.6; Scale/2.00)"},{"name":"itemid","value":"1"},{"name":"sversion","value":"0"},{"name":"X-Lenovo-APPID","value":"1"},{"name":"versionCode","value":"1000082"}],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"lenovoid","re":"\"lenovoid\":(.+?),","from":"content"},{"name":"sessionid","re":"\"sessionid\":\"(.+?)\",","from":"content"},{"name":"token","re":"\"token\":\"(.+?)\"","from":"content"},{"name":"cerpPassport","re":"\"cerp-passport\":\"(.+)\",\"cookieval","from":"content"}]}},{"comment":"获取sign请求原数据","request":{"method":"GET","url":"api://util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s=%7B%22uid%22%3A%22{{lenovoid|Line truncated
|
||||
[{"comment":"baseinfo转换","request":{"method":"GET","url":"api://util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s={{baseinfo|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"info","re":".+","from":"content"}]}},{"comment":"如果baseinfo值为空取默认值","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"content={{info|default('eyJpbWVpIjoiMTYzNzQ4MTc4MjQ1OTYwMTgiLCJwaG9uZWJyYW5kIjoiWGlhb21pIiwicGhvbmVNb2RlbCI6Ik1JWCAyIiwiYXBwVmVyc2lvbiI6IlY1LjEuNCIsInBob25laW5jcmVtZW50YWwiOiJWMTIuMC4xLjAuUERFQ05YTSIsIlBhZ2VJbmZvIjoiTXlJbmZvcm1hdGlvbkFjdGlvbkltcGwiLCJwaG9uZWRpc3BsYXkiOiJQS1ExLjE5MDExOC4wMDEiLCJwaG9uZU1hbnVmYWN0dXJlciI6IlhpYW9taSIsImxlbm92b0NsdWJDaGFubmVsIjoieGlhb21pIiwibG9naW5OYW1lIjoiMTU4OTM5Njg5MTIiLCJwaG9uZXByb2R1Y3QiOiJjaGlyb24iLCJzeXN0ZW1WZXJzaW9uIjoiOSIsImFuZHJvaWRzZGt2ZXJzaW9uIjoiMjgifQ==')}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"baseinfo","re":"\"转换后\": \"(.*)\"","from":"content"}]}},{"comment":"解码转换baseinfo,没有baseinfo取默认值","request":{"method":"GET","url":"api://util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s={{b64decode(baseinfo)|urlencode}}","headers":[],"cookies":[]},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"phoneManufacturer","re":"\"phoneManufacturer\":\"(.+?)\"","from":"content"},{"name":"phoneModel","re":"\"phoneModel\":\"(.+?)\"","from":"content"},{"name":"systemVersion","re":"\"systemVersion\":\"(.+?)\"","from":"content"},{"name":"appVersion","re":"\"appVersion\":\"(.+?)\"","from":"content"},{"name":"deviceid","re":"\"imei\":\"(.+?)\"","from":"content"}]}},{"comment":"登录","request":{"method":"POST","url":"https://uss.lenovomm.com/authen/1.2/tgt/user/get?msisdn={{username|urlencode}}","headers":[{"name":"baseinfo","value":"{{baseinfo}}"},{"name":"unique","value":"{{deviceid}}"},{"name":"token","value":""},{"name":"Authorization","value":""},{"name":"User-Agent","value":"LenovoClub/4.1.2 (iPad; iOS 13.6; Scale/2.00)"}],"cookies":[],"data":"lang=zh-CN-%23Hans&source=android%3Acom.lenovo.club.app-V4.2.5&deviceidtype=mac&deviceid={{deviceid}}&devicecategory=unknown&devicevendor={{phoneManufacturer}}&devicefamily=unknown&devicemodel={{phoneModel}}&osversion={{systemVersion}}&osname=Android&password={{password}}"},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"lpsutgt","re":"<Value>(.+?)<\\/Value>","from":"content"}]}},{"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":"baseinfo","value":"{{baseinfo}}"},{"name":"unique","value":"{{deviceid}}"},{"name":"token","value":""},{"name":"Authorization","value":""},{"name":"User-Agent","value":"Apache-HttpClient/UNAVAILABLE (java 1.5)"}],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"lpsutgt","re":"<Value>(.+?)<\\/Value>","from":"content"}]}},{"comment":"获取token请求原数据","request":{"method":"GET","url":"api://util/string/replace?r=text&t=%C2%A0&p=%C2%A0&s=%7B%22sessionid%22%3A%22Lenovosso%20{{lpsutgt|urlencode}}%22%2C%22time%22%3A%22{{timestamp('int')|urlencode}}{{random(100,999,0)|urlencode}}%22%7D","headers":[],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"tokenData","re":".+","from":"content"}]}},{"comment":"aes加密","request":{"method":"POST","url":"api://util/unicode","headers":[],"cookies":[],"data":"content={{aes_encrypt(tokenData, \"nihao_liu#zh*9@7\", \"CBC\", \"A*8@Stii_jin)*%6\", output_format='hex', padding=True, padding_style='pkcs7')}}"},"rule":{"success_asserts":[{"re":"200","from":"status"},{"re":"\"状态\": \"200\"","from":"content"}],"failed_asserts":[],"extract_variables":[{"name":"s","re":"\"转换后\": \"(.*)\"","from":"content"}]}},{"comment":"获取token","request":{"method":"GET","url":"https://api.club.lenovo.cn/users/getSessionID?s={{s|urlencode}}","headers":[{"name":"baseinfo","value":"{{baseinfo}}"},{"name":"unique","value":"{{deviceid}}"},{"name":"token","value":"{{lpsutgt}}"},{"name":"Authorization","value":"Lenovosso {{lpsutgt}}"},{"name":"User-Agent","value":"LenovoClub/4.1.2 (iPad; iOS 13.6; Scale/2.00)"},{"name":"itemid","value":"1"},{"name":"sversion","value":"0"},{"name":"X-Lenovo-APPID","value":"1"},{"name":"versionCode","value":"1000082"}],"cookies":[],"data":""},"rule":{"success_asserts":[{"re":"200","from":"status"}],"failed_asserts":[],"extract_variables":[{"name":"lenovoid","re":"\"lenovoid\":(.+?),","from":"content"},Line truncated
|
||||
Reference in new issue
Block a user