Fix proper ROP calling
This commit is contained in:
+32
-15
@@ -676,29 +676,46 @@ async function get_ready() {
|
||||
}
|
||||
|
||||
//load per firmware Rop Test function by kameleon..
|
||||
function ExecRopByFw() {
|
||||
function ExecRopByFw()
|
||||
{
|
||||
var UA = navigator.userAgent.substring(navigator.userAgent.indexOf('5.0 (') + 19, navigator.userAgent.indexOf(') Apple')).replace("PlayStation 4/","");
|
||||
|
||||
if (navigator.userAgent.includes('PlayStation 4')) {
|
||||
if (["6.00", "6.02", "6.10", "6.20"].includes(UA)) {
|
||||
if (navigator.userAgent.includes('PlayStation 4'))
|
||||
{
|
||||
if (["6.00", "6.02", "6.10", "6.20"].includes(UA))
|
||||
{
|
||||
alert("No ROP implemented");
|
||||
} else if (["6.50", "6.70", "6.71", "6.72"].includes(UA)) {
|
||||
}
|
||||
else if (["6.50", "6.70", "6.71", "6.72"].includes(UA))
|
||||
{
|
||||
alert("No ROP implemented");
|
||||
} else if (["7.01", "7.02", "7.50", "7.51", "7.55"].includes(UA)) {
|
||||
}
|
||||
else if (["7.01", "7.02", "7.50", "7.51", "7.55"].includes(UA))
|
||||
{
|
||||
import('./send.mjs');
|
||||
} else if (["8.00", "8.01", "8.03"].includes(UA)) {
|
||||
}
|
||||
else if (["8.00", "8.01", "8.03"].includes(UA))
|
||||
{
|
||||
import('./rop/800.mjs');
|
||||
} else {
|
||||
var UA = navigator.userAgent.substring(navigator.userAgent.indexOf('5.0 (') + 18, navigator.userAgent.indexOf(') Apple')).replace("PlayStation 4/","");
|
||||
if (["8.50", "8.51"].includes(UA)) {
|
||||
}
|
||||
|
||||
else if (["8.50", "8.51"].includes(UA))
|
||||
{
|
||||
import('./rop/850.mjs');
|
||||
} else {
|
||||
var UA = navigator.userAgent.substring(navigator.userAgent.indexOf('5.0 (') + 18, navigator.userAgent.indexOf(') Apple')).replace("PlayStation 4/","");
|
||||
if (["9.00", "9.03", "9.04", "9.50", "9.51", "9.60"].includes(UA)) {
|
||||
import('./rop/900.mjs');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// For PS4 9.00 to 9.60
|
||||
var UA = navigator.userAgent.substring(navigator.userAgent.indexOf('5.0 (') + 18, navigator.userAgent.indexOf(') Apple')).replace("PlayStation 4/","");
|
||||
|
||||
if (["9.00", "9.03", "9.04"].includes(UA))
|
||||
{
|
||||
import('./rop/900.mjs');
|
||||
}
|
||||
else if (["9.50", "9.51", "9.60"].includes(UA))
|
||||
{
|
||||
import('./rop/950.mjs');
|
||||
}
|
||||
|
||||
} else if (navigator.userAgent.includes('PlayStation 5')) {
|
||||
var UA = navigator.userAgent.substring(navigator.userAgent.indexOf('5.0 (') + 32, navigator.userAgent.indexOf(') Apple')).replace("PlayStation 5/","");
|
||||
if (["1.00", "1.01", "1.02", "1.05", "1.12", "1.14", "2.00", "2.10", "2.20", "2.25", "2.26", "2.30", "2.50", "2.70", "3.00", "3.10", "3.20", "3.21", "4.00", "4.02", "4.03", "4.50", "4.51", "5.00", "5.02", "5.10", "5.50"].includes(UA)) {
|
||||
|
||||
Reference in New Issue
Block a user