某白山小程序限制PC端调试

声明

本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包 内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!侵权通过头像私信或名字简介叫我删除博客谢谢。
部分python代码

复制代码
headers = {
    "Accept": "application/json, text/plain, */*",
    "Accept-Language": "zh-CN,zh;q=0.9",
    "Cache-Control": "no-cache",
    "Connection": "keep-alive",
    "xweb_xhr": "1"
}
url = "/platform/api"
cp = execjs.compile(open('1.js','r',encoding='utf-8').read())
params = cp.call('getTickets')


response = requests.get(url, headers=headers, params=params)

print(response.text)
print(response)
复制代码
headers = {
    "Accept": "application/json, text/plain, */*",
    "Accept-Language": "zh-CN,zh;q=0.9",
    "Cache-Control": "no-cache",
    "Connection": "keep-alive",
    "xweb_xhr": "1"
}
url = "/platform/api"
cp = execjs.compile(open('1.js','r',encoding='utf-8').read())
params = cp.call('getTickets')


response = requests.get(url, headers=headers, params=params)

print(response.text)
print(response)

总结

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

2.具体更多细节请看名字进入详情了解更多细节,具体细节要你自己还原,相信你也能调试出来。

相关推荐
香吧香17 分钟前
venv 详解
python
笨笨饿20 分钟前
#142_VS Code.map文件插件的用法
git·python·stm32·单片机·嵌入式硬件·物联网·vim
zwd200521 分钟前
Manim 竖屏 1080×1920 配置详解:pixel_width、frame_width 怎么写(0.21.0 / 0.22.0 实测)
python·manim·数学动画·短视频制作·manim教程·竖屏视频
weishuangyun125 分钟前
家政上门预约小程序怎么做?本地家政接单系统搭建指南
小程序
Nontee30 分钟前
Quartz 新手入门:定时任务的两个承诺
开发语言·windows·python
wewowilling44 分钟前
LangChain入门
python·ai·langchain·prompt
haluhalu.1 小时前
深入理解AIAgent(1.3)--- 设计模式
人工智能·python·设计模式·langchain
估值探索者1 小时前
【Python量化选股流水线 #03】候选股怎么排序?动量+低波+流动性三因子打分取 Top-N
开发语言·python·接口·api接口·股票数据接口·数据接口·股票数据api接口