Category PS4 CFW and Hacks       Thread starter PSXHAX       Start date Aug 2, 2020 at 10:35 AM       4,961       12            
Following the JSON Format details, PS4 PKGs via SEN and the JSON Entitlement Grabber Add-on this weekend developer hosamn made available a PS4-JSON-2-SHA1 Python Script for use in checking the hashes of PlayStation 4 game packages. :geek:

Download: / GIT

This comes proceeding the PS4 PKG Integrity Checker for PS4 packages and the PS4 Title Update Checker, and from the, to quote: PS4-json-2-sha1

Generate SHA1 integrity check files for PS4 game PKG files from official json data. eg: JSON File:
Resulting files can be used to check PKG files with any hash checker like HashCheck Shell Extension.

import json
import os

# Change the working directory to the py file dir:

# Get a list of current dir json files:
for root, dirs, files in os.walk("."):
    # print(len(files), files)
    json_files = [f for f in files if f.endswith('.json')]
    break  # break after reporting current dir files and don't go deeper

# print(json_files)

for json_file in json_files:

    out_file_name = json_file.split('.')[0]+'.sha1'

    with open(json_file) as opf:
        data = json.loads(

    for i in range(data['numberOfSplitFiles']):
        piece_name = data['pieces'][i]['url'].split('/')[-1]
        piece_hash = data['pieces'][i]['hashValue']
        file_line = piece_hash + ' *' + piece_name
        with open(out_file_name, 'a') as outt:
PS4 JSON-2-SHA1 Python Script for Game PKG Files by Hosamn.jpg



SHA1 is a one-way cryptographic hash, thus this Python Script is used for decrypting the hashes which are somewhat like passwords within the PS4 PKG file, thus without this tool, the other alternative would be to apply brute force


Staff Member
Senior Member
I take it it don't show for ofs pkg ? now we need some tool that will download the ofs pkg
and the updates and make our fpkg back to ofs and update them then make fpkg again
Recent Articles
PS4HEN 2.1.3 with 7.51 FW Version Spoof 6.72 Port via Joonie86 / SiSTR0
Following PS4HEN v2.1.3, the PS4HEN v2.1.4 Fork, ESP8266 Xploit Host 2.84f, the PS4 6.72 Jailbreak Exploit Menu v5 updates and PS4 Cheater 1.4.8 with 6.72 support by GiantPluto, today PlayStation...
PS4 PKG Sender v1.03 for PlayStation 4 Package Files by FrostySo
Proceeding the PS4 Package Sender 1.2 Update by @MODDEDWARFARE, this weekend PlayStation 4 developer FrostySo of shared on Twitter his own PS4 PKG Sender v1.0 followed by v1.01...
PSXHAX Member Verification & PS4 Fake PKG (FPKG) Sharing Guide
Since the 6.72 PS4JB release last month we've received several requests to make a detailed guide for getting Verified on PSXHAX and sharing PS4 Fake PKG (FPKG) backports / dumps with other...
State of Play August 2020 Features New Godfall PS5 Gameplay and More!
Following the last PlayStation State of Play event, the Godfall PS5 Reveal Trailer and the Godfall PS5 Box Art here's a recap of the latest State of Play for August 2020 featuring a new Godfall...