欢迎光临
我们一直在努力

模拟生成dd/滴滴算法生成 wsgsig dd03 dd05最佳实现方式

声明 本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!

侵权通过头像私信或名字简介叫我删除博客谢谢。

部分python代码

result = cp.call('wsgsig',data)
print(result)
headers = {
"Accept-Language": "zh-CN,zh;q=0.9",
"Cache-Control": "no-cache",
"Connection": "keep-alive",
"Sec-Fetch-Dest": "empty",
"Sec-Fetch-Mode": "cors",
"Sec-Fetch-Site": "same-origin",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 Edg/142.0.0.0",
"accept": "application/json, text/plain, */*",
"content-type": "application/json",
"devicetype": "pc",
"sec-ch-ua": "\\"Chromium\\";v=\\"142\\", \\"Microsoft Edge\\";v=\\"142\\", \\"Not_A Brand\\";v=\\"99\\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\\"Windows\\"",
"secdd-authentication": secdd_authentication,
"secdd-challenge": "4|1.5.10||||||",
"wsgsig": result
}
url = "/ota/rental/scm/vehicle/occupyStock"
data = json.dumps(data, separators=(',', ':'))
response = requests.post(url, headers=headers, cookies=cookies, data=data)

print(response.text)
print(response)

result = cp.call('wsgsig',data) print(result) headers = {     "Accept-Language": "zh-CN,zh;q=0.9",     "Cache-Control": "no-cache",     "Connection": "keep-alive",     "Sec-Fetch-Dest": "empty",     "Sec-Fetch-Mode": "cors",     "Sec-Fetch-Site": "same-origin",     "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 Edg/142.0.0.0",     "accept": "application/json, text/plain, */*",     "content-type": "application/json",     "devicetype": "pc",     "sec-ch-ua": "\\"Chromium\\";v=\\"142\\", \\"Microsoft Edge\\";v=\\"142\\", \\"Not_A Brand\\";v=\\"99\\"",     "sec-ch-ua-mobile": "?0",     "sec-ch-ua-platform": "\\"Windows\\"",     "secdd-authentication": secdd_authentication,     "secdd-challenge": "4|1.5.10||||||",     "wsgsig": result } url = "/ota/rental/scm/vehicle/occupyStock" data = json.dumps(data, separators=(',', ':')) response = requests.post(url, headers=headers, cookies=cookies, data=data)

print(response.text) print(response)

结果

总结

1.出于安全考虑,本章未提供完整流程,调试环节省略较多,只提供大致思路,具体细节要你自己还原,相信你也能调试出来。

赞(0)
未经允许不得转载:171主机测评 » 模拟生成dd/滴滴算法生成 wsgsig dd03 dd05最佳实现方式
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址