PS D:\TRY\tool\android\Frida\internet\OkHttpLogger-Frida\OkHttpLogger-Frida-master> frida -U -f com.tanma.unirun -l okhttp_poker.js
____
/ _ | Frida 16.0.2 - A world-class dynamic instrumentation toolkit
| (_| |
> _ | Commands:
/_/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at https://frida.re/docs/home/
. . . .
. . . . Connected to Pixel 4 (id=99081FFAZ0028T)
Spawned `com.tanma.unirun`. Resuming main thread!
[Pixel 4::com.tanma.unirun ]->
------------------------- OkHttp Poker by SingleMan [V.20201130]------------------------------------
API:
>>> find() 检查是否使用了Okhttp & 是否可能被混淆 & 寻找okhttp3关键类及函数
>>> switchLoader("okhttp3.OkHttpClient") 参数:静态分析到的okhttpclient类名
>>> hold() 开启HOOK拦截
>>> history() 打印可重新发送的请求
>>> resend(index) 重新发送请求
----------------------------------------------------------------------------------------
[Pixel 4::com.tanma.unirun ]-> hold()
[Pixel 4::com.tanma.unirun ]-> ........... hookRealCall : okhttp3.RealCall
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
| URL: https://run-lb.tanmasports.com/v1/auth/query/token
|
| Method: GET
|
| Request Headers: 3
| ┌─token: 1a42a27088ef1fa1a799139c6cf3fb5a
| ┌─appKey: 389885588s0648fa
| └─sign: 16F6BCF2A6721481B731DFCBDE837633
|
|--> END
|
| URL: https://run-lb.tanmasports.com/v1/auth/query/token
|
| Status Code: 200 /
|
| Response Headers: 2
| ┌─date: Sun, 12 Mar 2023 04:51:48 GMT
| └─content-type: application/json;charset=UTF-8
|
| Response Body:
| {"code":10000,"msg":"成功","response":{"oauthToken":{"token":"1a42a27088ef1fa1a799139c6cf3fb5a","refreshToken":null},"userId":73189,"studentId":1320459,
| "registerCode":"2021122134","studentName":"**","gender":"1","schoolId":3680,"schoolName":"成都信息工程大学","classId":36750,"studentClass":4,"className":"2021
| 级4班","startSchool":2021,"collegeCode":"3680-844","collegeName":"网络空间安全学院","majorCode":"524bb47771b84ce2a486a7b4d8dd954f","majorName":"信息安全","nationCod
| e":"1","birthday":"2003/08/19","idCardNo":"5******************","addrDetail":"广东省**********","studentSource":"440300","userVerifyStatus":"1"}}
|
|<-- END HTTP
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
| URL: https://run-lb.tanmasports.com/v1/clubactivity/queryMyActivityList?studentId=1320459&pageNo=1&pageSize=15
|
| Method: GET
|
| Request Headers: 3
| ┌─token: 1a42a27088ef1fa1a799139c6cf3fb5a
| ┌─appKey: 389885588s0648fa
| └─sign: E15AF8721231B2BCDDB97C496FEA350C
|
|--> END
|
| URL: https://run-lb.tanmasports.com/v1/clubactivity/queryMyActivityList?studentId=1320459&pageNo=1&pageSize=15
|
| Status Code: 200 /
|
| Response Headers: 2
| ┌─date: Sun, 12 Mar 2023 04:51:49 GMT
| └─content-type: application/json;charset=UTF-8
|
| Response Body:
| {"code":10000,"msg":"成功","response":[{"clubActivityId":23809,"activityName":"武术俱乐部(航)","activityStatus":"3","addressDetail":"航空港校区","clubIntroduction"
| :"耿喆老师武术俱乐部辅导(航空港)","configurationTimeId":1312,"signInStudent":59,"maxStudent":60,"teacherName":"耿喆","startTime":"18:05","endTime":"19:12","mmdd":"03-
| 07","nextClubActivityId":null,"nextStartTime":null,"nextEndTime":null,"nextMmdd":null,"nextSignInStudent":0,"nextMaxStudent":0,"nextHaveActivity":"0",
| "currentActivity":"0","cancelSign":"0","optionStatus":"4","signUpId":660392,"clubType":"2","yearSemester":20231,"signStatus":"1","activityItemId":105}
| ]}
|
|<-- END HTTP
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
| URL: https://run-lb.tanmasports.com/v1/clubactivity/getJoinNum?schoolId=3680&studentId=1320459
|
| Method: GET
|
| Request Headers: 3
| ┌─token: 1a42a27088ef1fa1a799139c6cf3fb5a
| ┌─appKey: 389885588s0648fa
| └─sign: 4A83FE780B940257C3FC1BE08505E7DA
|
|--> END
|
| URL: https://run-lb.tanmasports.com/v1/clubactivity/getJoinNum?schoolId=3680&studentId=1320459
|
| Status Code: 200 /
|
| Response Headers: 2
| ┌─date: Sun, 12 Mar 2023 04:51:49 GMT
| └─content-type: application/json;charset=UTF-8
|
| Response Body:
| {"code":10000,"msg":"成功","response":{"totalNum":4,"joinNum":0,"runTotalNum":10,"runJoinNum":3}}
|
|<-- END HTTP
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
| URL: https://run-lb.tanmasports.com/v1/banner/getAllBannerBySchoolId?schoolId=3680
|
| Method: GET
|
| Request Headers: 3
| ┌─token: 1a42a27088ef1fa1a799139c6cf3fb5a
| ┌─appKey: 389885588s0648fa
| └─sign: ECE6C5F7701489D644D8DEAFC45FE55F
|
|--> END
|
| URL: https://run-lb.tanmasports.com/v1/banner/getAllBannerBySchoolId?schoolId=3680
|
| Status Code: 200 /
|
| Response Headers: 2
| ┌─date: Sun, 12 Mar 2023 04:51:50 GMT
| └─content-type: application/json;charset=UTF-8
|
| Response Body:
| {"code":10000,"msg":"成功","response":[{"bannerId":null,"bannerName":null,"herfStatus":"2","bannerType":null,"schoolId":null,"bannerSort":null,"imgUrl":
| "https://tanma-data.oss-cn-beijing.aliyuncs.com/manage/img/1541581721263QjvYGAJXgP.jpg","jumpUrl":null,"enableStatus":null,"herfType":null,"bannerDeta
| il":null}]}
|
|<-- END HTTP
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
| URL: https://run-lb.tanmasports.com/v1/unirun/query/runInfo?userId=73189&yearSemester=20231
|
| Method: GET
|
| Request Headers: 3
| ┌─token: 1a42a27088ef1fa1a799139c6cf3fb5a
| ┌─appKey: 389885588s0648fa
| └─sign: 5C5F86EA4C63890677CAF00D631C6966
|
|--> END
|
| URL: https://run-lb.tanmasports.com/v1/unirun/query/runInfo?userId=73189&yearSemester=20231
|
| Status Code: 200 /
|
| Response Headers: 2
| ┌─date: Sun, 12 Mar 2023 04:51:51 GMT
| └─content-type: application/json;charset=UTF-8
|
| Response Body:
| {"code":10000,"msg":"成功","response":{"semesterId":214818,"yearSemester":20231,"userId":73189,"studentId":1320459,"schoolId":3680,"runCount":24,"runVal
| idCount":3,"runDistance":15000,"runValidDistance":11000,"runDay":7,"runValidDay":3,"runCalorie":932400,"runValidCalorie":0,"infoStatus":"1","createTim
| e":"2023-03-01 16:40:46"}}
|
|<-- END HTTP
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
| URL: https://run-lb.tanmasports.com/v1/unirun/query/user/vocalStatus?userId=73189
|
| Method: GET
|
| Request Headers: 3
| ┌─token: 1a42a27088ef1fa1a799139c6cf3fb5a
| ┌─appKey: 389885588s0648fa
| └─sign: 52EE92FD202F3A1EF59DCEAC80010D68
|
|--> END
|
| URL: https://run-lb.tanmasports.com/v1/unirun/query/user/vocalStatus?userId=73189
|
| Status Code: 200 /
|
| Response Headers: 2
| ┌─date: Sun, 12 Mar 2023 04:51:53 GMT
| └─content-type: application/json;charset=UTF-8
|
| Response Body:
| {"code":10000,"msg":"成功","response":{"userId":73189,"vocalStatus":"1","vocalStatusIos":"1","applyStatus":"0","vocalUrl":"","openStatus":"1","matchingR
| ate":0.46}}
|
|<-- END HTTP
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
| URL: https://run-lb.tanmasports.com/v1/unirun/querySchoolBound?schoolId=3680
|
| Method: GET
|
| Request Headers: 3
| ┌─token: 1a42a27088ef1fa1a799139c6cf3fb5a
| ┌─appKey: 389885588s0648fa
| └─sign: ECE6C5F7701489D644D8DEAFC45FE55F
|
|--> END
|
| URL: https://run-lb.tanmasports.com/v1/unirun/querySchoolBound?schoolId=3680
|
| Status Code: 200 /
|
| Response Headers: 2
| ┌─date: Sun, 12 Mar 2023 04:51:53 GMT
| └─content-type: application/json;charset=UTF-8
|
| Response Body:
| {"code":10000,"msg":"成功","response":[{"siteName":"成都信息工程大学","siteBound":"103.980381-30.585163,103.993192-30.586677,103.996475-30.579344,103.98272-30.5
| 76462,103.980188-30.584775","boundCenter":"103.982157-30.583939"},{"siteName":"龙泉校区","siteBound":"104.300203-30.604702,104.306983-30.602116,104.310352
| -30.608469,104.304387-30.610796,104.300675-30.604462","boundCenter":"104.300675-30.604462"}]}
|
|<-- END HTTP
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
| URL: https://run-lb.tanmasports.com/v1/push/startRun?studentId=1320459
|
| Method: GET
|
| Request Headers: 3
| ┌─token: 1a42a27088ef1fa1a799139c6cf3fb5a
| ┌─appKey: 389885588s0648fa
| └─sign: 1840685557142FCC1ECD792EFE7DE07D
|
|--> END
|
| URL: https://run-lb.tanmasports.com/v1/push/startRun?studentId=1320459
|
| Status Code: 200 /
|
| Response Headers: 2
| ┌─date: Sun, 12 Mar 2023 04:51:57 GMT
| └─content-type: application/json;charset=UTF-8
|
| Response Body:
| {"code":10000,"msg":"成功"}
|
|<-- END HTTP
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
| URL: https://run-lb.tanmasports.com/v1/unirun/studentRunVocalStatusLog
|
| Method: POST
|
| Request Headers: 3
| ┌─Content-Type: application/json; charset=UTF-8
| ┌─Content-Length: 123
| ┌─token: 1a42a27088ef1fa1a799139c6cf3fb5a
| ┌─appKey: 389885588s0648fa
| └─sign: 72F017E152070D17F6A062029745BCF7
|
| Request Body:
| {"checkCode":0,"messge":"Sid=ase000e44d7@hu186d42e50e005c2882,Score=0.56,Message=success,myGroupId=TIT731891000,isAndroid"}
|
|--> END
|
| URL: https://run-lb.tanmasports.com/v1/unirun/studentRunVocalStatusLog
|
| Status Code: 200 /
|
| Response Headers: 2
| ┌─date: Sun, 12 Mar 2023 04:57:30 GMT
| └─content-type: application/json;charset=UTF-8
|
| Response Body:
| {"code":10000,"msg":"成功"}
|
|<-- END HTTP
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
| URL: https://run-lb.tanmasports.com/v1/unirun/save/run/record/new
|
| Method: POST
|
| Request Headers: 3
| ┌─Content-Type: application/json; charset=UTF-8
| ┌─Content-Length: 318
| ┌─token: 1a42a27088ef1fa1a799139c6cf3fb5a
| ┌─appKey: 389885588s0648fa
| └─sign: 2373939D7C56EB4102A6574D8307F6CCencodeutf8
|
| Request Body:
| {"againRunStatus":"0","againRunTime":0,"appVersions":"1.8.3","brand":"google","mobileType":"Pixel 4","sysVersions":"13","trackPoints":"[]","distanceTi
| meStatus":"1","innerSchool":"0","runDistance":0,"runTime":6,"userId":73189,"vocalStatus":"1","yearSemester":"20231","recordDate":"2023-03-12","reality
| TrackPoints":null}
|
|--> END
|
| URL: https://run-lb.tanmasports.com/v1/unirun/save/run/record/new
|
| Status Code: 200 /
|
| Response Headers: 2
| ┌─date: Sun, 12 Mar 2023 04:58:48 GMT
| └─content-type: application/json;charset=UTF-8
|
| Response Body:
| {"code":10000,"msg":"成功","response":{"resultStatus":"8","resultDesc":"不在学校允许跑步的范围内","overSpeedWarn":"0","warnContent":null,"recordId":3858795}}
|
|<-- END HTTP
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
| URL: https://run-lb.tanmasports.com/v1/unirun/query/student/record/info?recordId=3858795&studentId=1320459
|
| Method: GET
|
| Request Headers: 3
| ┌─token: 1a42a27088ef1fa1a799139c6cf3fb5a
| ┌─appKey: 389885588s0648fa
| └─sign: FAAF9E6AB515153BA8B68C8F02BC9D0B
|
|--> END
|
| URL: https://run-lb.tanmasports.com/v1/unirun/query/student/record/info?recordId=3858795&studentId=1320459
|
| Status Code: 200 /
|
| Response Headers: 2
| ┌─date: Sun, 12 Mar 2023 04:58:49 GMT
| └─content-type: application/json;charset=UTF-8
|
| Response Body:
| {"code":10000,"msg":"成功","response":{"recored":{"recordId":3858795,"userId":73189,"studentId":1320459,"yearSemester":20231,"recordDate":"2023-03-12","
| recordMonth":"2023-03","runDistance":0,"runValidDistance":null,"runTime":6,"runValidTime":null,"runSpeed":0,"runCalorie":0,"runValidCalorie":null,"voc
| alStatus":"1","runStatus":"8","defeatedInfo":"不在学校允许跑步的范围内","createTime":"2023-03-12 12:58:49","infoStatus":"1","runSpeedWarn":"0","defeatStudentRatio
| ":0},"trackPoint":"[]","studentName":"**"}}
|
|<-- END HTTP
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
| URL: https://run-lb.tanmasports.com/v1/unirun/querySchoolBound?schoolId=3680
|
| Method: GET
|
| Request Headers: 3
| ┌─token: 1a42a27088ef1fa1a799139c6cf3fb5a
| ┌─appKey: 389885588s0648fa
| └─sign: ECE6C5F7701489D644D8DEAFC45FE55F
|
|--> END
|
| URL: https://run-lb.tanmasports.com/v1/unirun/querySchoolBound?schoolId=3680
|
| Status Code: 200 /
|
| Response Headers: 2
| ┌─date: Sun, 12 Mar 2023 04:58:49 GMT
| └─content-type: application/json;charset=UTF-8
|
| Response Body:
| {"code":10000,"msg":"成功","response":[{"siteName":"成都信息工程大学","siteBound":"103.980381-30.585163,103.993192-30.586677,103.996475-30.579344,103.98272-30.5
| 76462,103.980188-30.584775","boundCenter":"103.982157-30.583939"},{"siteName":"龙泉校区","siteBound":"104.300203-30.604702,104.306983-30.602116,104.310352
| -30.608469,104.304387-30.610796,104.300675-30.604462","boundCenter":"104.300675-30.604462"}]}
|
|<-- END HTTP
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
声纹相关
┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
| URL: https://run-lb.tanmasports.com/v1/unirun/studentRunVocalStatusLog
|
| Method: POST
|
| Request Headers: 3
| ┌─Content-Type: application/json; charset=UTF-8
| ┌─Content-Length: 123
| ┌─token: 1a42a27088ef1fa1a799139c6cf3fb5a
| ┌─appKey: 389885588s0648fa
| └─sign: 72F017E152070D17F6A062029745BCF7
|
| Request Body:
| {"checkCode":0,"messge":"Sid=ase000e44d7@hu186d42e50e005c2882,Score=0.56,Message=success,myGroupId=TIT731891000,isAndroid"}
|
|--> END
|
| URL: https://run-lb.tanmasports.com/v1/unirun/studentRunVocalStatusLog
|
| Status Code: 200 /
|
| Response Headers: 2
| ┌─date: Sun, 12 Mar 2023 04:57:30 GMT
| └─content-type: application/json;charset=UTF-8
|
| Response Body:
| {"code":10000,"msg":"成功"}
|
|<-- END HTTP
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────