Hacking Tricks CrossFire Simple WallHack Source

Discussion in 'Ethical Hacking Tricks' started by Muhammad Faiz Bin Adham, Aug 10, 2014.

  1. Muhammad Faiz Bin Adham

    Muhammad Faiz Bin Adham New Member

    Joined:
    Aug 10, 2014
    Messages:
    2
    Likes Received:
    2
    Trophy Points:
    3


    Helo This Is My Old Code CrossFire Maybe Still Work :fire:
    What You Need Only :
    Detours
    Code:
    #include "stdafx.h"
    #include <Windows.h>
    #include "d3d9.h"
    #include "detours.h"
    #include "stdio.h"
    #pragma comment (lib, "d3d9.lib")
    #pragma comment (lib, "detours.lib")
    bool hlWall=1;
    bool hlSTART=1;
    
    typedef HRESULT(WINAPI* DrawIndexedPrimitive_)(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinIndex, UINT NumVertices, UINT StartIndex, UINT PrimitiveCount);
    DrawIndexedPrimitive_ pDrawIndexedPrimitive;
    
    HRESULT WINAPI nDrawIndexedPrimitive(LPDIRECT3DDEVICE9 pDevice, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinIndex,UINT NumVertices, UINT StartIndex, UINT PrimitiveCount)
    { 
    
      IDirect3DVertexBuffer9* pStreamData = NULL;
      UINT iOffsetInBytes,iStride; 
      pDevice->GetStreamSource(0,&pStreamData,&iOffsetInBytes,&iStride);
    
      if (  iStride == 40 &&hlSTART==1)
      {
            pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
            pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
      }
               
       return pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    }
    
    int hlMAIN ();
    
    BOOL APIENTRY DllMain( HANDLE hModule,DWORD  ul_reason_for_call, LPVOID lpReserved )
    {
        if (hlWall)
        {
            hlWall=0;
             CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hlMAIN, NULL, NULL, NULL);               
        }
        return TRUE;
    }
    int hlMAIN()
    {
        char s[1000];
        DWORD ******OffS=0x4FE571A0;
        for(;; Sleep(100))
            {
                   ******OffS=(DWORD)GetModuleHandle ("d3d9.dll");
                   if (******OffS)              
                       break;              
            }
    
        DWORD a[2];
        a[0]=******OffS+0x88830; // Offset: 88830 for Sp2 if not Sp2 use 88840
        OutputDebugString (s);
        pDrawIndexedPrimitive = (DrawIndexedPrimitive_)DetourFunction((PBYTE)a[0],(PBYTE)nDrawIndexedPrimitive);
    
        for (;;Sleep (500))
        {
            if (GetAsyncKeyState (VK_F9)!=0)
            {
                Beep (2000,200);
                hlSTART=1; // Turn ON
            }
            if (GetAsyncKeyState (VK_F10)!=0)
            {
                Beep (3000,200);
                hlSTART=0; // Turn OFF
            }
        }
        return 1;
    }

     
    goverdhan lal gupta likes this.

  2. devendermahto

    devendermahto Active Member

    Joined:
    Jul 1, 2014
    Messages:
    95
    Likes Received:
    172
    Trophy Points:
    43


    will you explain this i am intersted...
     

  3. Saad007

    Saad007 Member

    Joined:
    Aug 4, 2014
    Messages:
    12
    Likes Received:
    2
    Trophy Points:
    18


    many many tnx................
     

  4. James

    James Member

    Joined:
    Aug 28, 2014
    Messages:
    19
    Likes Received:
    1
    Trophy Points:
    18


    Will this work for Battlefield 4 ?
    :ban:
     

  5. booblemush

    booblemush Guest



    let me try this
     

  6. Mousa

    Mousa New Member

    Joined:
    Oct 7, 2014
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    6


    thnks bro.
     

  7. sP9

    sP9 New Member

    Joined:
    Aug 2, 2014
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    6


    nice .........
     

  8. Rahul1995

    Rahul1995 Member

    Joined:
    Sep 30, 2014
    Messages:
    45
    Likes Received:
    1
    Trophy Points:
    18


    Can you explain how to use this code?
     

  9. sundanese

    sundanese Member

    Joined:
    Jul 12, 2014
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    18


    thanks for this share dude, i love this share so much every time every where ............. muuuuuuuuuuuuuuuuuuuuuuuuuaaaaaaaaaaaaaaaaacccccccchhhhhhhhhhhhhhhhhhhhh
     

  10. RappaJoy

    RappaJoy Member

    Joined:
    Jul 16, 2014
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    18


    How to use this, any help?
     

  11. vvij

    vvij New Member

    Joined:
    Oct 4, 2014
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6


    thanks for the code
     

  12. tees

    tees Guest



    thnks for share code
     

  13. mr_adel2010

    mr_adel2010 New Member

    Joined:
    Jul 28, 2014
    Messages:
    13
    Likes Received:
    2
    Trophy Points:
    8


    thanx for explain
     

  14. sajid

    sajid Member

    Joined:
    Oct 11, 2014
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    18


    ggggggggggggggggggggggggggggggggggggggggggggggggggggggg
     

  15. shadid

    shadid Member

    Joined:
    Oct 27, 2014
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    16


    thaaaaaaaaaaaaaanx
     

  16. thermhatz

    thermhatz Member

    Joined:
    Aug 20, 2014
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    18


    thanks for sharing but its not working for me...... i guess the latest patch had seen this already and had a fix for this.....
     

  17. oOo.2O.oOo

    oOo.2O.oOo Member

    Joined:
    Sep 29, 2014
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    18


    not working dude
     

  18. oOo.2O.oOo

    oOo.2O.oOo Member

    Joined:
    Sep 29, 2014
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    18


    yeah not working now..
     

  19. oOo.2O.oOo

    oOo.2O.oOo Member

    Joined:
    Sep 29, 2014
    Messages:
    28
    Likes Received:
    1
    Trophy Points:
    18


    haha yeajh!!!
     

  20. devilwars

    devilwars Member

    Joined:
    Oct 15, 2014
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    18


    not working dude
     

Similar Threads: CrossFire Simple
Forum Title Date
Ethical Hacking Tricks 12 Simple Steps To Become A Hacker Apr 28, 2016
Ethical Hacking Tricks Boost Google Chrome (APK) Speed By This Simple Trick *2016* Apr 22, 2016
Ethical Hacking Tricks ~`ĐĕŝŦŘØƔ™ ŏŧħėŕş ᵽḈ ‹: ḯN ṤImple Ṥteps {♠2016♠} Apr 20, 2016
Ethical Hacking Tricks Block Facebook On Your Computer In Few Simple Steps Jul 10, 2015
Ethical Hacking Tricks Simple Cool Tricks With Chrome Developer Tool Jun 13, 2015

Share This Page