Giter VIP home page Giter VIP logo

apple_cache's Introduction

View as English

项目描述

本项目通过逆向得到苹果缓存服务器的签名算法,并可以成功注册缓存服务。算法分为两种运行模式。

运行模式

  1. 直接运行(x64): 效率较高,但只支持64位CPU。已测试可运行在Windows/Linux/macOS上。
  2. 模拟器运行: 兼容性极高,支持所有CPU架构,包括arm64/mips64/riscv64等。速度可能稍慢。

编译方式

  • 直接运行: cargo build --release
  • 模拟运行: cargo build --release --features=emu

配置文件

  • cache.json: 用于设置IP段,与macOS选项相同。
  • mac.toml: 存储机器码信息,可以通过相关注释在一台新的Mac上使用。注意五码必须合一。

第三方绑定

  • 支持python绑定,直接运行register.py即可
  • Kotlin/Swift类似,请自行生成绑定即可.

未来计划

  1. 通过cxx暴露易用的调用接口,支持多种编程语言(如C++)。
  2. 转译相关代码,通过模拟轨迹转换成llvm-ir,然后提升成C代码。

apple_cache's People

Contributors

edsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

zhangyu2099

apple_cache's Issues

Some questions for Python implementation

Thanks @deadash for your working implementation of apple-cache-server. I want to implement this in Python using FastAPI.

I have some questions for my understanding and implementation:

  • where do I get the push-token in cache.json from - or is this a static value?
  • where do I get the guid in cache.json from
  • what does "Ensure that all five codes are unified." mean, unified for this cache-server-instance or globally unified? Can anybody reuse your values?!
  • all files in blob/* are created by the cache-server, so they don't have to be commited to GitHub, or am I wrong?
  • whats about cert.cer in blob/ directory, where come this from?

I'll get started until I receive your answers. Thank you already!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.