当前位置: 首页 > article >正文

香港航空 阿里滑块 acw_sc__v3 分析

声明:
本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!
有相关问题请第一时间头像私信联系我删除博客!
前言

最近有点忙,很久没逆向了主要在打基础看公司文档和项目偷偷学习,过段时间没这么忙再买个安卓机深入学习安卓。

acw_sc__v3 

主要代码

url = "/hxair/ibe/deeplink/ancillary.do"
params = {
    "PT": "F",
    "MO": "T",
    "SC": "Y",
    "ORI": "SHA",
    "DES": "VTE",
    "DD1": "2024-11-07",
    "TA": "1",
    "TC": "0",
    "TI": "0",
    "ICS": "T",
    "CUR": "CNY",
    "language": "zh",
    "market": "CN",
    "DD2": "2024-11-10",
    "FLC": "2",
}
response = requests.get(url, headers=headers, cookies=cookies, params=params)
print(response.text)
data = json.loads(re.findall('var requestInfo = {.*};', response.text)[0].split('var requestInfo = ')[1][:-1])

token = data['token']
CertifyId = data['traceid']
userId = data['userId']
userUserId = data['userUserId']

headers = {

    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0"
}
url = ""
cp = execjs.compile(open('滑块.js', 'r', encoding='utf-8').read())
data = cp.call('init', userUserId, userId, CertifyId)
response = session.post(url, headers=headers, data=data)
data = response.json()
print(data)
CaptchaType = data['CaptchaType']
CertifyId = data['CertifyId']
requestId = data['RequestId']
DeviceConfig = data['DeviceConfig']
StaticPath = data['StaticPath']

        headers = {

        }
        url = ""
        data = cp.call('log2', DeviceConfig)
        response = session.post(url, headers=headers, data=data)
        print(response.text)
        data = cp.call('log3', DeviceConfig)
        url = ""
        response = session.post(url, headers=headers, data=data)
        print(response.text)
        result = cp.call('verify', DeviceConfig, CertifyId, userUserId, key)
        data =result['data']
        numberList = result['numberList']
        print(f"轨迹点{numberList}")


        url = ""
        response = session.post(url, headers=headers, data=data)
        print(response.text)
        if response.json()['Code'] == 'Success':
            headers = {
                "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0"
            }
            cookies = {

            }
            url = "hxair/ibe/deeplink/ancillary.do"
            params = {
                "PT": "F",
                "MO": "T",
                "SC": "Y",
                "ORI": "SHA",
                "DES": "VTE",
                "DD1": "2024-11-07",
                "TA": "1",
                "TC": "0",
                "TI": "0",
                "ICS": "T",
                "CUR": "CNY",
                "language": "zh",
                "market": "CN",
                "DD2": "2024-11-10",
                "FLC": "2",
                "u_atoken": token,
                "u_asig": CertifyId
            }
            response = session.get(url, headers=headers, cookies=cookies, params=params)
            print(response.cookies)
            print(response.headers)
            print(session.cookies)

结果

轨迹优化了很久成功率基本100%.

总结

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

侵权首页联系删除博客


http://www.kler.cn/a/384494.html

相关文章:

  • 防火墙|WAF|漏洞|网络安全
  • 每天五分钟深度学习框架pytorch:如何加载手写字体数据集mnist?
  • mysql分布式锁
  • Go 语言变量作用域
  • Python OpenCV 傅里叶变换
  • 123456
  • 10DSP学习-利用syscfg配置ADC,并使用EPWM触发转换
  • Excel打开Python创建的csv文件乱码
  • 《Kotlin实战》-第09章:泛型
  • 【人工智能】ChatGPT多模型感知态识别
  • oneplus6-build.md
  • 浏览器中的事件循环
  • KTHREAD结构-->ApcState
  • HbuildderX运行到手机或模拟器的Android App基座识别不到设备 mac
  • Shiro安全认证技术实践
  • 神经网络基础--什么是正向传播??什么是方向传播??
  • Android 音视频合成经验总结
  • 基于MATLAB的人声音特征的识别和控制设计
  • 【go从零单排】go中的三种数据类型array、slices、maps
  • 力扣排序455题(分发饼干)
  • 回归预测 | MATLAB实现BO-BiGRU贝叶斯优化双向门控循环单元多输入单输出回归预测
  • JavaEE初阶--servlet篇(三)HttpServlet/response/request对应方法使用
  • uniApp之uni-file-picker使用踩坑
  • 【C++】ROS:rosboard前端可视化工具配置使用
  • 登录鉴权 - 2024最新版前端秋招面试短期突击面试题【100道】
  • Python代码解析:处理JSON数据并导入Neo4j数据库