Vivid Abstractions Where Programming Becomes An Abstraction

10Apr/103

Video Tutorial – Memory Pattern Scanning

This is my video tutorial on scanning memory patterns to find addresses in memory that change during recompilation.

Click here for the tutorial!

The pattern scanning function:

bool bDataCompare(const BYTE* pData, const BYTE* bMask, const char* szMask)
{
	for(;*szMask;++szMask,++pData,++bMask)
		if(*szMask=='x' && *pData!=*bMask )
			return false;
	return (*szMask) == NULL;
}
DWORD dwFindPattern(DWORD dwAddress,DWORD dwLen, BYTE *bMask, char * szMask) {
	for(DWORD i=0;i<dwLen;i++)
		if( bDataCompare( (BYTE*)( dwAddress+i ),bMask,szMask) )
			return (DWORD)(dwAddress+i);
	return NULL;
}

SigMaker 0.3 by P47R!CK
Enjoy.

   
SEO Powered by Platinum SEO from Techblissonline

Page optimized by WP Minify WordPress Plugin