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

相关推荐
SimonKing6 分钟前
全面解决中文乱码问题:从诊断到根治
java·后端·程序员
你三大爷31 分钟前
再探volatile原理
java
2301_7816686136 分钟前
Redis 面试
java·redis·面试
郑洁文38 分钟前
基于SpringBoot的天气预报系统的设计与实现
java·spring boot·后端·毕设
沃夫上校1 小时前
MySQL 中文拼音排序问题
java·mysql
萧鼎1 小时前
深入解析 Python 的 pytun 库:虚拟网络接口与隧道技术实战指南
服务器·网络·python
Dcs1 小时前
用 Python UTCP 直调 HTTP、CLI、MCP……
java
西猫雷婶1 小时前
pytorch基本运算-分离计算
人工智能·pytorch·python·深度学习·神经网络·机器学习
数新网络1 小时前
PyTorch
人工智能·pytorch·python
自信的小螺丝钉1 小时前
【大模型手撕】pytorch实现LayerNorm, RMSNorm
人工智能·pytorch·python·归一化·rmsnorm·layernorm