A tool for deriving PKG packet encryption keys for ps4 written in c++
| 1 | #include <cstdint> |
| 2 | #include "common/ntapi.h" |
| 3 | #include "common/shadpkg_types.h" |
| 4 | |
| 5 | #ifdef _WIN32 |
| 6 | static u64 NtSetInformationFile_stub(HANDLE, PIO_STATUS_BLOCK, PVOID, ULONG, FILE_INFORMATION_CLASS) { |
| 7 | return 0; |
| 8 | } |
| 9 | |
| 10 | NtSetInformationFile_t NtSetInformationFile = NtSetInformationFile_stub; |
| 11 | #endif |
| 12 |