fix patch_sz

This commit is contained in:
SpCreatePackaedLicense 2025-02-14 18:36:39 +00:00 committed by GitHub
parent 7adb01c871
commit 8cf7d446c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -256,7 +256,7 @@ int main()
printf("[+] Set protection to RWX\n");
const BYTE Patch[PATCH_SZ] = PATCH;
MwcWriteProcessMemory(pMIIEow, PatchAddr, 4, Patch);
MwcWriteProcessMemory(pMIIEow, PatchAddr, PATCH_SZ, Patch);
printf("[+] Patched\n");
ULONG _;