One Hit - Source Code
Hey everyone,
I coded a 1 hit hack but it doesn't work, why?
Heres the source Code:
What is the problem?
Thanks for help!
(Sry for my bad English
)
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;
}
Thanks for help!
(Sry for my bad English
)

