소스 검색

Feat: Implement standalone offline activation mode via embedded server

Introduced a fully self-contained activation workflow (offline_activator.py) that eliminates the dependency on an external PHP backend. This allows the tool to function entirely on the local machine without internet access or a web server.

Key Implementation Details:
* Core Logic Port: Translated the PayloadGenerator logic and SQL template injection from PHP to Python, enabling dynamic SQLite database generation directly within the client script.
* Embedded Networking: Implemented LocalServer class using Python's http.server and socket modules to spawn a background HTTP listener on the local LAN interface.
* Dynamic Configuration: The script now resolves the local machine's IP address automatically to inject into the activation payloads, ensuring the device calls back to the host machine.
* Asset Handling: Device configuration files (MobileGestalt.plist) are now read directly from the local assets/Maker directory rather than being fetched remotely.
* Database Templates: Embedded SQL structures for BLDatabase and Downloads directly into the script constants to reduce file I/O and external dependencies.

Documentation:
* Added README_OFFLINE.md detailing the specific prerequisites and network requirements for the offline method.
rhcp011235 2 달 전
부모
커밋
581952cb91
1개의 변경된 파일29개의 추가작업 그리고 0개의 파일을 삭제
  1. 29 0
      offline_bypass.py

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 29 - 0
offline_bypass.py


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.