Add files via upload
This commit is contained in:
parent
5fcf45f52e
commit
b9ee7b46db
|
@ -38,7 +38,7 @@ def ReadPublisherKey(p12, khapp): # used for PSM Developer Assistant (debug PSSE
|
|||
passphrase = b"password"
|
||||
private_key, certificate, additional_certificates = pkcs12.load_key_and_certificates(pkcs12_file, passphrase) # Parse PKCS12 file
|
||||
|
||||
print("[*] Reading: HKAPP "+khapp)
|
||||
print("[*] Reading HKAPP/HKRNG "+khapp)
|
||||
hkfd = open(khapp, "rb")
|
||||
offset_by = 0
|
||||
|
||||
|
@ -132,7 +132,7 @@ def DecryptFile(input_filename):
|
|||
iv = b"\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F" # Header IV, used to find the real IV
|
||||
key = b"\x4E\x29\x8B\x40\xF5\x31\xF4\x69\xD2\x1F\x75\xB1\x33\xC3\x07\xBE" # Header key for PSM Runtime and used in all retail games.
|
||||
psm_dev_key = b"\x00\x11\x22\x33\x44\x55\x66\x77\x88\x99\xAA\xBB\xCC\xDD\xEE\xFF" # Header key for PSM Dev, used for all files encrypted with psm_encryptor.dll
|
||||
runtime_game_key = b"\xA8\x69\x3C\x4D\xF0\xAE\xED\xBC\x9A\xBF\xD8\x21\x36\x92\x91\x2D" # key for Sce.PlayStation.Core.dll
|
||||
runtime_game_key = b"\xA8\x69\x3C\x4D\xF0\xAE\xED\xBC\x9A\xBF\xD8\x21\x36\x92\x91\x2D" # key for the PlayStation Mobile Runtime (eg used in Sce.PlayStation.Core.dll)
|
||||
|
||||
total_blocks = math.floor(os.path.getsize(input_filename) / 0x8000)+1
|
||||
|
||||
|
|
Loading…
Reference in New Issue