CrashFix

This is a discussion on CrashFix within the Warcraft 3 Hacks, bots and tools board part of the Warcraft 3 forum category; Description This program fixes the bug that the current CrashHack exploits. This protects you from ALL forms of the CrashHack... ...

Page 1 of 7 123 ... LastLast
Results 1 to 10 of 70
  1. #1
    LordTerror is offline Guru
    Array
    Join Date
    Nov 2008
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    9
    Reputation
    116

    [v1.24d] CrashFix

    Description
    This program fixes the bug that the current CrashHack exploits.

    This protects you from ALL forms of the CrashHack... "Public version", "Private version", "Bendik's version" (which is just a renamed copy of the private version), and so on.

    Why use this hack?
    The CrashHack that people are using already as anti-CrashHack built in. You may be wondering why anyone would use this program instead of CrashHack itself. There are several reasons:

    1) Some legit players are resorting to using CrashHack just so they can play games on Battle.net. Some legit players want to be protected from CrashHack, but don't want to have to use it just for the protection. If you don't want to use hacks, but wouldn't mind using anti-hacks, then this program is for you.

    2) Safer (program wise). CrashHack is a closed-source that has a known backdoor. CrashFix, on the other hand, is open-source -- you can compile it yourself if you don't trust me.

    3) Safer (banning wise). CrashHack is plaguing Battle.net and Blizzard will definitely do something about it eventually. CrashFix, on the other hand, is not something that is causing Blizzard problems. CrashFix doesn't patch any of WC3's code, so Blizzard would need to SPECIFICALLY ban for CrashFix. They could ban for it, since it's a 3rd party program, but they would have to be doucebags to ban for a program that has the sole purpose of preventing crashes.

    4) Unlike CrashHack, this hack does not have a backdoor. Because the "private CrashHack" just exploits a backdoor in the public CrashHack, using this program will protect you from both the public and private CrashHacks.



    Instructions
    Inject this DLL file using RemoteDLL (any DLL injector will work) into your Warcraft III v1.24d process. If you inject this file into anything besides a Warcraft III v1.24d process, it will have no function. If you close Warcraft III and start it up again, you will need to inject this program again. If RemoteDLL gives you any errors when do the injection, then you are NOT protected from the CrashHack. Please make sure you are trying to inject into at Warcraft III v1.24d process. If you still get an error, please let me know.

    Code
    Code:
    #define _WIN32_WINNT 0x0500 //Requires 2000/XP or higher
    #include <windows.h>
    
    DWORD dwGameBase = NULL;
    LPVOID hVEH = NULL;
    const DWORD aCodeTest[] = {0xA0868B51, 0x23000001, 0x00019C86, 0x9C8E8D00, 0x83000001, 0x0475FFF8, 0x05EBC033};
    
    LONG NTAPI VEHandler(PEXCEPTION_POINTERS ExceptionPointers)
    {
        switch(ExceptionPointers->ExceptionRecord->ExceptionCode)
        {
        case 0xC0000005:
            if((DWORD) ExceptionPointers->ExceptionRecord->ExceptionAddress == dwGameBase + 0xEE4E1)
            {
                ExceptionPointers->ContextRecord->Eip += 0x61;
                return EXCEPTION_CONTINUE_EXECUTION;
            }
            break;
        }
        return EXCEPTION_CONTINUE_SEARCH;
    }
    
    BOOL WINAPI DllMain(HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved)
    {
        switch(dwReason)
        {
        case DLL_PROCESS_ATTACH:
            dwGameBase = (DWORD)(GetModuleHandle("GAME"));
            if(dwGameBase == NULL)
            {
                MessageBox(NULL, "GAME.DLL was not found. Are you sure you injected this to Warcraft III? \n\n (You will NOT be protected from CrashHack).", "Error",  NULL);
                return false;
            }
    
            for(int x = 0; x < sizeof(aCodeTest)/sizeof(aCodeTest[0]); x++)
            {
                if(*(DWORD*)(dwGameBase + 0xEE4C0 + (x * 4)) != aCodeTest[x])
                {
                    MessageBox(NULL, "The code at GAME.DLL+0xEE4C0 is incorrect.  Are you sure Warcraft's version is v1.24d? \n\n (You will NOT be protected from CrashHack).", "Error",  NULL);
                    return false;
                }
            }
            
            hVEH = AddVectoredExceptionHandler(TRUE, VEHandler);
            if(hVEH == NULL)
            {
                MessageBox(NULL, "CrashFix was unable to add a vectored exception handler.  \n\n (You will NOT be protected from CrashHack).", "Error",  NULL);
                return false;
            }
    
            DisableThreadLibraryCalls(hDll);
            break;
    
        case DLL_PROCESS_DETACH:
            RemoveVectoredExceptionHandler(hVEH);
            break;
        }
        return true;
    }
    History
    v1.03:
    -Fixed a bug that caused some people to get "error 87" when injecting.

    v1.02:
    -CrashFix no longer patches memory. This should make CrashFix impossible to detect by mistake. Blizzard will need to specifically look for CrashFix.
    -Added some error checking. CrashFix will now give you an error if you inject it into anything besides Warcraft III v1.24d.

    v1.01:
    -Fixed a bug that would cause the program to give errors when the program was working normally.
    -Added the ability to unload the program by using RemoteDLL's "Free DLL" feature.

    v1.00: Initial release.
    Attached Files
    Last edited by LordTerror; 03-11-2010 at 10:48 PM.

  2. The Following 2 Users Say Thank You to LordTerror For This Useful Post:


  3. #2
    Solidify's Avatar
    Solidify is offline Geek
    Array
    Join Date
    Feb 2010
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    8
    Reputation
    165
    it work vs the private from yeta?

    Btw thx .
    Last edited by Solidify; 03-02-2010 at 08:43 PM.

  4. #3
    Srkii is offline Member
    Array
    Join Date
    Dec 2009
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    It doesnt work by me. i get an Error.

  5. #4
    Solidify's Avatar
    Solidify is offline Geek
    Array
    Join Date
    Feb 2010
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    8
    Reputation
    165
    Quote Originally Posted by Srkii View Post
    It doesnt work by me. i get an Error.
    Share the error..

  6. #5
    Srkii is offline Member
    Array
    Join Date
    Dec 2009
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    LoadLibraryA on remote process failed with error : 87

  7. #6
    Danieljax88 is offline Newbie
    Array
    Join Date
    Oct 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    yeh got same library error.

  8. #7
    didzis79's Avatar
    didzis79 is offline Wannabe Member
    Array
    Join Date
    Dec 2009
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    whats the point of this anyway, if it dont have protect vs private drop?

  9. #8
    Solidify's Avatar
    Solidify is offline Geek
    Array
    Join Date
    Feb 2010
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    8
    Reputation
    165
    To get a example of codesource for protect bytes codes!

  10. #9
    Danieljax88 is offline Newbie
    Array
    Join Date
    Oct 2009
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    Same error for me

  11. #10
    didzis79's Avatar
    didzis79 is offline Wannabe Member
    Array
    Join Date
    Dec 2009
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    OK tested, it works against public drop(i have error too) it doenst matters. but no trust it works against PRIVATE ;//

Page 1 of 7 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •