新版231普通阿里滑块 自动化和逆向实现 分析

声明:

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

逆向过程

补环境逆向

部分补环境

复制代码
outerWidth = 888
outerHeight = 666
screenX = 0
screenY = 0
pageYOffset = 0
pageYOffset = 0
devicePixelRatio = 0.5
isSecureContext = true
locationbar = {
    visible: true
}
toolbar = {
    visible: true
}
chrome = {
    "app": {
        "isInstalled": false,
        "InstallState": {
            "DISABLED": "disabled",
            "INSTALLED": "installed",
            "NOT_INSTALLED": "not_installed"
        },
        "RunningState": {
            "CANNOT_RUN": "cannot_run",
            "READY_TO_RUN": "ready_to_run",
            "RUNNING": "running"
        }
    }
}
Storage = function(){}
XMLHttpRequest.length = 0
XMLHttpRequest.name = 'XMLHttpRequest'
WebSocket = function(){}
EventSource = function(){}
postMessage = function(){}
window.addEventListener = function(){}
AudioContext = function AudioContext(){}
Audio = function(){}
document = {}
document.documentElement = {}
document.characterSet = 'UTF-8'
document.compatMode = 'CSS1Compat'
document.addEventListener = function(){}
document.images = []
Navigator = function(){}

结果

自动化DrissionPage

hk = ali231.ele('@id=nc_1_n1z', timeout=60) if hk: # 执行滑块操作 ali231.actions.move_to(hk).hold(hk)

for i in track['plus']:

ali231.actions.move(offset_x=i, offset_y=0, duration=0.15)

ali231.actions.release()

自动化结果

总结

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

相关推荐
两万五千个小时1 天前
落地实现 Anthropic Multi-Agent Research System
人工智能·python·架构
华仔啊1 天前
挖到了 1 个 Java 小特性:var,用完就回不去了
java·后端
SimonKing1 天前
SpringBoot整合秘笈:让Mybatis用上Calcite,实现统一SQL查询
java·后端·程序员
哈里谢顿1 天前
Python 高并发服务限流终极方案:从原理到生产落地(2026 实战指南)
python
刀法如飞2 天前
一款Go语言Gin框架MVC脚手架,满足大部分场景
go·mvc·gin
用户8356290780512 天前
无需 Office:Python 批量转换 PPT 为图片
后端·python
日月云棠2 天前
各版本JDK对比:JDK 25 特性详解
java
markfeng82 天前
Python+Django+H5+MySQL项目搭建
python·django
用户8307196840822 天前
Spring Boot 项目中日期处理的最佳实践
java·spring boot