One Hit - Source Code

Posts 1–15 of 24 · Page 1 of 2
One Hit - Source Code
Hey everyone,
I coded a 1 hit hack but it doesn't work, why?

Heres the source Code:

Code:
    #include<windows.h>
    #include<iostream>
     
    using namespace std;
     
    
    DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
     
     
     
    void main() {
    Sleep(1000);
     
    
    bool oneshot=true;
     
     
  

     
    if(oneshot) {
           for(int i=0 ; i<445 ; i++)
           *(float*)( (*(DWORD*)((*(DWORD*)(CShellBase+0x102BC64C))+(4*i))) + 0x7F8) = FLT_MAX ;                                                 // 1 hit kill
    }
     
   
     
     
    }
    
     
     
     
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
    DisableThreadLibraryCalls(hDll);
    if ( dwReason == DLL_PROCESS_ATTACH ) {
         MessageBoxA(0, "Successful Injected! \n\n Visit www.mham****!", "::Public-Hack::" , 0);
		 
     
    }
    return true;
    }
What is the problem?
Thanks for help!

(Sry for my bad English )
Update Addys, and i think This Methode isnt working anymore :S
Addys are updated
if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0, "Successful Injected! \n\n Visit www.mham****!", "::Public-Hack::" , 0);


}

LOL WHERE IS CreateThread???????!
PM ME I Can Help you
You would have to use AmmoDamage as your addy for a 1shot kill

you can't put

bool oneshot = true

because the computer is going to be looking for the addy oneshot in cshell and there is none.
Quote Originally Posted by Dakota View Post
You would have to use AmmoDamage as your addy for a 1shot kill

you can't put

bool oneshot = true

because the computer is going to be looking for the addy oneshot in cshell and there is none.
You Are Legend
thx... but not working :/
Quote Originally Posted by H!uman View Post
thx... but not working :/
Your going to have to do more than update the
bool part.

But make sure you have the know more about C++
Code:
DWORD WINAPI Hacks(LPVOID)
{
	bool oneshot = false;
	while(1)
	{
		DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");

     
   		if(oneshot) 
         	{
           		for(int i=0 ; i<445 ; i++)
          		{
          		 *(float*)( (*(DWORD*)((*(DWORD*)(CShellBase + UPDATE ))+(4*i))) + 0x7F8) = FLT_MAX ;
    			}
		}
	}
}
fixed it a bit.
Quote Originally Posted by Swiftdude View Post
Code:
DWORD WINAPI Hacks(LPVOID)
{
	bool oneshot = false;
	while(1)
	{
		DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");

     
   		if(oneshot) 
         	{
           		for(int i=0 ; i<445 ; i++)
          		{
          		 *(float*)( (*(DWORD*)((*(DWORD*)(CShellBase + UPDATE ))+(4*i))) + 0x7F8) = FLT_MAX ;
    			}
		}
	}
}
fixed it a bit.
Hmm, strange because the pointer is still the same or was there an update o_O
Quote Originally Posted by A$IAN View Post
Hmm, strange because the pointer is still the same or was there an update o_O
there was an update long ago...
U doing it wrong i think u need to do more work to get that shit working
hahahahha you are legend i loled at that ..
he is acutely doing the Hook wrong
Posts 1–15 of 24 · Page 1 of 2
This thread is closed for replies.

Tags for this Thread

None

Talk with us