From f732a64edb238e0a0d060beadddc673ce5f6027b Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Mon, 24 Apr 2017 07:37:00 +0300 Subject: [PATCH] Fix function address search on amd64 --- client/sources/pupy.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/sources/pupy.c b/client/sources/pupy.c index efbdf4f3..6fba2775 100644 --- a/client/sources/pupy.c +++ b/client/sources/pupy.c @@ -6,9 +6,12 @@ #include "Python-dynload.h" #include #include +#include "MyLoadLibrary.h" #include "base_inject.h" static char module_doc[] = "Builtins utilities for pupy"; +HMODULE _load_dll(const char *name, const char *bytes); + char pupy_config[32768]="####---PUPY_CONFIG_COMES_HERE---####\n"; //big array to have space for more config / code run at startup. scriptlets also takes more space ! extern const DWORD dwPupyArch;