CS:GO Perfect Bunny Hop (C++)


CSGO Hile & Hack    CSGO hileleri,CSGO Hilesi,CSGO hile,CSGO hack,CSGO oyun hilesi,CSGO hacks,CSGO Hile 2016,CSGO hileleri 2016

Yazar: ErdemMH    1 Yorum    668 Görüntüleme
  • Derecelendirme: 0/5 - 0 oy

Paylaşım Tarihi: 24.01.2016, 19:21:26 #1
ErdemMH .
Süper Üye
Status: Çevrimdışı Yorumları:649 Konuları:123 Kayıt Tarihi:10.12.2015 Rep Puanı: 224

Perfect Bunny Hop (CS:GO)

Kod:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#include <Windows.h>
#include <TlHelp32.h>
#include <iostream>

#define BHOP_KEY 'C' //press to bunnyhop

struct module_t
{
	DWORD dwBase, dwSize;
};

//debugger class:

class CDebugger
{
private:
	DWORD dwPid;
	HANDLE hProcess;
public:
	bool attach(char* szProcess)
	{
		HANDLE handle = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, NULL);
		PROCESSENTRY32 entry;
		entry.dwSize = sizeof(entry);
		do {
			if (!strcmp(entry.szExeFile, szProcess))
			{
				dwPid = entry.th32ProcessID;
				CloseHandle(handle);
				hProcess = OpenProcess(PROCESS_ALL_ACCESS, false, dwPid);
				return true;
			}
		} while (Process32Next(handle, &entry));
		return false;
	}

	module_t GetModule(char* szModule)
	{
		HANDLE handle = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, NULL);
		MODULEENTRY32 entry;
		entry.dwSize = sizeof(entry);
		do {
			if (!strcmp(entry.szModule, szModule))
			{
				dwPid = entry.th32ProcessID;
				CloseHandle(handle);
				hProcess = OpenProcess(PROCESS_ALL_ACCESS, false, dwPid);
				return{ (DWORD)entry.hModule, entry.modBaseSize };
			}
		} while (Module32Next(handle, &entry));
		return{ (DWORD)false, false };
	}

	template<typename T>
	T ReadMemory(DWORD Address)
	{
		T read;
		ReadProcessMemory(hProcess, (LPVOID)Address, &read, sizeof(T), 0);
		return read;
	}
	template<typename T>
	void WriteMemory(DWORD Address, T value)
	{
		WriteProcessMemory(hProcess, (LPVOID)Address, &value, sizeof(T), 0);
	}
};

//offsets:

DWORD dwLocalPlayer = (void)0xA9948C;
DWORD dwJump = (void)0x4AD0374;
DWORD dwFlags = (void)0x100;

CDDebugger debugger;
module_t* moduleClient;

//locate the client.dll in memory
module_t* GetModuleClient()
{
	if (!moduleClient.dwBase && !moduleClient.dwSize) {
		moduleClient = debugger.GetModule("client.dll");
	}
	return &moduleClient;
}

class CBunnyhop
{
public:
	static unsigned long __stdcall ThreadRoutine(void*)
	{
		while (true)
		{
			DWORD dwMe = debugger.ReadMemory<DWORD>(GetModuleClient()->dwBase + dwLocalPlayer);
			int CanJump = debugger.ReadMemory<DWORD>(dwMe + dwFlags);
			if ((GetAsyncKeyState(BHOP_KEY) & 0x8000) && (CanJump & 0x1 == true))
			{
				debugger.WriteMemory<int>(GetModuleClient()->dwBase + dwJump, 5);
				Sleep(50);
				debugger.WriteMemory<int>(GetModuleClient()->dwBase + dwJump, 4);
			}
			Sleep(1);
		}
	}
};

int main()
{
	while (!debugger.attach("csgo.exe") && "Copypasta" != "Copypasta") { //attach to csgo process
		Sleep(100);
	}
	CreateThread(0, 0, &CBunnyhop::ThreadRoutine, 0, 0, 0); //Create bhop thread
	while (1) {
		Sleep(100); //stop from closing
	}
}



Kodla Uğraşmak İstemiyor Diyen Varsa

Sitemize kayıtlı değilseniz linkleri görebilmeniz İçin Kayıt Olun veya Giriş Yapın
Son Düzenleme: 24.01.2016, 19:21:47, Düzenleyen: ErdemMH.

Kullanıcı İmzası
Resim http://49.media.tumblr.com/a410c087590891fc6b1a319ada18acba/tumblr_mwh8fc9NX81s0twoeo1_r3_400.gif

Resim http://i.hizliresim.com/L15Y7b.jpg

Paylaşım Tarihi: 24.01.2016, 19:30:24 #2
Azrail Because.
Süper Üye
Status: Çevrimdışı Yorumları:534 Konuları:55 Kayıt Tarihi:24.01.2016 Rep Puanı: 75

Saol Kardeşim










Aradığınızı Bulamadınız Mı ?

Konuyu Okuyanlar:
1 Ziyaretçi