mirror of
https://github.com/Momoko-Ayase/Senbei.git
synced 2026-11-25 02:52:47 +08:00
feat(web): bring the Senbei workbench to the browser
Add folder scanning, Android library and package recovery, and the localized desktop-style workbench. Keep browser-refused outputs in a fallback ZIP and include logs with folder and ZIP exports. Align the desktop and web modal transitions and polish the desktop About and legal dialogs.
This commit is contained in:
1 parent
20a68b1c73
commit
21236e8b98
59 files changed
+11612
-3436
No files matched your search
+33
-75
@@ -3,86 +3,44 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Senbei — static CrackProof unpacker</title>
|
||||
<meta name="color-scheme" content="dark">
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self'; style-src-attr 'unsafe-inline'; img-src 'self'; font-src 'self'; connect-src 'self'; worker-src 'self'; base-uri 'none'; form-action 'none'">
|
||||
<meta name="description" content="Senbei: a static unpacker for CrackProof-protected Windows PE files, Android AArch64 libraries, and il2cpp metadata. Runs in this browser; files are never uploaded.">
|
||||
<title>Senbei</title>
|
||||
<link rel="icon" href="assets/icon-32.png">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="modulepreload" href="i18n.js">
|
||||
<link rel="modulepreload" href="state.js">
|
||||
<link rel="modulepreload" href="view.js">
|
||||
<link rel="modulepreload" href="detail.js">
|
||||
<link rel="modulepreload" href="ui.js">
|
||||
<link rel="modulepreload" href="model.js">
|
||||
<link rel="modulepreload" href="engine.js">
|
||||
<link rel="modulepreload" href="scan.js">
|
||||
<link rel="modulepreload" href="run.js">
|
||||
<link rel="modulepreload" href="report.js">
|
||||
<script type="module" src="app.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="legal-overlay" role="dialog" aria-modal="true" aria-labelledby="legal-title">
|
||||
<div class="legal-box">
|
||||
<h2 id="legal-title">Legal notice — read before use</h2>
|
||||
<p>
|
||||
Senbei is a research and interoperability tool for lawful reverse
|
||||
engineering, security research, and preservation of software you already
|
||||
legitimately possess. <strong>Only process binaries you own or are
|
||||
explicitly authorized to analyze.</strong>
|
||||
</p>
|
||||
<p>
|
||||
Circumventing technological protection measures may be restricted in
|
||||
your jurisdiction (for example under DMCA §1201 in the United States,
|
||||
which contains exemptions for security research and interoperability).
|
||||
Ensuring your use is lawful is <strong>your</strong> responsibility.
|
||||
</p>
|
||||
<p>
|
||||
Senbei performs a purely static transformation of files on your device:
|
||||
it bypasses no access control by itself, ships no keys and no vendor
|
||||
code, and uploads nothing — everything runs locally in your browser.
|
||||
Do not redistribute decrypted outputs. This software is provided
|
||||
“as is”, without warranty of any kind; the authors accept no liability
|
||||
for misuse. “CrackProof” is a trademark of its owner; this project is
|
||||
not affiliated with or endorsed by the vendor or any publisher.
|
||||
</p>
|
||||
<button id="legal-accept" type="button">I understand and accept</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<main>
|
||||
<header class="topbar">
|
||||
<h1>Senbei <span class="tag">web</span></h1>
|
||||
<a class="github-link" href="https://github.com/Momoko-Ayase/Senbei" target="_blank" rel="noopener"
|
||||
title="Senbei on GitHub" aria-label="Senbei on GitHub">
|
||||
<svg viewBox="0 0 16 16" width="22" height="22" aria-hidden="true">
|
||||
<path fill="currentColor" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8Z"/>
|
||||
</svg>
|
||||
</a>
|
||||
<div id="app">
|
||||
<header class="topbar" id="topbar">
|
||||
<div class="brand"><img src="assets/icon-32.png" width="26" height="26" alt=""><span class="word">Senbei</span></div>
|
||||
</header>
|
||||
<p class="lede">
|
||||
Static unpacker for CrackProof-protected PE files, running entirely in
|
||||
your browser. <strong>No file ever leaves your device.</strong>
|
||||
</p>
|
||||
|
||||
<div id="dropzone" tabindex="0" role="button"
|
||||
aria-label="Drop protected files here or press Enter to browse">
|
||||
<p><strong>Drop files here</strong> or click to browse</p>
|
||||
<p class="hint">
|
||||
Protected <code>.exe</code> / <code>.dll</code> modules, optional
|
||||
<code>._</code> companions, or an il2cpp
|
||||
<code>global-metadata.dat</code>. Android packages
|
||||
(<code>.apk</code> / <code>.apks</code> / <code>.xapk</code>) and
|
||||
<code>.so</code> libraries are recognized but need the CLI.
|
||||
</p>
|
||||
<input type="file" id="picker" multiple hidden>
|
||||
<div class="main blank" id="main">
|
||||
<aside class="inputs" id="inputs"></aside>
|
||||
<section class="detail" id="detail"></section>
|
||||
</div>
|
||||
|
||||
<div class="limits">
|
||||
<label for="limit-mib">Input limit per module (MiB)</label>
|
||||
<input id="limit-mib" type="number" min="8" max="4096" step="8" value="256"
|
||||
inputmode="numeric" aria-describedby="limit-hint">
|
||||
<p id="limit-hint" class="hint"></p>
|
||||
</div>
|
||||
|
||||
<ul id="files"></ul>
|
||||
|
||||
<div class="actions" id="actions" hidden>
|
||||
<button id="unpack-btn" type="button">Unpack</button>
|
||||
<button id="export-btn" type="button" class="secondary">Export JSON</button>
|
||||
<button id="clear-btn" type="button" class="secondary">Clear</button>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<p><a href="#" id="legal-link">Legal notice</a> ·
|
||||
Senbei is free software under the AGPL-3.0 license.</p>
|
||||
<footer class="statusbar">
|
||||
<div class="status-line" id="status"></div>
|
||||
<button class="cancel" id="cancel" data-act="cancel" hidden></button>
|
||||
</footer>
|
||||
</main>
|
||||
<script type="module" src="app.js"></script>
|
||||
</div>
|
||||
<div id="menu"></div>
|
||||
<div class="dragover" id="dragover" hidden><div class="box"><h2 id="dragover-title"></h2></div></div>
|
||||
<dialog class="modal" id="legal"></dialog>
|
||||
<dialog class="modal" id="settings"></dialog>
|
||||
<input type="file" id="pick-files" multiple hidden>
|
||||
<input type="file" id="pick-folder" webkitdirectory hidden>
|
||||
<noscript><p style="padding:16px">Senbei runs in the browser and needs JavaScript.</p></noscript>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user