Prep for multi-fw and publishing on GitHub

### Added

- `.gitignore` for kpatch output
- Auto detect console type and firmware in `config.mjs`
  - Used elsewhere to determine which offsets/patches/ROP chain are used
- WIP: Add 8.50-9.60 support
  - All offsets found
  - Running into some issue here. Wiped out my JOP chains to redo them...

### Fixed

- Call `lapse.mjs` rather than `code.mjs`
- Makefile for kpatch builds all currently available

### Changed

- Use relative locations rather than absolute
- Changed kpatch binaries to just be shellcode vs full ELFs
  - 5,216 bytes to 257 bytes.
- Build kpatch binaries with `-Os` rather than `-O`
  - 257 bytes to 233 bytes.
- Renamed/Formatted `CHANGELOG.md`, `README.md`, and `LICENSE`
This commit is contained in:
Al Azif
2025-05-12 14:42:31 -07:00
parent b9f5957555
commit 3e47ad92a0
33 changed files with 2099 additions and 218 deletions

View File

@@ -22,7 +22,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<style>
@font-face {
font-family: 'logging';
src: url('fonts/LiberationMono-Regular.ttf');
src: url('./fonts/LiberationMono-Regular.ttf');
}
#console {
font-family: 'logging';
@@ -37,5 +37,5 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
source code and license.<br>
<pre id='console'></pre>
</body>
<script type='module' src='alert.mjs'></script>
<script type='module' src='./alert.mjs'></script>
</html>