mirror of
https://github.com/Momoko-Ayase/Senbei.git
synced 2026-11-24 10:52:47 +08:00
5121ec8ee3c1b19d1a3c96182ccd0ccf438414d7
senbei-gui is an egui window over the same engine the CLI runs, in process. Files, folders, and Android packages go into an inputs list, where unpack, dry run, and inspect run them with live progress, a per-input log, and cancel between inputs. The detail pane shows what a run found: recognition, routes, stages, validation, and digests; the research evidence an inspection collects; a hex view of the original, spliced, or restored bytes with regions and RVA navigation; a header and section compare of input and restored image; and package entries. Restored bytes from an inspection or dry run stay in memory for the session, up to a per-input cap. Settings cover the display language, the output folder, the log file, worker threads, folder probing, Android limits, and that cap. The window shows the legal notice on first start. The window speaks the five languages the CLI does, from a catalog generated from the approved mockup wording. Its UI layer builds for wasm32 behind a Backend trait; the native backend runs jobs on worker threads. The crate is a workspace member but not a default one, so a plain cargo build still builds only the CLI.
Senbei
A static unpacker for CrackProof-protected Windows PE files and Android AArch64 shared libraries.
"CrackProof"? It's senbei (煎餅 — rice cracker). Cracks itself.
Usage
cargo build --release
senbei protected.exe
senbei game.apk
senbei "C:\Games\MyGame"
Outputs are written below an unpack directory unless --out is supplied.
Full documentation: https://xn--ri8h.gitbook.io/crackproof-research/senbei
Legal notice and intended use
Read this before using Senbei.
- Senbei is a research and interoperability tool. It exists to enable lawful reverse engineering, security research, preservation, and interoperability with software you already legitimately possess.
- Only process binaries you own or are explicitly authorized to analyze. Depending on your jurisdiction and license agreements, circumventing technological protection measures may be restricted (for example under DMCA §1201 in the United States, which contains exemptions for security research and interoperability). It is your responsibility to ensure your use is lawful.
- Senbei does not bypass any access control for you: it performs a purely static transformation of a file already on your disk. It derives everything it needs from the input file itself, contains no vendor code, and distributes no cracks or copyrighted content. (One Android packaging variant's embedded metadata layer is unwrapped with an XOR keystream recovered from a ciphertext/plaintext pair during analysis of a single build; that keystream is research output shipped with the unpacker, not a vendor-distributed key, and builds it doesn't match are left alone.)
- Senbei does not enable online play, license fraud, or cheating, and must not be used to redistribute decrypted binaries. Do not upload outputs anywhere.
- The authors provide this software "as is", without warranty of any kind, and accept no liability for misuse. See LICENSE (AGPL-3.0).
- "CrackProof" is a trademark of its respective owner; this project is not affiliated with or endorsed by the protection vendor or any software publisher. Names are used for identification only.
License
GNU Affero General Public License v3.0 (AGPL-3.0-only).
Description
Static Crackproof-protected binaries unpacker
https://senbei.momokko.moe/
2.3 MiB
2 Stars
1 Watchers
0 Forks
Languages
Rust
88.1%
JavaScript
10.8%
CSS
0.9%