Code:
#include <windows.h>
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 + 0x30845C
))+(4*i))) + 0x7F8) = 9999999 ;
}
}
}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "This Hack was Made By Jhefreyzz ", "Successfully Injected", 0);
system("start http://mpgh.net");
CreateThread(NULL, NULL,MAIN, NULL, NULL, NULL);
}
return TRUE;
}
When i Compiled IT
this error shown
Code:
1>------ Build started: Project: WOW, Configuration: Debug Win32 ------
1>Compiling...
1>Hack.cpp
1>c:\documents and settings\joe\my documents\visual studio 2008\projects\wow\wow\hack.cpp(29) : error C2065: 'MAIN' : undeclared identifier
1>Build log was saved at "file://c:\Documents and Settings\Joe\My Documents\Visual Studio 2008\Projects\WOW\WOW\Debug\BuildLog.htm"
1>WOW - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
how to solved this one
/req to close this thread
ALREADY solved by my self