声明:
本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!
部分python代码
anti_content_cp = execjs.compile(open('pxx2026-2.js','r',encoding='utf-8').read()) anti_content = anti_content_cp.call('getAnticontent',) encrypt_token_cp = execjs.compile(open('encryptToken.js','r',encoding='utf-8').read()) result = encrypt_token_cp.call('getcsr_risk_token') csr_risk_token = result.get('encryptedData') print(csr_risk_token) data = { "goods_id": '', "anti_content": anti_content, "csr_risk_token": csr_risk_token } data = json.dumps(data, separators=(',', ':')) response = requests.post(url, headers=headers, cookies=cookies, params=params, data=data) data = response.json() print(data) encrypt_info = data.get('encrypt_info','') if encrypt_info: print(encrypt_token_cp.call('********', encrypt_info, ........))