Several Fixes - Mods

This commit is contained in:
Kameleon
2024-01-27 22:46:24 -06:00
parent ce296a4363
commit f0e86f2f99
2 changed files with 12 additions and 22 deletions
+2 -2
View File
@@ -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;
}
+10 -20
View File
@@ -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");
}
}