From f0e86f2f990cffddee97ba18eab67d8c3ebedaf6 Mon Sep 17 00:00:00 2001 From: Kameleon <77245601+kmeps4@users.noreply.github.com> Date: Sat, 27 Jan 2024 22:46:24 -0600 Subject: [PATCH] Several Fixes - Mods --- config.mjs | 4 ++-- exploit.mjs | 30 ++++++++++-------------------- 2 files changed, 12 insertions(+), 22 deletions(-) diff --git a/config.mjs b/config.mjs index 50b6715..483018c 100644 --- a/config.mjs +++ b/config.mjs @@ -76,11 +76,11 @@ function DetectFirmwareVersion() return ps4_8_03; } - //on 9.00 Fw deection changed to laysation insead of regular Playsation + //on 9.00 Fw deection changed to laystation insead of regular Playstation UA = navigator.userAgent.substring(navigator.userAgent.indexOf('5.0 (') + 19, navigator.userAgent.indexOf(') Apple')).replace("layStation 4/",""); - if (UA == "9.00" || UA == "9.03" || UA == "9.04" || UA == "9.50" || UA == "9.60") + if (UA == "9.00" || UA == "9.03" || UA == "9.04" || UA == "9.50" || UA == "9.51" || UA == "9.60") { return ps4_9_00; } diff --git a/exploit.mjs b/exploit.mjs index 4defacc..53d809c 100644 --- a/exploit.mjs +++ b/exploit.mjs @@ -682,48 +682,38 @@ async function get_ready() { if (UA == "6.00" || UA == "6.02" || UA == "6.10" || UA == "6.20") { - alert("No ROP to test"); + alert("No ROP implemented"); } if (UA == "6.50" || UA == "6.70" || UA == "6.71" || UA == "6.72") { - alert("No ROP to test"); + alert("No ROP implemented"); } - if (UA == "7.01" || UA == "7.02" || UA == "7.50" || UA == "7.51" || UA == "7.55" || UA == "8.01" || UA == "8.51") + if (UA == "7.01" || UA == "7.02" || UA == "7.50" || UA == "7.51" || UA == "7.55") { - alert("No ROP to test"); + alert("No ROP implemented"); } - if (UA == "8.00") + if (UA == "8.00" || UA == "8.01" || UA == "8.03") { import('./rop/800.mjs'); } - if (UA == "8.03") - { - import('./code_exec_example.mjs'); - } - - if (UA == "8.50") + if (UA == "8.50" || UA == "8.51") { import('./rop/850.mjs'); } - //on 9.00 Fw deection changed to laystation insead of regular Playstation + //on 9.00 Fw detection changed to laystation insead of regular Playstation UA = navigator.userAgent.substring(navigator.userAgent.indexOf('5.0 (') + 19, navigator.userAgent.indexOf(') Apple')).replace("layStation 4/",""); - if (UA == "9.00") + if (UA == "9.00" || UA == "9.03" || UA == "9.04") { import('./rop/900.mjs'); } - if (UA == "9.03" || UA == "9.04" || UA == "9.50") - { - alert("No ROP to test"); - } - - if (UA == "9.60") + if (UA == "9.50" || UA == "9.51" || UA == "9.60") { import('./rop/960.mjs'); } @@ -735,7 +725,7 @@ async function get_ready() { if (supportedFirmwares.includes(fw_str)) { - alert("No ROP to test"); + alert("No ROP implemented"); } }