Find Pattern Advanced !? For Offset

Posts 1–4 of 4 · Page 1 of 1
Find Pattern Advanced !? For Offset
I need findpattern function to find offset ..
i tried the normal one but it fails !!!!
Code:
	DWORD FPLeftClickAttribute = FindPattern((DWORD)CShell, 0xFFFFFF,(PBYTE)"\xFF\x15\x00\x00\x00\x00\x8B\x0D\x00\x00\x00\x00\x8B\x04\xB1\x83\x88\x00\x00\x00\x00\x00", "xx????xx????xxxxx?????");
	if(FPLeftClickAttribute!=NULL){ 
	LeftClickAttribute = (*(DWORD*)(FPLeftClickAttribute + 7));
}
what am i doing wrong !! ...
Try to add 0x2 to JMP to Offset!

Code:
DWORD FPLeftClickAttribute = FindPattern((DWORD)CShell, 0xFFFFFF,(PBYTE)"\xFF\x15\x00\x00\x00\x00\x8B\x0D\x00\x00\x00\x00\x8B\x04\xB1\x83\x88\x00\x00\x00\x00\x00", "xx????xx????xxxxx?????"); 
LeftClickAttribute = (*(DWORD*)(FPLeftClickAttribute + 0x2));
Quote Originally Posted by CFHackerExtreme View Post
Try to add 0x2 to JMP to Offset!

Code:
DWORD FPLeftClickAttribute = FindPattern((DWORD)CShell, 0xFFFFFF,(PBYTE)"\xFF\x15\x00\x00\x00\x00\x8B\x0D\x00\x00\x00\x00\x8B\x04\xB1\x83\x88\x00\x00\x00\x00\x00", "xx????xx????xxxxx?????"); 
LeftClickAttribute = (*(DWORD*)(FPLeftClickAttribute + 0x2));
Since he uses +7, i guess that he needs the second variable (+8)... @I2espect
+7 points to "0D\x00\x00\x00"
you need +8

I hope i could help...
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?