|How to extend this decryption script?
|Page 1 of 1|
|Author:||TheEleh [ Wed Nov 24, 2021 10:30 am ]|
|Post subject:||How to extend this decryption script?|
So I've been on a long journey to decrypt a mobile game, Mass for the Dead, right? I'm no coding expert by any means, but I've been doing what I can to try and make progress.
Essentially, what I want to do is take the "overlord" script from this thread: viewtopic.php?f=9&t=15671&hilit=mass+for+the+dead (I've already modified it to try more XOR key combinations because the original only decrypts a handful (I'll attach the original work in this post)--
# Set up a list of possible xor keys
--and extend it in a way that it will try more XOR keys to decrypt files. I want to go beyond 5 keys (I added “PutArray”’s 6-9), but I keep breaking the script in the process trying to adapt the rest. There’s also a disconnect between what I’ve added and the rest of the script, so it’s hardly better than the original.
It's probably something somewhat simple, but having some direction to decipher the logic would be nice.
If anyone wants to try any specific sample files to decrypt, I'll post a link to a thread that has most, if not all the files for the game: https://forum.xentax.com/viewtopic.php?f=16&t=24400 (I'm specifically looking at the files in the "u" folder if you want to look at it.) I would attach the files more directly here, but it seems the forum doesn't support the file type.
|Author:||aluigi [ Sun Nov 28, 2021 7:31 pm ]|
|Post subject:||Re: How to extend this decryption script?|
Here we go:
# Overlord decrypter
It looks like the key has a size of N bytes where the first half is 0xff except for the first byte (0x00) and the second half is 0x00.
|Page 1 of 1||All times are UTC|
|Powered by phpBB® Forum Software © phpBB Limited