Implemented reverse-engineered signature algorithm to successfully register with Apple's caching server.

Overview

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上使用。注意五码必须合一。

未来计划

  1. 通过cxx/uniffi-rs暴露易用的调用接口,支持多种编程语言(如C++/Python/Kotlin/Swift)。
  2. 转译相关代码,通过模拟轨迹转换成llvm-ir,然后提升成C代码。
You might also like...
A Rust implementation of Glidesort, my stable adaptive quicksort/mergesort hybrid sorting algorithm.
A Rust implementation of Glidesort, my stable adaptive quicksort/mergesort hybrid sorting algorithm.

Glidesort Glidesort is a novel stable sorting algorithm that combines the best-case behavior of Timsort-style merge sorts for pre-sorted data with the

A small subset of PHP implemented in Rust. 🐘

microphp A small subset of PHP implemented in Rust. About This project aims to implement a small subset of PHP's feature-set using a Rust powered pars

Escrow program implemented in Anchor
Escrow program implemented in Anchor

Anchor Example: Escrow Program See this doc for more implementation details Overview Since this program is extended from the original Escrow Program,

Simple console input macros with the goal of being implemented in the standard library.

Simple console input macros with the goal of being implemented in the standard library.

Prefix tree implemented in Rust.

Prefix tree implemented in rust. A simple library that provides a prefix tree (trie) implementation. It uses generic types for both keys and values. p

A Unix shell written and implemented in rust 🦀

vsh A Blazingly fast shell made in Rust 🦀 Installation Copy and paste the following command and choose the appropriate installtion method for you. Yo

A fork of V8Js re-implemented in Rust

PHP-V8Js PHP-V8Js is a PHP extension for the V8 JavaScript engine. It is a re-implementation of the fantastic (though unmaintained) V8Js PHP extension

Multiple precision floating point numbers implemented purely in Rust.

Multiple precision floating point numbers implemented purely in Rust. Rationale There are several notable implementations of numbers with increased pr

Rust Crate that allows to do interruptions in console. Will be implemented to functional terminal customization kit.

termpause Rust Crate that allows to do interruptions in console. Will be implemented to functional terminal customization kit. Usage Add this in your

Releases(v0.1.0)
  • v0.1.0(Oct 25, 2023)

    Overview

    This release provides compiled binaries for Windows, supporting both direct execution and emulation modes for the Apple Caching Service.

    Features

    • Direct Execution: High performance, optimized for 64-bit CPUs.
    • Emulation Mode: High compatibility, supports multiple CPU architectures.
    • Test Configuration Included: A sample configuration is available for testing.

    Heartbeat

    • Cache Heartbeat Time: 300s. Re-registering at this interval ensures that the connection remains online.

    How to Use

    • For Direct Execution: Download the .exe file and run.
    • For Emulation: Download the .exe file compiled with emulation features and run.

    Future Plans

    • We plan to expose easy-to-use APIs and support more operating systems.

    Support

    If you require binaries for operating systems other than Windows, please open an issue to let us know.

    Source code(tar.gz)
    Source code(zip)
    AppleCacheRelease-0.1.zip(6.66 MB)
Owner
null
Punic is a remote caching CLI built for Apple's .xcframework

Punic is a remote caching CLI built for Carthage that exclusively supports Apple's .xcframeworks.

Shred Labs 26 Nov 22, 2022
`decaf377-rdsa` is a randomizable signature scheme using the `decaf377` group.

decaf377-rdsa is a variant of RedDSA, instantiated using the decaf377 group. Signatures are parameterized by domain (for instance, Binding and SpendAu

Penumbra 8 Oct 25, 2022
A CLI tool for CIs and build scripts, making file system based caching easy and correct (locking, eviction, etc.)

FS Dir Cache A CLI tool for CIs and build scripts, making file system based caching easy and correct (locking, eviction, etc.) When working on build s

Dawid Ciężarkiewicz 5 Aug 29, 2023
The fastest memoizing and caching Python library written in Rust.

Cachebox Cachebox is a Python library (written in Rust) that provides memoizations and cache implementions with different cache replecement policies.

Ali 3 Feb 28, 2024
A small CLI tool to query ArcGIS REST API services, implemented in Rust. The server response is returned as pretty JSON.

A small CLI tool to query ArcGIS REST API services, implemented in Rust. The server response is returned as pretty JSON.

Andrew Vitale 2 Apr 25, 2022
Haylou Smart Watch 2 (LS02) reverse-engineering project

Haywatch Haywatch Hello Haylou Watch features Device communication General command structure Pairing Unpairing Battery Firmware Date and time Pulses U

XorTroll 5 Dec 16, 2022
A reverse-engineering of Speedball 2 for the Sega Megadrive

Reverse engineering of Speedball 2 for Sega Megadrive (Genesis) This repo is a reverse engineering of Speedball 2, using Ghidra to reverse the assembl

Simon Frankau 4 Jan 6, 2023
Bruteforce connecting to a specific Sea of Thieves server. Useful if you want to be in the same server as your friends.

SoT Server Finder Find which Sea of Thieves server you're connected to. Useful if you want to be in the same server as your friends. Setup Download so

Martin 4 Mar 19, 2023
Leptos server signals synced through Server-Sent-Events (SSE)

Leptos Server Sent Events Server signals are leptos signals kept in sync with the server through server-sent-events (SSE). The signals are read-only o

messense 13 Oct 3, 2023
🐎 A fast implementation of the Aho-Corasick algorithm using the compact double-array data structure. (Python wrapper for daachorse)

python-daachorse daachorse is a fast implementation of the Aho-Corasick algorithm using the compact double-array data structure. This is a Python wrap

Koichi Akabe 11 Nov 30, 2022