[Tutorial] Simple Methods Anti Hacks

Page 1 of 3 123 LastLast
Results 1 to 15 of 35
  1. #1
    Android Developer doidloko is offline
    True MemberRank
    Aug 2012 Join Date
    BrasilLocation
    253Posts

    happy [Tutorial] Simple Methods Anti Hacks

    HIDE WINDOWS DETECT

    Open your WinMain.cpp

    Search to

    PHP Code:
    int win::ProcessSuspended()
    {
      if(!
    bSuspended)
        return 
    FALSE;

      
    MSG msg;
      while(
    PeekMessage(&msgNULL,0,0,PM_NOREMOVE))
      {
        if(!
    GetMessage (&msgNULL00)) 
          return 
    1;

        
    TranslateMessage(&msg);
        
    DispatchMessage(&msg);
      }

      return 
    TRUE;

    AND ADD LATER THIS

    PHP Code:
    void Hide_Scanner()
    {
    HWND hWnd;
    hWnd FindWindow(0,0);
    if ( 
    hWnd && GetParent(hWnd) == 0)
    {    
        
    Sleep (5000);
        
    ExitProcess(0);
    }
    }


    void Hide_Scan(){
        
    again:
        
    Hide_Scanner();
        
    Sleep(1000);
        goto 
    again;
    }

    void DetectHide(){
        
    CreateThread(NULL,NULL,LPTHREAD_START_ROUTINE(Hide_Scan),NULL,0,0);
        
    Hide_Scanner();


    in Winmain.cpp Search to

    PHP Code:
    game::PreInit(); 
    and all later


    PHP Code:
    void DetectHide(); 
    like this

    PHP Code:
    static void startupFunc(DWORD in)
    {
    //  in = in;
      
      
    game::PreInit();  

    DetectHide();

      
    win::Init();

      
    game::Init();

      
    game::MainLoop();

      
    game::Shutdown();


    WINDOW NAME CHECK

    Open your WinMain.cpp

    Search to

    PHP Code:
    int win::ProcessSuspended()
    {
      if(!
    bSuspended)
        return 
    FALSE;

      
    MSG msg;
      while(
    PeekMessage(&msgNULL,0,0,PM_NOREMOVE))
      {
        if(!
    GetMessage (&msgNULL00)) 
          return 
    1;

        
    TranslateMessage(&msg);
        
    DispatchMessage(&msg);
      }

      return 
    TRUE;

    AND ADD LATER THIS


    PHP Code:
    bool TitleWindow(LPCSTR WindowTitle){
        
    HWND WinTitle FindWindowA(NULL,WindowTitle);
        if( 
    WinTitle 0){
        
    Sleep(5000); 
        
    ExitProcess(0);    
    }
    }

    void TitleCheckWindow(){
    TitleWindow("Cheat Engine 5.0");
    TitleWindow("Cheat Engine 5.1");
    TitleWindow("Cheat Engine 5.1.1");
    TitleWindow("Cheat Engine 5.2");
    TitleWindow("Cheat Engine 5.3");
    TitleWindow("Cheat Engine 5.4");
    TitleWindow("Cheat Engine 5.5");
    TitleWindow("Cheat Engine 5.6");
    TitleWindow("Cheat Engine 5.6.1");
    TitleWindow("Cheat Engine 6.0");
    TitleWindow("Cheat Engine 6.1");
    TitleWindow("Cheat Engine 6.2");
    TitleWindow("Cheat Engine 6.3");
    TitleWindow("Cheat Engine 6.4");
    TitleWindow("Cheat Engine 6.5");
    TitleWindow("Cheat Engine");

    }

    void Scaner(){
        
    again:
        
    TitleCheckWindow();
        
    Sleep(500);
        goto 
    again;
    }

    void protegerscaner(){
        
    CreateThread(NULL,NULL,LPTHREAD_START_ROUTINE(Scaner),NULL,0,0);


    in Winmain.cpp Search to

    PHP Code:
    game::PreInit(); 
    and all later


    PHP Code:
    TitleCheckWindow();
    protegerscaner(); 
    like this

    PHP Code:
    static void startupFunc(DWORD in)
    {
    //  in = in;
      
      
    game::PreInit();  
    TitleCheckWindow();
    protegerscaner();
    DetectHide();

      
    win::Init();

      
    game::Init();

      
    game::MainLoop();

      
    game::Shutdown();

    OBS: u can make it best , can u add + windows injectors , sandiex box etc etc
    it go check the window name and close the game when detect a window name
    for exemple

    PHP Code:
    TitleWindow("Sandiebox"); 
    WINDOW CLASS DETECT

    Open your WinMain.cpp

    Search to
    [/CENTER]

    PHP Code:
    int win::ProcessSuspended()
    {
      if(!
    bSuspended)
        return 
    FALSE;

      
    MSG msg;
      while(
    PeekMessage(&msgNULL,0,0,PM_NOREMOVE))
      {
        if(!
    GetMessage (&msgNULL00)) 
          return 
    1;

        
    TranslateMessage(&msg);
        
    DispatchMessage(&msg);
      }

      return 
    TRUE;

    AND ADD LATER THIS


    PHP Code:
    void ClasseWindow(LPCSTR WindowClasse){
        
    HWND WinClasse FindWindowExA(NULL,NULL,WindowClasse,NULL);
        if( 
    WinClasse 0)
        {
          
    Sleep(5000); 
        
    ExitProcess(0);     
        }
        }


    void ClasseCheckWindow(){    
        
    //ClasseWindow("ConsoleWindowClass");   
        //ClasseWindow("ThunderRT6FormDC");   
        
    ClasseWindow("PROCEXPL");            
        
    ClasseWindow("ProcessHacker");      
        
    ClasseWindow("PhTreeNew");           
        
    ClasseWindow("SysListView32");       
        
    ClasseWindow("TformSettings");
        
    ClasseWindow("TWildProxyMain");
        
    ClasseWindow("TUserdefinedform");
        
    ClasseWindow("TformAddressChange");
        
    ClasseWindow("TMemoryBrowser");
        
    ClasseWindow("TFoundCodeDialog");
        }

    void classescan(){
        
    again:
        
    ClasseCheckWindow();
        
    Sleep(30000);
        goto 
    again;
    }

    void protegerclasse(){
        
    CreateThread(NULL,NULL,LPTHREAD_START_ROUTINE(classescan),NULL,0,0);
        
    ClasseCheckWindow();



    in Winmain.cpp Search to

    PHP Code:
    game::PreInit(); 
    and all later


    PHP Code:
    protegerclasse();
    ClasseCheckWindow(); 
    like this

    PHP Code:
    static void startupFunc(DWORD in)
    {
    //  in = in;
      
      
    game::PreInit();  
    TitleCheckWindow();
    protegerscaner();
    protegerclasse();
    ClasseCheckWindow();
    DetectHide();

      
    win::Init();

      
    game::Init();

      
    game::MainLoop();

      
    game::Shutdown();

    OBS: To add new hacks u can make the same of window name open the hack
    get the class and add

    Exemple
    PHP Code:
    ClasseWindow("Form1"); 


    /////////////////////////////////////////////////////////////////////////////////////////////////////

    HELPFULL PROGRAM = HANDLER

    This Program Show u Window name , Windown Class etc etc Just need Open the Program
    And Open the Hack to take the names.


    To fix a Warning Error Just give a right click on your Winmain.cpp and go to Property
    Select C/C++.
    On the General property page, modify the Warning Level to disable


    Later i Post Injects Block Methods and Others i need sleep now


    CREDITS : Google, Visual Basic And doidloko
    Last edited by doidloko; 22-08-13 at 02:16 PM.


  2. #2
    ̶B̶a̶n̶n̶e̶d̶ Yuri-BR is offline
    True MemberRank
    Apr 2013 Join Date
    /etc/passwdLocation
    929Posts

    Re: [Tutorial] Simple Methods Anti Hacks

    Good Job !
    Skype: Yuri-157


  3. #3
    Member Leandro Lima is offline
    MemberRank
    May 2013 Join Date
    41Posts

    Re: [Tutorial] Simple Methods Anti Hacks

    very good question it closes the game and the program detected? or so the game closes when it detects the program?
    is to boot a banner? To Start? game?


    sorry for my english
    Last edited by Leandro Lima; 23-08-13 at 04:52 PM. Reason: ja resolvi meu problema

  4. #4
    Registered chinclubi is offline
    MemberRank
    Jul 2009 Join Date
    ThailandLocation
    23Posts

    Re: [Tutorial] Simple Methods Anti Hacks

    i can't build this.
    fix this, change
    bool TitleWindow(LPCSTR WindowTitle){
    HWND WinTitle = FindWindowA(NULL,WindowTitle);
    if( WinTitle > 0){
    Sleep(5000);
    ExitProcess(0);
    }
    }
    to

    bool TitleWindow(LPCSTR WindowTitle){
    HWND WinTitle = FindWindowA(NULL,WindowTitle);
    if( WinTitle > 0){
    Sleep(5000);
    ExitProcess(0);
    return false;
    }
    return true;
    }

  5. #5
    Registered AaeAvarin is offline
    MemberRank
    Aug 2013 Join Date
    11Posts

    Re: [Tutorial] Simple Methods Anti Hacks

    i click play game. game not start i not open cheat.

  6. #6
    Member nunutza is offline
    MemberRank
    Oct 2012 Join Date
    29Posts

    Re: [Tutorial] Simple Methods Anti Hacks

    Why it does not work ?
    I'm play in studio.
    [IMG][/IMG]

  7. #7
    Registered AaeAvarin is offline
    MemberRank
    Aug 2013 Join Date
    11Posts

    Re: [Tutorial] Simple Methods Anti Hacks

    static void startupFunc(DWORD in)
    {
    // in = in;

    game::PreInit();
    TitleCheckWindow();
    protegerscaner();
    protegerclasse();
    ClasseCheckWindow();
    DetectHide();
    VOID DetectHide();

    win::Init();

    game::Init();

    game::MainLoop();

    game::Shutdown();
    }

    it correct ?

  8. #8
    Ultimate Member Lewis Caddick is offline
    MemberRank
    May 2013 Join Date
    Casa Del LewisLocation
    160Posts

    Re: [Tutorial] Simple Methods Anti Hacks

    Quote Originally Posted by AaeAvarin View Post
    static void startupFunc(DWORD in)
    {
    // in = in;

    game::PreInit();
    TitleCheckWindow();
    protegerscaner();
    protegerclasse();
    ClasseCheckWindow();
    DetectHide();
    VOID DetectHide();

    win::Init();

    game::Init();

    game::MainLoop();

    game::Shutdown();
    }

    it correct ?
    remove the "VOID" from DetectHide ();

  9. #9
    Alpha Member javaz97 is offline
    Alpha MaleRank
    May 2006 Join Date
    HellLocation
    1,542Posts

    Re: [Tutorial] Simple Methods Anti Hacks

    do you have new update ?

  10. #10
    Android Developer doidloko is offline
    True MemberRank
    Aug 2012 Join Date
    BrasilLocation
    253Posts

    Re: [Tutorial] Simple Methods Anti Hacks

    yes in 2 or 3 days i post a new methods and anti cheats free, i m bussy working in a game for android

  11. #11
    Alpha Member javaz97 is offline
    Alpha MaleRank
    May 2006 Join Date
    HellLocation
    1,542Posts

    Re: [Tutorial] Simple Methods Anti Hacks

    thank for reply

    - - - Updated - - -

    Quote Originally Posted by doidloko View Post
    yes in 2 or 3 days i post a new methods and anti cheats free, i m bussy working in a game for android
    if success plz sent name of game to me

  12. #12
    NN - Nord & Noob mauka is offline
    Alpha MaleRank
    Jul 2004 Join Date
    1,692Posts

    Re: [Tutorial] Simple Methods Anti Hacks

    Process dump scanning is base of any anti cheat soft.
    "Nobody ever died of hard work", they say. But why take the risk? (Ronald Reagan)
    Code:
    http://patch-ggp.muonline.webzen.net/(version)/up_list.zip

  13. #13
    Android Developer doidloko is offline
    True MemberRank
    Aug 2012 Join Date
    BrasilLocation
    253Posts

    Re: [Tutorial] Simple Methods Anti Hacks

    Process dump scanning is base of any anti cheat soft.
    can you use the codex anti-hack
    for make your dll or put the code in your source

    here is a tutorial

    http://www.youtube.com/watch?v=BtXmmBAVG2U

    and anti hack source

  14. #14
    French Guy :D skyone is offline
    True MemberRank
    Nov 2013 Join Date
    254Posts

    Re: [Tutorial] Simple Methods Anti Hacks

    It is 3 different solution or you can add it 3 solution in warz.sln?

  15. #15
    Account Upgraded | Title Enabled! Cryptopia is offline
    True MemberRank
    Oct 2013 Join Date
    HelveteLocation
    289Posts

    Re: [Tutorial] Simple Methods Anti Hacks

    Need Help!

    winmain.cpp(601) : error C2220: warning treated as error - no 'object' file generated
    winmain.cpp(601) : warning C4715: 'TitleWindow' : not all control paths return a value
    How can I fix this?

    EDIT: Nice work chinclubi and thank you doidloko for this awesome tutorial!

    i can't build this.
    fix this, change
    bool TitleWindow(LPCSTR WindowTitle){
    HWND WinTitle = FindWindowA(NULL,WindowTitle);
    if( WinTitle > 0){
    Sleep(5000);
    ExitProcess(0);
    }
    }


    to

    bool TitleWindow(LPCSTR WindowTitle){
    HWND WinTitle = FindWindowA(NULL,WindowTitle);
    if( WinTitle > 0){
    Sleep(5000);
    ExitProcess(0);
    return false;
    }
    return true;
    }

    Last edited by Cryptopia; 04-01-14 at 12:04 AM.



Page 1 of 3 123 LastLast

Advertisement