-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathmain.cpp
36 lines (29 loc) · 887 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
#include "common.hpp"
int main()
{
SetConsoleTitleA(utils.random_lower_str(utils.random_int(12, 26)).c_str());
SetPriorityClass(GetCurrentProcess(), REALTIME_PRIORITY_CLASS);
globals.game_assembly = memory.module_base(_("GameAssembly.dll"));
globals.unity_player = memory.module_base(_("UnityPlayer.dll"));
globals.base_networkable = memory.read<uintptr_t>(globals.game_assembly + o::BaseNetworkable_c);
printf(_("[*] RustClient.exe Window @ 0x%p\n"), globals.rust_window);
printf(_("[*] GameAssembly.dll @ 0x%p\n"), globals.game_assembly);
printf(_("[*] UnityPlayer.dll @ 0x%p\n"), globals.unity_player);
std::thread([&]()
{
while (true)
{
entity_list.cache();
std::this_thread::sleep_for(std::chrono::microseconds(5000));
}
}).detach();
std::thread([&]()
{
features.run();
}).detach();
std::thread([&]()
{
aimbot.run();
}).detach();
return 0;
}