钉钉云课堂sign计算方式

  • Post author:
  • Post category:其他


sign=md5(url参数&ulcookie=ulcookie)

例如请求Url:https://saas.daxue.dingtalk.com/dingtalk/pack/v2/detail/assist.jhtml?packageId=363001

那么Header中使用的sign=md5(packageId=363001&ulcookie=ulcookie值)

示例:

https://saas.daxue.dingtalk.com/dingtalk/pack/v2/detail/assist.jhtml?packageId=363001

Cookie:cookie

Accept: application/json, text/plain, */*

Connection: KeepAlive

User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 dingtalk-win/1.0.0 nw(0.14.7) DingTalk(4.7.9-Release.43) Mojo/1.0.0 Native AppType(release)

Referer: https://saas.daxue.dingtalk.com/dingtalk/pc/detail.jhtml?appId=5488&corpid=ding310af7dd98e3ebdc35c2f4657eb6378f

X-XSRF-TOKEN: 对应cookie中的X-XSRF-TOKEN

isAjax: true

ulcookie: ulcookie

sign: sign

Host: saas.daxue.dingtalk.com

大家可以通过CookieEditor 的Chrome插件进行抓包



版权声明:本文为wyx919392原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。