mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-24 01:14:12 +08:00
improve v8 hook
This commit is contained in:
parent
aa4e289cc8
commit
28172e2cea
@ -10173,6 +10173,7 @@ void SpecialHookV8String(DWORD dwDatabase, HookParam* hp, BYTE, DWORD* data, DWO
|
|||||||
DWORD strPtr = *(DWORD*)ecx;
|
DWORD strPtr = *(DWORD*)ecx;
|
||||||
*data = strPtr + 0xb;
|
*data = strPtr + 0xb;
|
||||||
*len = *(short*)(strPtr + 7);
|
*len = *(short*)(strPtr + 7);
|
||||||
|
if (*len < 12) *len = 0; // To ensure this is caught by cyclic repetition detection, only send with 6+ wide chars
|
||||||
//*split = *(DWORD*)((BYTE*)hp->split + dwDatabase);
|
//*split = *(DWORD*)((BYTE*)hp->split + dwDatabase);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user