[source]Hack v3 ph server

Posts 1–15 of 21 · Page 1 of 2
[source]Hack v3 ph server
Code:
#include "stdafx.h"
#include <windows.h>
#include <iostream>

using namespace std;

bool IsGameReadyForHook()
{
	if( GetModuleHandleA( "CShell.dll"  ) != NULL ) {
		return true;
	} else {
		return false;
	}
}

int __cdecl PushToConsole( const char* szCommand ) {
	DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
	if( dwCShell != NULL ) 	{
		DWORD *LTClient = ( DWORD* )( (dwCShell + 0xE8) );
		void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x1F7 );
		__asm
		{
			push szCommand;
			call CONoff;
			add esp, 4;
		}
	}   
	return 0;
}



void main() {

	bool boxes = false;		
	bool nosomke = false;
	
	if(MessageBoxA(0, "Boxes on?", "hack",MB_YESNO) == IDYES) {
		boxes = false;	
	} 

	if(MessageBoxA(0, "Nosmoke on?", "hack",MB_YESNO) == IDYES) {
		nosomke = false;	
	} 

	while(true) {
		if(GetAsyncKeyState(VK_NUMPAD1)<0){
			boxes = !boxes;
		}
		if(GetAsyncKeyState(VK_NUMPAD2)<0){
			nosomke = !nosomke;
		}
		if(boxes) {
			PushToConsole("ModelDebug_DrawBoxes 1");
		} else { 
			PushToConsole("ModelDebug_DrawBoxes 0");
		}
		if(nosomke) {
			PushToConsole("DrawParticles 0");
		} else {
			PushToConsole("DrawParticles 1");
		}
	}
}

DWORD WINAPI yhd(LPVOID) {
	while(IsGameReadyForHook() )
	Sleep(25);
	main();
	return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
	DisableThreadLibraryCalls(hDll);
	if ( dwReason == DLL_PROCESS_ATTACH ) {
		MessageBoxA(0, "Coded By lauwy\n Thanks merbling for using your pc", "Injected", 0);
		CreateThread(NULL, NULL, yhd, NULL, NULL, NULL);
	}
	return true;
}
Added anti leeche protection
thanks sir i see you have many releases source codes i hope this mpgh will be have more C++ coders like you
i think this is the code of lhack02 ph ?_??
No the boxes/nosmoke on of hack for xp
I followed your tutorial but your pointer is different from mine.
See screenshot:


Now I wonder, if mine is wrong or what. <_<
thank men! i love it

why detected?? when i On the 2 Box ???
i need to packed this??

yup it detected when i on the boxes and no smoke??
do i pack it upx????
should i edit something ????
yup...to make your code secured...
Sir waht is Ptc and how's its being use?? pls tell me??
Naws newbs eager to leech : 3
i think the code doesnt work in PH??
no its work but you need to add Fucking i don't know T_T

because i packet this when i injection 2 box are OPen and I On! boom its dectected!

i don't know why is detected ! sorry but im newbie in c++ ! cant add TUT for this
Posts 1–15 of 21 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us