From 674b7391d00e9c3aca9e8e88bf5ea78dd74829e3 Mon Sep 17 00:00:00 2001 From: Kameleon <77245601+kmeps4@users.noreply.github.com> Date: Tue, 20 Feb 2024 08:44:29 -0600 Subject: [PATCH] Update exploit.mjs Fix User Agent for 8.5x Thx EchoStrech --- exploit.mjs | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/exploit.mjs b/exploit.mjs index 1993551..39852e1 100644 --- a/exploit.mjs +++ b/exploit.mjs @@ -695,24 +695,20 @@ function ExecRopByFw() import('./send.mjs'); } - if (UA == "8.00" || UA == "8.01") - { - alert("No ROP implemented"); - } - - if (UA == "8.03") + //8.00 and 8.01 need to be tested.. this is mostly for 8.03 + if (UA == "8.00" || UA == "8.01" || UA == "8.03") { import('./rop/800.mjs'); } + //on 8.5x to 9.60 Fw detection changed to laystation instead of regular Playstation + UA = navigator.userAgent.substring(navigator.userAgent.indexOf('5.0 (') + 19, navigator.userAgent.indexOf(') Apple')).replace("layStation 4/",""); + if (UA == "8.50" || UA == "8.51") { import('./rop/850.mjs'); } - //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" || UA == "9.03" || UA == "9.04") { import('./rop/900.mjs');