mirror of
https://github.com/itsPLK/ps5-webkit-autoloader.git
synced 2026-10-23 20:23:10 -05:00
This release introduces umtx2 exploit support for FW 1.00–5.50, switches slopkit to a secure custom elfldr (matching the other autoloaders), brings major cache resiliency improvements to prevent corruption, and polishes the installer UI and repository structure. Key highlights: - **umtx2 Exploit Integration (FW 1.00–5.50)**: - Integrated umtx2 alongside slopkit with automatic firmware detection from the User-Agent. - Exploit runs isolated inside a hidden iframe with live console mirroring and real-time progress updates. - Automated payload delivery via native main-loop event dispatch. - State persistence across WebProcess crash-restores using sessionStorage (`wkal_autoload`). - Post-autoload iframe unloading for umtx2 to prevent out-of-memory browser dialogs. - Uses stock bundled elfldr for the umtx2 chain (as newer elfldr builds failed to load properly with umtx2). - **Custom Localhost elfldr for slopkit (FW 9.00–12.00)**: - Switched slopkit chain to use a custom localhost-only `ps5-elfldr`, matching Y2JB / BD-JB / Lua autoloaders. - Enhances security by restricting incoming payload connections to the console itself (127.0.0.1) — most autoloader users do not need an open network port listening on the PS5. - A standard network-facing elfldr can still be used via Payload Manager or manual `autoload.txt` config (see README for instructions). - **Cache Resiliency & Offline Installer Enhancements**: - Versioned application directory layout (`/app/<version>/`) and `__complete__` cache manifest marker prevent partial cache corruption during network drops or early browser exit. - Stable pointer page (`/app/index.html`) verifies cache completeness before redirection. - Homescreen shortcut creation is deferred until caching is 100% complete via the `/install` route. - Live verbose installer logging and visual progress bar in the installer UI. - Dynamic AppCache manifest filtering based on detected firmware and build flags (`FORCE_EXPLOIT`). - Recursive directory creation (`mkdir_p`) ensuring fresh PS5 systems install without errors. - **Repository Structure & Upstream Updates**: - Reorganized patch diffs into dedicated `patches/` directory and consolidated scripts into `tools/`. - Updated upstream slopkit submodule to commit 6153152. - Added on-demand pre-release build workflow with custom version tagging.
14 lines
536 B
C
14 lines
536 B
C
#pragma once
|
|
|
|
#include <microhttpd.h>
|
|
#include <stdatomic.h>
|
|
|
|
/* Shared flag — set to 0 by a successful /install, read by the main loop. */
|
|
extern atomic_int http_keep_running;
|
|
|
|
/* MHD request handler callback — dispatches all routes. */
|
|
enum MHD_Result http_on_request(void *cls, struct MHD_Connection *conn,
|
|
const char *url, const char *method,
|
|
const char *version, const char *upload_data,
|
|
size_t *upload_data_size, void **con_cls);
|