Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Encryption key is required, but PCKBruteformer shows no encryption #20

Closed
fatecyx opened this issue Oct 19, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@fatecyx
Copy link

fatecyx commented Oct 19, 2024

Commit or version

a36d309

On which operating systems the error occurs

Windows

Issue description

When I attempt to "extract all," it prompts me for an encryption key. However, PCKBruteforcer indicates that the file is not encrypted. This discrepancy is confusing. I have attached the file for your reference.

https://drive.google.com/file/d/1VzilYM4a4LfHKDUNoUL63_-1CWDjToyE/view?usp=drive_link

Thank you for your assistance!

Steps to reproduce

N/A

@fatecyx fatecyx added the bug Something isn't working label Oct 19, 2024
@DmitriySalnikov
Copy link
Owner

DmitriySalnikov commented Oct 20, 2024

When I attempt to "extract all," it prompts me for an encryption key.

For me, this happens at the end of the process, which means that only a few files are encrypted and were packed at the very end.
For some reason, I forgot during development of Bruteforcer that Godot has filters and not all files can really be encrypted in it 😅
image

And the funny thing is that the game developer most likely wanted to encrypt the entire game, but did it only for the icon :)
image

However, PCKBruteforcer indicates that the file is not encrypted.

This is expected, because I take into account all files when choosing the one suitable for brute force, and not just those that are encrypted.

// First, find small files between 5KB and 1MB in size to have enough info for validation.
var files = pck_reader.Files.Where((f) => f.Value.Size >= 1024 * 5 && f.Value.Size < 1024 * 1024).OrderBy((f) => f.Value.Size);

I will fix both Bruteforcer and most likely PCK Explorer, I will make it check immediately when extracting/opening for the presence of separate encrypted files.


I can't find the encryption key in this game. And in fact, even the game can't find it. Most likely, this is a mistake by the developers and they did not want to encrypt the game.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants