加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
联想智选app.har 12.32 KB
一键复制 编辑 原始数据 按行查看 历史
asdaragon 提交于 2020-08-03 07:10 . 添加 联想智选app.har
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608
[
{
"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__"
}
]
}
}
]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化