From 7e54255d29141d63ba2779082bb68628f6037751 Mon Sep 17 00:00:00 2001 From: raziel1000 Date: Sat, 2 Mar 2024 14:06:10 -0700 Subject: [PATCH] - Fixed pkg extraction. --- src/core/file_format/pkg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/file_format/pkg.cpp b/src/core/file_format/pkg.cpp index b1aaa798..b6040c5a 100644 --- a/src/core/file_format/pkg.cpp +++ b/src/core/file_format/pkg.cpp @@ -135,7 +135,7 @@ bool PKG::Extract(const std::string& filepath, const std::filesystem::path& extr } for (int i = 0; i < 7; i++) { - file.Read(key1); + file.Read(key1[i]); } PKG::crypto.RSA2048Decrypt(dk3_, key1[3], true); // decrypt DK3