Sig Scan Detected...

Posts 1–4 of 4 · Page 1 of 1
Sig Scan Detected...
Just to let you know this code for sig scanning is detected by HackShield..


Code:
/DWORD Pattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask);
bool Compare(const BYTE* pData, const BYTE* bMask, const char* szMask);

 The code below is used for signature scanning....
bool Compare(const BYTE* pData, const BYTE* bMask, const char* szMask)
{
	for(;*szMask;++szMask,++pData,++bMask)
		if(*szMask=='x' && *pData!=*bMask) return 0;
	return (*szMask) == NULL;
}

DWORD Pattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask)
{
	for(DWORD i=0; i<dwLen; i++)
		if (Compare((BYTE*)(dwAddress+i),bMask,szMask)) return (DWORD)(dwAddress+i);
	return 0;
}
I think you gotta encrypt your mask
Quote Originally Posted by hack4me View Post
Just to let you know this code for sig scanning is detected by HackShield..


Code:
/DWORD Pattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask);
bool Compare(const BYTE* pData, const BYTE* bMask, const char* szMask);
 
 The code below is used for signature scanning....
bool Compare(const BYTE* pData, const BYTE* bMask, const char* szMask)
{
    for(;*szMask;++szMask,++pData,++bMask)
        if(*szMask=='x' && *pData!=*bMask) return 0;
    return (*szMask) == NULL;
}
 
DWORD Pattern(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask)
{
    for(DWORD i=0; i<dwLen; i++)
        if (Compare((BYTE*)(dwAddress+i),bMask,szMask)) return (DWORD)(dwAddress+i);
    return 0;
}
im not even gonna bother attempting to help... its just sad.
Quote Originally Posted by Grim View Post

im not even gonna bother attempting to help... its just sad.
That was so GRIM
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us