Vac88 | Overdose.it v2 coder
-
Автор темы
- #1
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
It's really simple. First comment this code:
after that, change:
for
and it should be fixed!
C++:
DWORD WINAPI OnDllAttachStartHeartbeat(LPVOID base)
{
while (1)
{
// security is here
if (g_debugger.is_security_breached()) {
// uninject.
exit(0);
}
std::this_thread::sleep_for(std::chrono::seconds(2));
}
return TRUE;
}
C++:
int __stdcall DllMain(HMODULE self, ulong_t reason, void* reserved) {
#ifndef _DEBUG
auto driver_helper = LoadLibraryA(XOR("vanguard.dll"));
if (driver_helper) {
GetUsername = (t_Username)GetProcAddress(driver_helper, XOR("GetUsername"));
t_Login Login = (t_Login)GetProcAddress(driver_helper, XOR("Login"));
t_Logout Logout = (t_Logout)GetProcAddress(driver_helper, XOR("Logout"));
t_InjectModule InjectModule = (t_InjectModule)GetProcAddress(driver_helper, XOR("InjectModule"));
Login();
}
else {
exit(0);
}
#endif
hack_module = self;
if (reason == DLL_PROCESS_ATTACH) {
#ifndef _DEBUG
HANDLE heartbeat_thread_handle = CreateThread( nullptr, 0, OnDllAttachStartHeartbeat, reserved, 0, nullptr );
#endif
HANDLE thread = CreateThread(nullptr, 0, Client::init, reserved, 0, nullptr);
if (!thread)
return 0;
CloseHandle(thread);
// Client::init(reserved);
return 1;
}
return 0;
}
C++:
int __stdcall DllMain(HMODULE self, ulong_t reason, void* reserved) {
if (reason == DLL_PROCESS_ATTACH) {
HANDLE thread = CreateThread(nullptr, 0, Client::init, reserved, 0, nullptr);
if (!thread)
return 0;
CloseHandle(thread);
return 1;
}
return 0;
}