[Codeproject][Hack] Binary Skillz

03/19/2010 02:31 Odin81#571
geleecht aus UC..forum für hs bypass
Code:
BOOL bCompare (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 FindPattern(BYTE *bMask, char * szMask, int codeOffset, BOOL extract)
{
    for(DWORD i = 0; i < dwSize; i++)
    {
        if(bCompare((BYTE*)(dwStartAddress + i),bMask,szMask))
        {
            if(extract) 
            {
                return *(DWORD*)(dwStartAddress + i + codeOffset);
            }
            else 
            {
                return (DWORD)(dwStartAddress + i + codeOffset);
            }
        }
    }
    return NULL;
}
Code:
void HackShield ()
{
                        Sleep (1000);
dwStartAddress = 0;
                   do{
        dwStartAddress = (DWORD)GetModuleHandleA("EhSvc.dll")); 
                  Sleep(10L);
                     }while
                           (!dwStartAddress);
                                  dwSize = 0x50000 // This is dont need update this is standard module of hackshield

DWORD HS1 = FindPattern((PBYTE)"\x89\x4D\xFC\xE9\x00\x00\x00\x00\x07","xxxx????x",3, false);          
DWORD HS2 = FindPattern((PBYTE)"\xE8\x00\x00\x00\x00\x83\xF8\x01\x0F\x84\x00\x00\x00\x00\xC6\x85\x00\x00\x00\x00\x00","x????xxxxx????xx?????",0,false);
DWORD HS3 = FindPattern((PBYTE)"\x75\x00\x8B\x74\x24\x00\x53\xB9\x00\x00\x00\x00","x?xxx?xx????",0, false);

// if you dont want using sigs just make log and take addy

     Memcpy((LPBYTE)HS1,(PBYTE)"\x90\x90\x90\x90\x90",5); 
     Memcpy((LPBYTE)HS2,(PBYTE)"\xB8\x01\x00\x00\x00",5);
     Memcpy((LPBYTE)HS3,(PBYTE)"\x90\x90",2);



}
Credits : xUrban, Gordon' for FindPattern
03/19/2010 14:30 Chimaerus#572
Ich leech mal auch ein wenig code ;)

[Credits]
combatarmshacks

[Hotkeys]
Numpad 0 - Boxes
Numpad 1 - Sat Chams
Numpad 2 - No fog
Numpad 3 - ShowFps


Code :
#include <windows.h>
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x377981F0 ); // CA-NA
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );

__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
bool IsGameReadyForHook()
{
if( GetModuleHandle( "d3d9.dll" ) != NULL
&& GetModuleHandle( "ClientFX.fxd" ) != NULL
&& GetModuleHandle( "CShell.dll" ) != NULL )
return true;

return false;
}
bool sat[2];
bool fog[2];
void main()
{
while (!IsGameReadyForHook()){
Sleep(1);
}
bool boxes = false;
bool showfps = false;
while(true){
if(GetAsyncKeyState(VK_NUMPAD0)<0){
if(boxes){
PushToConsole("ModelDebug_DrawBoxes 0");
boxes = false;
} else {
PushToConsole("ModelDebug_DrawBoxes 1");
boxes = true;
}
}
if(GetAsyncKeyState(VK_NUMPAD1)&1) sat[0] = !sat[0];
if(sat[0] && !sat[1])
{
PushToConsole("SkelModelStencil 1");
} else if(sat[1]) {
PushToConsole("SkelModelStencil 0");
sat[1] = false;
}

if(GetAsyncKeyState(VK_NUMPAD2)&1) fog[0] = !fog[0];
if(fog[0] && !fog[1])
{
PushToConsole("FogEnable 0");
} else if(fog[1]) {
PushToConsole("FogEnable 1");
fog[1] = false;
}
if(GetAsyncKeyState(VK_NUMPAD3)<0){
if(showfps){
PushToConsole("ShowFps 0");
showfps = false;
} else {
PushToConsole("ShowFps 1");
showfps = true;
}
}
Sleep(200);
}
}



BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
03/19/2010 14:53 Ende!#573
Quote:
Originally Posted by Chimaerus View Post
Ich leech mal auch ein wenig code ;)

[Credits]
combatarmshacks

[Hotkeys]
Numpad 0 - Boxes
Numpad 1 - Sat Chams
Numpad 2 - No fog
Numpad 3 - ShowFps


Code :
#include <windows.h>
void __cdecl PushToConsole( const char* szCommand )
{
DWORD *LTClient = ( DWORD* )( 0x377981F0 ); // CA-NA
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );

__asm
{
push szCommand;
call CONoff;
add esp, 4;
}
}
bool IsGameReadyForHook()
{
if( GetModuleHandle( "d3d9.dll" ) != NULL
&& GetModuleHandle( "ClientFX.fxd" ) != NULL
&& GetModuleHandle( "CShell.dll" ) != NULL )
return true;

return false;
}
bool sat[2];
bool fog[2];
void main()
{
while (!IsGameReadyForHook()){
Sleep(1);
}
bool boxes = false;
bool showfps = false;
while(true){
if(GetAsyncKeyState(VK_NUMPAD0)<0){
if(boxes){
PushToConsole("ModelDebug_DrawBoxes 0");
boxes = false;
} else {
PushToConsole("ModelDebug_DrawBoxes 1");
boxes = true;
}
}
if(GetAsyncKeyState(VK_NUMPAD1)&1) sat[0] = !sat[0];
if(sat[0] && !sat[1])
{
PushToConsole("SkelModelStencil 1");
} else if(sat[1]) {
PushToConsole("SkelModelStencil 0");
sat[1] = false;
}

if(GetAsyncKeyState(VK_NUMPAD2)&1) fog[0] = !fog[0];
if(fog[0] && !fog[1])
{
PushToConsole("FogEnable 0");
} else if(fog[1]) {
PushToConsole("FogEnable 1");
fog[1] = false;
}
if(GetAsyncKeyState(VK_NUMPAD3)<0){
if(showfps){
PushToConsole("ShowFps 0");
showfps = false;
} else {
PushToConsole("ShowFps 1");
showfps = true;
}
}
Sleep(200);
}
}



BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
Lange fixed, das andere probier ich gerade ^^

Edit:
Der andere ich auch fixed.
03/19/2010 15:32 Chimaerus#574
So ein Mist ^^
In dem Forum klang das recht neu :/ (Post war keine Woche alt)

Nya wenn ich wieder was finde teste ich es mal vorher ;)
03/19/2010 17:54 iLIKEmt2#575
heute wurde doch viel detected
03/19/2010 17:55 Odin81#576
Naja dan heisstet es wieder [Only registered and activated users can see links. Click Here To Register...]
03/19/2010 19:21 CaKind1#577
Ende! sag mir ma was du noch brauchst ^^ an Addys

€d!t: Nach Stundenlangen suchen:: Funkenden Anti-Kick

Addy: 05EB6A4A

Value: \0 (NULL) (0) \1 (EINS) (1)
03/20/2010 08:12 Ennea#578
Quote:
Originally Posted by CaKind1 View Post
Funkenden Anti-Kick
Haste probiert?
03/20/2010 10:13 CaKind1#579
JA ! hab ich
03/20/2010 10:34 Ende!#580
Ich probier gleich mal ;)
03/20/2010 12:38 CaKind1#581
bei mir ging er oO auf jeden fall
03/20/2010 12:56 LittleJake#582
hmm also hat jemand nen bypass für mich? oder bin ich nur zu blöd values zwischen 1 und 999999 zu finden?
03/20/2010 13:19 Ende!#583
Quote:
Originally Posted by drumkid View Post
hmm also hat jemand nen bypass für mich? oder bin ich nur zu blöd values zwischen 1 und 999999 zu finden?
Cheat Engine wird detected, musst schon MHS nehmen ^^
03/20/2010 14:16 CaKind1#584
welche hack addys brauchste noch ?
auf jeden fall en bypass oda `??
ich selber nutz au MHS obwohl des iwie nervig is ^^
03/20/2010 14:39 2tobias2#585
Also ich finde der Name passt es ist gut dass kein Telekill reinkommt der Rest der drin ist richtig geil man :D freu mich schon wenn er fertig ist kannste mir den hier oder per icq bescheid sagen? icq: 424-647-729 bitte sag bescheid^^