vmjcv / fit-size

0 stars 0 forks source link

Get decryption key of Godot game #1

Open polybiusproxy opened 1 year ago

polybiusproxy commented 1 year ago

Hey there,

This issue is unrelated to this repo, but I don't see any way to contact you. I want to decompile a game's GDScript files, and they're encrypted, sadly.

I saw your post here (which got deleted), and I thought to contact you. image

I'd like to know the steps required to obtain the decryption key on IDA. Thanks.

Magic-KK commented 1 year ago

Hi, did you find it?

polybiusproxy commented 1 year ago

Hi, did you find it?

Yeah, found a great tool for it: https://github.com/pozm/godot-key-extract

vmjcv commented 1 year ago

OK.this is my idea.

unk_7FF68B44FFE0 is the encryption key.

The direct conversion is actually similar to a 32-bit string. What I actually need is 64-bit encoding. McQfTjWnZr4u7x! A%D*G-JaNdRgUkXp2 Just take the heinary string directly: 4D635166546A576E5A7234753778214125442A472D4A614E645267556B587032

Magic-KK commented 1 year ago

Thank you, I'll go back tonight and try, I can't find the load_byte_code string with IDA yesterday, I don't know why.

Magic-KK commented 1 year ago

Thanks, but I failed with the injection method, and the injection cannot go in.