-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
43 lines (40 loc) · 884 Bytes
/
main.cpp
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
#include <iostream>
#include <Windows.h>
#include "memory.h"
#include "dataspoof.h"
#include "bhop.h"
using std::cout;
using std::endl;
using std::boolalpha;
using namespace DataSpoof;
int main()
{
cout << "Waiting for csgo.exe..." << endl;
bool processExists = false;
do
{
processExists = Mem.FindProcess("csgo.exe");
clientDll = Mem.ModulePointer("client_panorama.dll");
} while (processExists == 0 && clientDll == 0);
cout << "Done!" << endl;
cout << "Press INSERT to switch hack" << endl;
cout << "Press HOME exit hack" << endl;
while (!GetAsyncKeyState(VK_HOME))
{
static bool state = true;
if (GetAsyncKeyState(VK_INSERT))
{
state = !state;
cout << "State: " << boolalpha << state << endl;
Sleep(300);
}
if (state)
{
getPlayerBase();
getFlag();
JumpQueue();
}
Sleep(1);
}
return 0;
}