feat: Add GoldHEN version selection
update: payload handling - Updated PSFree.manifest with new GoldHEN binaries and removed obsolete file. - Implemented functions to set and load selected GoldHEN version in localStorage. - Enhanced GoldHEN function to dynamically set payload path based on selected version. - Added UI elements in index.html for selecting GoldHEN versions.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
CACHE MANIFEST
|
||||
# v1
|
||||
# Generated on 2025-08-09 14:12:52.081208
|
||||
# Generated on 2025-08-09 17:53:23.489321
|
||||
|
||||
CACHE:
|
||||
index.html
|
||||
.vscode/settings.json
|
||||
includes/index.css
|
||||
includes/js/index.js
|
||||
includes/js/languages.js
|
||||
@@ -56,8 +57,10 @@ includes/payloads/Bins/Tools/ToKratos.bin
|
||||
includes/payloads/Bins/Tools/WebRTE_900.bin
|
||||
includes/payloads/GoldHEN/goldhen_2.3_702L.bin
|
||||
includes/payloads/GoldHEN/goldhen_2.3_755L.bin
|
||||
includes/payloads/GoldHEN/goldhen_2.4b18.3.bin
|
||||
includes/payloads/GoldHEN/goldhen_v2.4b18.2.bin
|
||||
includes/payloads/GoldHEN/goldhen_v2.4b18.4.bin
|
||||
includes/payloads/GoldHEN/goldhen_v2.4b18.5.bin
|
||||
includes/payloads/GoldHEN/goldhen_v2.4b18.bin
|
||||
includes/payloads/HEN/HEN.bin
|
||||
includes/payloads/testing/goldhen_2.4b18.5_allfw_test.bin
|
||||
includes/payloads/testing/ps4debug_v1.1.19.bin
|
||||
|
||||
@@ -649,6 +649,15 @@ function loadAutoJb() {
|
||||
}
|
||||
}
|
||||
|
||||
function setGoldHENVer(value){
|
||||
localStorage.setItem('GHVer', value);
|
||||
}
|
||||
|
||||
function loadGoldHENVer(){
|
||||
const goldHenVer = localStorage.getItem("GHVer");
|
||||
document.querySelector(`input[name="goldhen"][value="${goldHenVer}"]`).checked = true;
|
||||
}
|
||||
|
||||
|
||||
function loadLanguage() {
|
||||
var language = localStorage.getItem("language");
|
||||
@@ -759,7 +768,7 @@ function CheckFW() {
|
||||
let fwVersion = navigator.userAgent.substring(navigator.userAgent.indexOf('5.0 (') + 19, navigator.userAgent.indexOf(') Apple')).replace("layStation 4/","");
|
||||
const elementsToHide = [
|
||||
'ps-logo-container', 'choosejb-initial', 'exploit-main-screen', 'scrollDown',
|
||||
'payloadsbtn', 'autojbchkb', 'click-to-start-text'
|
||||
'payloadsbtn', 'autojbchkb', 'click-to-start-text', 'chooseGoldHEN'
|
||||
];
|
||||
|
||||
if (ps4Regex.test(userAgent)) {
|
||||
@@ -776,6 +785,29 @@ function CheckFW() {
|
||||
ps4fw = fwVersion;
|
||||
let fwElement = "fw"+fwVersion.replace('.','');
|
||||
document.getElementById(fwElement).classList.add('fwSelected');
|
||||
// Display only Compatible GoldHENs
|
||||
const GoldHENsOption = {
|
||||
"9.60": ["GHv2.3Fw755", "GHv2.3Fw702"],
|
||||
"9.00": ["GHv2.3Fw755", "GHv2.3Fw702"],
|
||||
"9.03": ["GHv2.3Fw755", "GHv2.3Fw702", "GHv2.4b18", "GHv2.4b18.2"],
|
||||
"7.55": ["GHv2.4b18.4", "GHv2.4b18.2", "GHv2.4b18"],
|
||||
"7.02": ["GHv2.4b18.4", "GHv2.4b18.2", "GHv2.4b18"]
|
||||
};
|
||||
// To remove all of them with one line in case the firmware is not listed
|
||||
const allElements = [
|
||||
"GHv2.3Fw755",
|
||||
"GHv2.3Fw702",
|
||||
"GHv2.4b18",
|
||||
"GHv2.4b18.4",
|
||||
"GHv2.4b18.2"
|
||||
];
|
||||
const idsToRemove = GoldHENsOption[ps4fw] || allElements;
|
||||
|
||||
idsToRemove.forEach(id => {
|
||||
const el = document.getElementById(id);
|
||||
if (el) el.remove();
|
||||
});
|
||||
|
||||
} else {
|
||||
platform = 'Unknown platform';
|
||||
|
||||
@@ -786,10 +818,10 @@ function CheckFW() {
|
||||
else if (/Linux/.test(userAgent)) platform = 'Linux';
|
||||
|
||||
document.getElementById('PS4FW').style.color = 'red';
|
||||
// elementsToHide.forEach(id => {
|
||||
// const el = document.getElementById(id);
|
||||
// if (el) el.style.display = 'none';
|
||||
// });
|
||||
elementsToHide.forEach(id => {
|
||||
const el = document.getElementById(id);
|
||||
if (el) el.style.display = 'none';
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -802,6 +834,7 @@ function loadSettings() {
|
||||
applyLanguage(currentLanguage);
|
||||
renderPayloads();
|
||||
loadAutoJb();
|
||||
loadGoldHENVer();
|
||||
} catch (e) {
|
||||
alert("Error in loadSettings: " + e.message);
|
||||
}
|
||||
|
||||
Binary file not shown.
BIN
includes/payloads/GoldHEN/goldhen_v2.4b18.2.bin
Normal file
BIN
includes/payloads/GoldHEN/goldhen_v2.4b18.2.bin
Normal file
Binary file not shown.
BIN
includes/payloads/GoldHEN/goldhen_v2.4b18.4.bin
Normal file
BIN
includes/payloads/GoldHEN/goldhen_v2.4b18.4.bin
Normal file
Binary file not shown.
BIN
includes/payloads/GoldHEN/goldhen_v2.4b18.bin
Normal file
BIN
includes/payloads/GoldHEN/goldhen_v2.4b18.bin
Normal file
Binary file not shown.
@@ -1,5 +1,28 @@
|
||||
export function GoldHEN(ps4fw) {
|
||||
window.payload_path = "./includes/payloads/GoldHEN/goldhen_v2.4b18.5.bin";
|
||||
export function GoldHEN() {
|
||||
let goldHenVersion = localStorage.getItem('GHVer');
|
||||
switch (goldHenVersion){
|
||||
case "GHv2.4b18.5":
|
||||
window.payload_path = "./includes/payloads/GoldHEN/goldhen_v2.4b18.5.bin";
|
||||
break;
|
||||
case "GHv2.4b18.4":
|
||||
window.payload_path = "./includes/payloads/GoldHEN/goldhen_v2.4b18.4.bin";
|
||||
break;
|
||||
case "GHv2.4b18.2":
|
||||
window.payload_path = "./includes/payloads/GoldHEN/goldhen_v2.4b18.2.bin";
|
||||
break;
|
||||
case "GHv2.4b18":
|
||||
window.payload_path = "./includes/payloads/GoldHEN/goldhen_v2.4b18.bin";
|
||||
break;
|
||||
case "GHv2.3Fw755":
|
||||
window.payload_path = "./includes/payloads/GoldHEN/goldhen_2.3_755L.bin";
|
||||
break;
|
||||
case "GHv2.3Fw702":
|
||||
window.payload_path = "./includes/payloads/GoldHEN/goldhen_2.3_702L.bin";
|
||||
break;
|
||||
default:
|
||||
window.payload_path = "./includes/payloads/GoldHEN/goldhen_v2.4b18.5.bin";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
export function testGoldHEN() {
|
||||
|
||||
34
index.html
34
index.html
@@ -229,7 +229,39 @@
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Choose GoldHEN version -->
|
||||
<div id="chooseGoldHEN" class="mb-6">
|
||||
<h3 class="text-lg font-semibold mb-2">GoldHEN versions</h3>
|
||||
<div class="radio-group space-y-2">
|
||||
<label class="flex items-center text-white/80">
|
||||
<input type="radio" name="goldhen" value="GHv2.4b18.5" onchange="setGoldHENVer(this.value);">
|
||||
<p id="enLang">GoldHEN v2.4b18.5 - Latest</p>
|
||||
</label>
|
||||
<details>
|
||||
<summary>Other versions</summary>
|
||||
<label id="GHv2.4b18.4" class="flex items-center text-white/80">
|
||||
<input type="radio" name="goldhen" value="GHv2.4b18.4" onchange="setGoldHENVer(this.value); ">
|
||||
<p>GoldHEN v2.4b18.4</p>
|
||||
</label>
|
||||
<label id="GHv2.4b18.2" class="flex items-center text-white/80">
|
||||
<input type="radio" name="goldhen" value="GHv2.4b18.2" onchange="setGoldHENVer(this.value); ">
|
||||
<p>GoldHEN v2.4b18.2</p>
|
||||
</label>
|
||||
<label id="GHv2.4b18" class="flex items-center text-white/80">
|
||||
<input type="radio" name="goldhen" value="GHv2.4b18" onchange="setGoldHENVer(this.value); ">
|
||||
<p>GoldHEN v2.4b18</p>
|
||||
</label>
|
||||
<label id="GHv2.3Fw755" class="flex items-center text-white/80">
|
||||
<input type="radio" name="goldhen" value="GHv2.3Fw755" onchange="setGoldHENVer(this.value); ">
|
||||
<p>GoldHEN v2.3 FW 7.55</p>
|
||||
</label>
|
||||
<label id="GHv2.3Fw702" class="flex items-center text-white/80">
|
||||
<input type="radio" name="goldhen" value="GHv2.3Fw702" onchange="setGoldHENVer(this.value); ">
|
||||
<p>GoldHEN v2.3 FW 7.02</p>
|
||||
</label>
|
||||
</details>
|
||||
</div>
|
||||
</div>
|
||||
<button onclick="settingsPopup()"
|
||||
class="mt-6 w-full bg-blue-600 hover:bg-blue-700 p-3 rounded font-semibold transition-colors"
|
||||
id="close-settings">Close</button>
|
||||
|
||||
Reference in New Issue
Block a user