Improvements for code logic and payloads

- WebRTE payload now supports more firmware. - fixed ps4fw variable not found error for 7.xx firmware. - Scroll down for console logs.
This commit is contained in:
ArabPixel
2025-10-14 21:15:26 +02:00
parent e38e00d3d6
commit 2819e56b1d
7 changed files with 41 additions and 40 deletions

View File

@@ -39,6 +39,6 @@ addEventListener("error", (event) => {
// we have to dynamically import the program if we want to catch its syntax
// errors
if (ps4fw >= 7.00 && ps4fw <= 9.60 ){
if (window.ps4Fw >= 7.00 && window.ps4Fw <= 9.60 ){
import("./psfree.mjs");
}else alert("Unsupported firmware to run the exploit")

View File

@@ -29,8 +29,11 @@ export function die(msg = "") {
}
const console = document.getElementById("console");
const debugConsole = document.getElementById("DebugConsole");
export function log(msg = "") {
console.append(`${msg}\n`);
// scroll console to bottom
debugConsole.scrollTop = debugConsole.scrollHeight;
}
export function clear_log() {