fix patch_sz
This commit is contained in:
parent
7adb01c871
commit
8cf7d446c1
@ -256,7 +256,7 @@ int main()
|
|||||||
printf("[+] Set protection to RWX\n");
|
printf("[+] Set protection to RWX\n");
|
||||||
|
|
||||||
const BYTE Patch[PATCH_SZ] = PATCH;
|
const BYTE Patch[PATCH_SZ] = PATCH;
|
||||||
MwcWriteProcessMemory(pMIIEow, PatchAddr, 4, Patch);
|
MwcWriteProcessMemory(pMIIEow, PatchAddr, PATCH_SZ, Patch);
|
||||||
printf("[+] Patched\n");
|
printf("[+] Patched\n");
|
||||||
|
|
||||||
ULONG _;
|
ULONG _;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user