求写自动报体温的脚本
本帖最后由 点控 于 2022-3-12 22:22 编辑@恒哥@一哥@各位大哥
求写自动提交PUT请求的脚本求大佬帮忙写个脚本每天自动打卡,但获取问卷ID估计比较麻烦,最好能上云。
我猜测主要还是最后一步提交问卷的包。如需其他资料或截图,可在下方留言。
static/image/hrline/4.gif
提交问卷时效:
1.早上6点-10点:单纯选择,并提交,界面如下。
2.下午12点-16点:选择与定位,并提交,界面如下。
static/image/hrline/4.gif登录的包:POST https://xssw.gdit.edu.cn/campus/api/v1/get_weixin_token HTTP/1.1
Host: xssw.gdit.edu.cn
Connection: keep-alive
Content-Length: 43
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJudW1iZXIiOiJvTUF0VTVTN2FQcjMydldtVkQ5RW13dFJpdDJzIiwicGxhdGZvcm0iOiJ3ZWxpbmsiLCJpYXQiOjE2NDY5OTU2NzcsImV4cCI6MTY0Njk5NTY4Mn0.6A1CV6UjJaY_hd3sU1Kd1E0BDtQgw-xjjRkgkluxabs
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36 MicroMessenger/7.0.9.501 NetType/WIFI MiniProgramEnv/Windows WindowsWechat
content-type: application/json
signature: d6dXO7+wt9BFDIzYAhGtHMgPprjDYmvslaglJ3zFYfUgNNx6UNK+TUn/yaAIm3N3uMEroAXKUXUMhQi6LOCeT0mc34blbI319bk4gur9u0JLuN7NF+ByRAp3BtYSIJjMLV1GWpHF/84Q7YsXRtnXo7u98m8pbJ9bhVBt9FWWTaQ=
Referer: https://servicewechat.com/wxfe88906e8d3ee92d/13/page-frame.html
Accept-Encoding: gzip, deflate, br
{"code":"09389Jkl2ITvN84NBTnl2dduQv089JkC"}登陆的包
登陆界面
static/image/hrline/4.gif
获取问卷列表包:POST https://xssw.gdit.edu.cn/campus/api/v1/getPlan HTTP/1.1
Host: xssw.gdit.edu.cn
Connection: keep-alive
Content-Length: 223
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJudW1iZXIiOiJvTUF0VTVTN2FQcjMydldtVkQ5RW13dFJpdDJzIiwicGxhdGZvcm0iOiJ3ZWxpbmsiLCJpYXQiOjE2NDcwNjc4NDMsImV4cCI6MTY0NzA2Nzg0OH0.PplMIkfUEDbQAYWNw6UYlI9LA7AtINrWtyGPsi2cH2c
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36 MicroMessenger/7.0.9.501 NetType/WIFI MiniProgramEnv/Windows WindowsWechat
content-type: application/json
number: 0102200115
signature: YmVYXmIKE4i3oZafKyc7XYvO0Ec3vvNSUtoki6WgeTtxbYDdqIqyaiCQ8GHqxrBeyVcnyiPcAkpBtcbfDsZVOy12yZ92AiPVroGoFz3FPM+UINR160xGgBBHeCM2qkS0PDX61mk/yDujZJBUrqg8H81BbISi37zbmyiHJ12HO4U=
Referer: https://servicewechat.com/wxfe88906e8d3ee92d/13/page-frame.html
Accept-Encoding: gzip, deflate, br
{"query":{"type":{"$in":["调查问卷"]},"isRelease":true,"class":"6093d980c1cc9c1db09a5fd4","startTime":{"$lt":"2022-03-12T15:59:59.999Z"}},"sort":{"startTime":-1},"populate":[{"path":"createTeacher"}],"skip":0,"limit":4}问卷列表
问卷列表包
static/image/hrline/4.gif
提交问卷的包:PUT https://xssw.gdit.edu.cn/campus/api/v1/PlanDetail HTTP/1.1
Host: xssw.gdit.edu.cn
Connection: keep-alive
Content-Length: 363
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJudW1iZXIiOiJvTUF0VTVTN2FQcjMydldtVkQ5RW13dFJpdDJzIiwicGxhdGZvcm0iOiJ3ZWxpbmsiLCJpYXQiOjE2NDY5OTU2NzcsImV4cCI6MTY0Njk5NTY4Mn0.6A1CV6UjJaY_hd3sU1Kd1E0BDtQgw-xjjRkgkluxabs
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36 MicroMessenger/7.0.9.501 NetType/WIFI MiniProgramEnv/Windows WindowsWechat
content-type: application/json
number: 0102200115
signature: qT0sHbTqdWj4+kNnTvUW9bIFWoTpCB9XIprOnPWE/mfSc2cAWzPAbPWXByshsNrvd9jAf3fheqHbQaMJMF82d6cbT6jHgqlbYW6a0nSSgyedwF4wcTs+BFKKm+IbMhATcqL/KQSRLoG4o/A6ygKIFum3MBHssU83cEl17dNLsLI=
Referer: https://servicewechat.com/wxfe88906e8d3ee92d/13/page-frame.html
Accept-Encoding: gzip, deflate, br
{"query":{"_id":"622c1ba9e3ec09c681708adc"},"update":{"$set":{"signTime":"2022-03-12T06:32:26.521Z","answer":[{"title":"当日体温情况(请如实填写)","type":"单选题","resValue":"正常(36.3℃-37.2℃)"},{"title":"你的位置","type":"定位题","resValue":"广东省XXXXX"}],"platform":"weixin"}}}提交问卷包
static/image/hrline/4.gif
这个没法写...
哥哥有兴趣可以自己搞一下
signature和Authorization都要自己逆向分析写的....
估计还会挺花时间的 李恒道 发表于 2022-3-12 21:53
这个没法写...
哥哥有兴趣可以自己搞一下
signature和Authorization都要自己逆向分析写的....
谢谢哥指导,恒哥都没法
那我还是放弃吧{:4_110:} 看看能不能回复 这是GitHub大佬做的今日校园打卡,https://github.com/IceTiki/ruoli-sign-optimization 324847373 发表于 2022-3-13 14:21
这是GitHub大佬做的今日校园打卡,https://github.com/IceTiki/ruoli-sign-optimization
好的,谢谢哥,我研究研究看行不行,我们这个小程序估计是学校自己做的 云上报挺麻烦,但是autojs挺简单的 雯 发表于 2022-3-13 21:27
云上报挺麻烦,但是autojs挺简单的
是不是只能前台操作
页:
[1]