GOFFICIAL ™ [REDZONE-SOFTWARE]
German Style^®
Lista Forumurilor Pe Tematici
GOFFICIAL ™ [REDZONE-SOFTWARE] | Reguli | Inregistrare | Login

POZE GOFFICIAL ™ [REDZONE-SOFTWARE]

Nu sunteti logat.
Nou pe simpatie:
Alesiandra pe Simpatie
Femeie
24 ani
Cluj
cauta Barbat
28 - 58 ani
GOFFICIAL ™ [REDZONE-SOFTWARE] / Counter-Strike: Source / [C++] SICKER PRIVATE HACK  
Autor
Mesaj Pagini: 1
GoogLe*
Administrator ♛

Inregistrat: acum 12 ani
Postari: 391
CODE :

#include <windows.h>

#include <iostream>

#include <TlHelp32.h>



using namespace std;



DWORD GetModuleBaseExtern(const DWORD dwProcessId, const char *szModuleName)

{

#ifdef _GMBE_CHECK_PARAMS_

if (!dwProcessID) || (!szModuleName) return 0;

#endif



HANDLE hSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, dwProcessId);

if (!hSnap) return 0;



MODULEENTRY32 me;

me.dwSize = sizeof(MODULEENTRY32);



DWORD dwReturn = 0;



if (Module32First(hSnap, &me)) {

while (Module32Next(hSnap, &me)) {

if (lstrcmpi(me.szModule, szModuleName) == 0) {

dwReturn = (DWORD)me.modBaseAddr;

break;

}

}

}



CloseHandle(hSnap);



return dwReturn;

}



int main(int argc,char* argv)

{

SetConsoleTitle("Sick 1337 Private Hack";

HWND hwnd = NULL;

DWORD pid;

HANDLE hProcess;

DWORD clientbase;

DWORD overlay;

unsigned long pID;

DWORD Localentity;

int m_fFlags;

int steamoverlay;

int drawothermodels = 1;

int drawothermodels_an = 2;

int Flash_aus = 0;

int smoke_aus = 0;

int smoke_an = 1;

int InCross;

bool an = false;



anfang :



DWORD GetModuleBaseExtern(const DWORD dwProcessId, const char *szModuleName);

HWND hWnd = FindWindow(NULL,"Counter-Strike Source";

GetWindowThreadProcessId(hWnd,&pID);

hProcess = OpenProcess(PROCESS_ALL_ACCESS,FALSE,pID);



hwnd = FindWindow (NULL, "Counter-Strike Source";

GetWindowThreadProcessId (hwnd, &pid);

hProcess = OpenProcess (PROCESS_VM_OPERATION | PROCESS_VM_READ | PROCESS_VM_WRITE | PROCESS_QUERY_INFORMATION, FALSE, pid);

GetWindowThreadProcessId (hwnd, &pid);

hProcess = OpenProcess (PROCESS_ALL_ACCESS, 0, pid);

clientbase = GetModuleBaseExtern(pid, "client.dll";

overlay = GetModuleBaseExtern(pid,"gameoverlayrenderer.dll";



{

while(hwnd == 0)

{

Sleep(2000);

goto anfang;

}



}

while(hwnd != 0)

{





ReadProcessMemory(hProcess, (LPCVOID)(clientbase + 0x7CC0F4), &Localentity, sizeof(DWORD), NULL);

ReadProcessMemory(hProcess, (LPCVOID)(Localentity + 0x14A8), &InCross, sizeof(int), NULL);

WriteProcessMemory(hProcess, (PBYTE*)(Localentity + 0x1410), &Flash_aus, sizeof(int), NULL);





if (GetAsyncKeyState(VK_SPACE))

{

ReadProcessMemory(hProcess, (LPCVOID)(Localentity + 0x314), &m_fFlags, sizeof(int), NULL);

if( m_fFlags & ( 1 || 3 || 5 || 7 ))

{

ReadProcessMemory(hProcess, (LPCVOID)(overlay + 0x7BF60), &steamoverlay, sizeof(int), NULL);

if(steamoverlay == 0)

{

SendMessage( hWnd, WM_KEYDOWN, VK_SPACE, 0x390000 );

Sleep(30);

SendMessage( hWnd, WM_KEYUP, VK_SPACE, 0x390000 );

Sleep(30);

}

}

}



if (GetAsyncKeyState(VK_INSERT) && an == false)

{

WriteProcessMemory(hProcess, (PBYTE*)(clientbase + 0x78DAD0), &drawothermodels_an, sizeof(int), NULL);

WriteProcessMemory(hProcess, (PBYTE*)(clientbase + 0x7BFAB0), &smoke_aus, sizeof(int), NULL);

an = true;

Sleep(1000);

}

if (GetAsyncKeyState(VK_INSERT) && an == true)

{

WriteProcessMemory(hProcess, (PBYTE*)(clientbase + 0x78DAD0), &drawothermodels, sizeof(int), NULL);

WriteProcessMemory(hProcess, (PBYTE*)(clientbase + 0x7BFAB0), &smoke_an, sizeof(int), NULL);

an = false;

Sleep(1000);

}



if(GetAsyncKeyState(VK_XBUTTON1) && InCross > 0 && InCross <= 64)

{

mouse_event( MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0 );

Sleep( 50 );

mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );

Sleep( 75 );

}



if(!FindWindow(NULL,"Counter-Strike Source")

{

exit(0);

}



Sleep(5);



}



}


_______________________________________




pus acum 12 ani
   
Pagini: 1  
Mergi la