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

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

部分python代码

result = subprocess.run(
    ["node", "test2.js", content],  # 传入 content 作为参数
    capture_output=True,
    text=True,
    timeout=10  # 防止卡死
)

__zse_ck = result.stdout.strip()
print(f"[*] __zse_ck: {__zse_ck}")
cookies['__zse_ck'] = f'{__zse_ck}'
headers = {
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9",
    "cache-control": "no-cache",
    "pragma": "no-cache",

}
url = "api/v3/moments/hfghh-3/activities"
params = {
    "limit": "5",
    "desktop": "true",
    "ws_qiangzhisafe": "0"
}
response = session.get(url, headers=headers, cookies=cookies, params=params)

print(response.text)
print(response)

result = subprocess.run(
    ["node", "test2.js", content],  # 传入 content 作为参数
    capture_output=True,
    text=True,
    timeout=10  # 防止卡死
)

__zse_ck = result.stdout.strip()
print(f"[*] __zse_ck: {__zse_ck}")
cookies['__zse_ck'] = f'{__zse_ck}'
headers = {
    "accept": "*/*",
    "accept-language": "zh-CN,zh;q=0.9",
    "cache-control": "no-cache",
    "pragma": "no-cache",

}
url = "api/v3/moments/hfghh-3/activities"
params = {
    "limit": "5",
    "desktop": "true",
    "ws_qiangzhisafe": "0"
}
response = session.get(url, headers=headers, cookies=cookies, params=params)

print(response.text)
print(response)

结果

总结

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

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐