i was hopping around hack sites and forums bfore and i came across something intresting.
the guy that made the d3d dave hack (big dave) has posted a good pb bypass he got loads of rep for it so i thought u might wanna no.
the reason im telling you is because im a bit of a hacker n00b and dindt really understand it.

he said something about injecting this .dll (scroll down) and the .dll of a detcted hack into iw3mp. i understood some but a qwuik tut would be nice thx evry1.

the .dll:



#include <windows.h>
#include <detours.h>
#include <stdio.h>

bool BypassD3D=false;
bool BypassD3D1=false;
bool BypassCorrMem=false;
bool Bypass1=false;
bool Bypass2=false;
char* ( __cdecl *ostrncpy )( char *Dest, char *Source,size_t size );
char* __cdecl hstrncpy( char *Dest, char *Source, size_t size )
{
if( strstr( Source, "d3d9.dll 021A35A") )
{
BypassD3D = true;
}
if( BypassD3D && ( size == 34 ) )
{
strcpy( Source, "1_8bff558bec6aff68b814f54f64a10000" );
BypassD3D = false;
}

if( strstr( Source, "d3d9.dll 0C89D07C") )
{
BypassD3D1 = true;
}
if( BypassD3D1 && ( size == 34 ) )
{
strcpy( Source, "2_558bec83ec0853525156579ce876fcff" );
BypassD3D1 = false;
}

if( strstr( Source, "1000 ff000") )
{
BypassCorrMem = true;
}
if( BypassCorrMem && ( size == 32 ) )
{
strcpy( Source, "776C3835DB719C286ED218EDE43DC5A8" );
BypassCorrMem = false;
}

if( strstr( Source, "100000 100000") )
{
Bypass1 = true;
}
if( Bypass1 && ( size == 32 ) )
{
strcpy( Source, "98D267A3BF34DF4976A6B2F909C2A1A0" );
Bypass1 = false;
}

if( strstr( Source, "200000 90fff") )
{
Bypass2 = true;
}
if( Bypass2 && ( size == 32 ) )
{
strcpy( Source, "BB617D99129F6559A165C47F9E796638" );
Bypass2 = false;
}
return ostrncpy( Dest, Source, size );

}

DWORD WINAPI MyPBCoD4(LPVOID)//New thread.
{
unsigned long dwPbclBase = 0;
if(dwPbclBase = (unsigned long)LoadLibrary(".\\pb\\pbcl.dll"))
ostrncpy = (char *(__cdecl *)(char *,char *,size_t))
DetourFunction( (PBYTE)dwPbclBase+0x4DB30,( PBYTE)hstrncpy);
__asm mov [ ostrncpy ], eax;

return 0;
}



BOOL WINAPI DllMain (HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved) //dllmain. Default from msdn.
{
if (dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(NULL, NULL, MyPBCoD4, NULL, NULL, NULL); //Creating
}

return -1;
}


any help would be much appreciated