mirror of
https://github.com/itsPLK/ps5-webkit-autoloader.git
synced 2026-10-22 03:32:27 -05:00
- Unify userland exploit runner, ROP primitives, and payload pipeline on ps5-webkit-remote-loader - Drop legacy umtx2 (FW <= 5.50) - Improve Relapse stability
29 lines
1.2 KiB
HTML
29 lines
1.2 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<meta charset="utf-8">
|
|
<title>WebKit Autoloader v[[VERSION_PLACEHOLDER]] by PLK (built [[BUILD_TIME_PLACEHOLDER]])</title>
|
|
<body style="background:#111;color:#eee;font:24px sans-serif;margin:10%">
|
|
<p id="status">Loading...</p>
|
|
<script>
|
|
(function () {
|
|
// Both chain pages are cached, so this pointer only has to pick one. The choice
|
|
// was recorded by the installer on this same origin, so it is readable here
|
|
// with no server running.
|
|
var version = '[[VERSION_PLACEHOLDER]]';
|
|
var base = '/app/[[APP_DIR_PLACEHOLDER]]/';
|
|
var chain = null;
|
|
try { chain = window.localStorage.getItem('wkal_exploit'); } catch (error) { chain = null; }
|
|
if (chain !== 'poops' && chain !== 'relapse') {
|
|
document.getElementById('status').textContent = 'No exploit was chosen. Run the installer again.';
|
|
return;
|
|
}
|
|
fetch(base + '__complete__').then(function (r) { return r.text(); }).then(function (marker) {
|
|
if (marker.trim() !== version) throw new Error('Cache incomplete');
|
|
location.replace(base + chain + '.html');
|
|
}).catch(function () {
|
|
document.getElementById('status').textContent = 'Cache incomplete. Run the installer again.';
|
|
});
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html> |