quick clean up + add libtommath exports
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
#include <std_include.hpp>
|
||||
#include "loader/component_loader.hpp"
|
||||
#include <utils/hook.hpp>
|
||||
#include <component/logger.hpp>
|
||||
#include "definitions\discovery.hpp"
|
||||
|
||||
|
||||
namespace demonware
|
||||
{
|
||||
|
@ -7,11 +7,8 @@
|
||||
#include <utils/string.hpp>
|
||||
#include <utils/thread.hpp>
|
||||
#include <utils/compression.hpp>
|
||||
|
||||
#include <exception/minidump.hpp>
|
||||
|
||||
#define VERSION "1.0.0"
|
||||
|
||||
namespace exception
|
||||
{
|
||||
namespace
|
||||
|
@ -9,11 +9,6 @@ namespace integrity
|
||||
{
|
||||
namespace
|
||||
{
|
||||
#ifndef AVOID_UNNECESSARY_CHANGES
|
||||
|
||||
/* PLACE_HOLDER */
|
||||
|
||||
#endif // AVOID_UNNECESSARY_CHANGES
|
||||
const std::vector<std::pair<uint8_t*, size_t>>& get_text_sections()
|
||||
{
|
||||
static const std::vector<std::pair<uint8_t*, size_t>> text = []
|
||||
@ -315,14 +310,12 @@ namespace integrity
|
||||
public:
|
||||
void pre_start() override
|
||||
{
|
||||
#ifndef AVOID_UNNECESSARY_CHANGES
|
||||
disable_tls_callbacks();
|
||||
|
||||
create_thread_hook.create(CreateThread, create_thread_stub);
|
||||
auto* get_thread_context_func = utils::nt::library("kernelbase.dll").get_proc<void*>("GetThreadContext");
|
||||
get_thread_context_hook.create(get_thread_context_func, get_thread_context_stub);
|
||||
|
||||
#endif // AVOID_UNNECESSARY_CHANGES
|
||||
|
||||
/*************************************************************************************************************
|
||||
** TODO : There is some kind of dormant defence mechanism. works so random makes it harder to investigate
|
||||
|
@ -1,10 +1,7 @@
|
||||
#include <std_include.hpp>
|
||||
#include "loader/component_loader.hpp"
|
||||
#include "utils/hook.hpp"
|
||||
#include "component/logger.hpp"
|
||||
#include "WinReg.hpp"
|
||||
//#include "definitions/t8_engine.hpp"
|
||||
#include "definitions\discovery.hpp"
|
||||
|
||||
namespace platform
|
||||
{
|
||||
@ -60,6 +57,11 @@ namespace platform
|
||||
//PC_TextChat_Print_Hook.create(0x000000000_g, PC_TextChat_Print_Stub); // Disable useless system messages passed into chat box
|
||||
//BattleNet_API_RequestAppTicket_Hook.create(0x000000000_g, BattleNet_API_RequestAppTicket_stub); // Implement custom encryption token
|
||||
}
|
||||
|
||||
int priority() override
|
||||
{
|
||||
return 9996;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -222,6 +222,4 @@ namespace splash
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef AVOID_UNNECESSARY_CHANGES
|
||||
REGISTER_COMPONENT(splash::component)
|
||||
#endif // AVOID_UNNECESSARY_CHANGES
|
||||
REGISTER_COMPONENT(splash::component)
|
Reference in New Issue
Block a user