声明:
本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!
逆向过程
补环境逆向
部分补环境
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()