Solved Why crush?

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

VDV777

Jr.Coder
Full Member
Nobleman
Mar 31, 2013
87
437
1
Why crush - when inject dll? what error?

C++:
DWORD WINAPI Game_thread (LPVOID);
DWORD APIENTRY DllMain (HMODULE hModule ,DWORD ul_reason_for_call , LPVOID lpReservid )
{
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
        CreateThread (NULL,NULL,Game_thread,NULL,NULL,NULL);

    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
    case DLL_PROCESS_DETACH:
    break;
    }
    return true;
}

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(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask)
{
for(DWORD i=0; i < dwLen; i++)
if( bCompare( (BYTE*)( dwAddress+i ),bMask,szMask) )

return (DWORD)(dwAddress+i);
return 0;
}
DWORD WINAPI Game_thread (LPVOID)
{
    DWORD old_protect = 0;
for(;;/*Sleep(75)*/)
 {
    
    DWORD Recoil = FindPattern (0xFFFFFF , NULL , (PBYTE)"\x72\x65\x63\x6F\x69\x6C\x20\x61" ,"xxxxxxxx");
    VirtualProtect ((PBYTE)Recoil, 8 , PAGE_EXECUTE_READWRITE , &old_protect);
    memcpy ((void*)Recoil ,PBYTE("\x71\x65\x63\x6F\x69\x6C\x20\x61"), 8 );
    VirtualProtect ((PBYTE) Recoil, 8 , old_protect , &old_protect);
 }
}
 

xploiitz

Coder
Fleep Tier Donator
Trump Tier Donator
Nobleman
Jul 26, 2012
155
1,698
7
Crush? Or Crash?

Could you post the error message?
 

VDV777

Jr.Coder
Full Member
Nobleman
Mar 31, 2013
87
437
1
Crush? Or Crash?

Could you post the error message?
crash , sory .
error??? hah , if you want , please:
Имя события проблемы: APPCRASH
Имя приложения: Game.exe
Версия приложения: 1.1.1.374
Отметка времени приложения: 519c10f0
Имя модуля с ошибкой: ТЕСТ№3.dll
Версия модуля с ошибкой: 0.0.0.0
Отметка времени модуля с ошибкой: 519e7688
Код исключения: c0000005
Смещение исключения: 00001075
Версия ОС: 6.1.7600.2.0.0.256.1
Код языка: 1049
Дополнительные сведения 1: 0a9e
Дополнительные сведения 2: 0a9e372d3b4ad19135b953a78882e789
Дополнительные сведения 3: 0a9e
Дополнительные сведения 4: 0a9e372d3b4ad19135b953a78882e789
 

till0sch

Respected Hacker
Dank Tier VIP
Dank Tier Donator
Oct 14, 2012
1,104
12,593
51
Why crush - when inject dll? what error?

C++:
DWORD WINAPI Game_thread (LPVOID);
DWORD APIENTRY DllMain (HMODULE hModule ,DWORD ul_reason_for_call , LPVOID lpReservid )
{
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
        CreateThread (NULL,NULL,Game_thread,NULL,NULL,NULL);

    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
    case DLL_PROCESS_DETACH:
    break;
    }
    return true;
}

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(DWORD dwAddress,DWORD dwLen,BYTE *bMask,char * szMask)
{
for(DWORD i=0; i < dwLen; i++)
if( bCompare( (BYTE*)( dwAddress+i ),bMask,szMask) )

return (DWORD)(dwAddress+i);
return 0;
}
DWORD WINAPI Game_thread (LPVOID)
{
    DWORD old_protect = 0;
for(;;/*Sleep(75)*/)
 {
    
    DWORD Recoil = FindPattern (0xFFFFFF , NULL , (PBYTE)"\x72\x65\x63\x6F\x69\x6C\x20\x61" ,"xxxxxxxx");
    VirtualProtect ((PBYTE)Recoil, 8 , PAGE_EXECUTE_READWRITE , &old_protect);
    memcpy ((void*)Recoil ,PBYTE("\x71\x65\x63\x6F\x69\x6C\x20\x61"), 8 );
    VirtualProtect ((PBYTE) Recoil, 8 , old_protect , &old_protect);
 }
}
How many threads you want to make for FindPattern ? How about googling it ?! And why you make FindPattern? Is there no static address?!
 

VDV777

Jr.Coder
Full Member
Nobleman
Mar 31, 2013
87
437
1
How many threads you want to make for FindPattern ? How about googling it ?! And why you make FindPattern? Is there no static address?!
if change static address = crash game(is online game , is protection) . therefore i need to change "array of byte"("\x71\x65\x63\x6F\x69\x6C\x20\x61")
 

c5

Kim Kong Trasher
Dank Tier VIP
Dank Tier Donator
Jul 19, 2012
1,187
12,638
76
if change static address = crash game(is online game , is protection) . therefore i need to change "array of byte"("\x71\x65\x63\x6F\x69\x6C\x20\x61")
Does not make any sense
 

xploiitz

Coder
Fleep Tier Donator
Trump Tier Donator
Nobleman
Jul 26, 2012
155
1,698
7
VDV777, we are all here to help each other, this is a great community and compared to UC/ GD and a few others, this place really does help alot more (in my opinion), and im not saying that those communities are bad either, they are a wealth of knowledge.

But if you really want any of us to help you, please take the time to write proper complete sentences,with at least half decent punctuation.
No one will take you seriously with the way that you are requesting helping, it seems like you arent putting much effort at all into your questions, we need better descriptions from you, maybe some screen shots or something.
I'm not sure how anyone else feels but I get really annoyed and wanna skip over certain threads because of very poor context / punctuation / grammar, its absolutely frustrating to see someone that wants help and yet they dont even bother to write a decent sentence or two!

You're making your self a really bad reputation with the way you are going about things.
Everyone loves new members, we all wanna help.

When you read back your own sentences does it not strike you like "what the fuck am I writing?"
Would you not be irritated if someone started asking you questions in the manner you are?

I'm not trying to be an asshole to you man, just slow down, take your time and write nice complete sentences ...
remember, we WANT to help you, but we can't help you if you dont give us understandable information, or are lacking information!

Happy postings man!
 
Last edited:
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods