Update exploit.mjs

Fix User Agent for 8.5x Thx EchoStrech
This commit is contained in:
Kameleon
2024-02-20 08:44:29 -06:00
committed by GitHub
parent 20e4aa2747
commit 674b7391d0
+5 -9
View File
@@ -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');