苹果ios免越狱脚本同步器硬件方案
实现原理 通过电脑 USB 控制鼠标模块对手机进行点击和滑动等操作,iOS 投屏,iOS 版本要大于等于 iOS13.5。 该方案的优点,就是不需要签名,不需要安装插件到手机上,只需要一个硬件,就可以永久使用。而且支持绕 ID 的游戏机, 目前已经运用市场的产品有,小宇,iMouse 硬件,鱼叉等。 编写代码 可以易语言,Python,按键等。下面代码,用 Python 进行编写,可以对接手机进行通讯。 deviceID = "mac" //待被控制的手机mac 有兴趣的一起讨论企鹅,群
537287761
api = iMouse_api.HttpApi("127.0.0.1") 初始化 api.mouse_movie(deviceID, random.randint(100, 300), random.randint(100, 800)) 鼠标随机移动 file = open("D:/ScreenSrv/ScreenControl/Screenshot/主按钮.bmp", "rb") byte = file.read() file.close() api.find_image(deviceID, byte) 找图 print("find_image", ret)if ret["status"] == 0 and ret["data"]["code"] == 0: print("OK", ret["data"]["result"][0], ret["data"]["result"][1]) api.swipe(deviceID, "up", "left", 0.8, afor=5) 鼠标滑动 api.send_key(deviceID,"asdfasdfasdfasdf") 发送字符串 api.send_key(deviceID, "","FN") 发送热键 FN 切换输入法 time.sleep(0.2) api.send_key(deviceID, "", "FN") api.send_text(deviceID, "测试,发送中想文", "CTRL+ALT+SHIFT+WIN+v") 发送中文 orc = api.ocr(deviceID,"10,20,30,20") OCR识别 print("orc", orc)