1
mirror of https://github.com/rapid7/metasploit-payloads synced 2024-11-20 14:39:22 +01:00

Update to build against new libs, remove hacks to make things work

This commit is contained in:
OJ 2020-04-14 12:39:22 +10:00
parent 443bfca952
commit 1a6bb89845
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597
3 changed files with 1 additions and 19 deletions

View File

@ -1,14 +0,0 @@
#include <stdio.h>
_ACRTIMP_ALT FILE** __cdecl __iob_func()
{
static FILE* x[3] = { NULL };
if (x[0] == NULL)
{
x[0] = stdin;
x[1] = stdout;
x[2] = stderr;
}
return x;
}

View File

@ -266,7 +266,7 @@ copy /y "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\output\$(PlatformSho
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</ClCompile>
<Link>
<AdditionalDependencies>legacy_stdio_definitions.lib;ssleay32.lib;libeay32.lib;gdiplus.lib;Netapi32.lib;crypt32.lib;ws2_32.lib;Mpr.lib;metsrv.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>ssleay32.lib;libeay32.lib;gdiplus.lib;Netapi32.lib;crypt32.lib;ws2_32.lib;Mpr.lib;metsrv.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalLibraryDirectories>..\metsrv\$(Configuration)\$(Platform);..\..\deps\openssl\lib\win\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<DelayLoadDLLs>metsrv.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>false</GenerateDebugInformation>
@ -500,7 +500,6 @@ copy /y "$(TargetDir)$(TargetFileName)" "$(ProjectDir)..\..\output\$(PlatformSho
<ClCompile Include="..\..\source\extensions\python\Python\graminit.c" />
<ClCompile Include="..\..\source\extensions\python\Python\import.c" />
<ClCompile Include="..\..\source\extensions\python\Python\importdl.c" />
<ClCompile Include="..\..\source\extensions\python\Python\iob_func_hack.c" />
<ClCompile Include="..\..\source\extensions\python\Python\marshal.c" />
<ClCompile Include="..\..\source\extensions\python\Python\modsupport.c" />
<ClCompile Include="..\..\source\extensions\python\Python\mysnprintf.c" />

View File

@ -1031,9 +1031,6 @@
<ClCompile Include="..\..\source\extensions\python\Modules\_multiprocessing\win32_functions.c">
<Filter>Modules\_multiprocessing</Filter>
</ClCompile>
<ClCompile Include="..\..\source\extensions\python\Python\iob_func_hack.c">
<Filter>Python</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\source\extensions\python\Resource Files\python_core.rc">