Jump to content
Sign in to follow this  
Chuuy

Help Bypassing HackShield

Recommended Posts

Chuuy

EDIT: I think I got it, nvm.

Edited by Chuuy

Share this post


Link to post
Share on other sites
Chuuy

Nevermind, I guess not. I just simply need to convert this C++ code to AutoIt.

BOOL APIENTRY DllMain( HMODULE hModule,
                       DWORD  ul_reason_for_call,
                       LPVOID lpReserved
                     )
{
    switch (ul_reason_for_call)
    {
    case DLL_PROCESS_ATTACH:
            DisableThreadLibraryCalls(hModule);
            CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)MainWin, hModule, 0, NULL);
            break;
    case DLL_THREAD_ATTACH:
    case DLL_THREAD_DETACH:
    case DLL_PROCESS_DETACH:
            FinishedExit = TRUE;
            break;
    }
    return TRUE;
}

Share this post


Link to post
Share on other sites
Inverted

1) Don't edit out your posts. :D

2) This code is for a dll (to be injected to the target process), and you can't compile dlls in AutoIt. Not to mention you're in waaayyy over your head and you have no idea what you're doing.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.