1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-07-18 18:31:41 +02:00

Recompile DLL and alter vcxproj file to automatically place generated DLL in right folder

This commit is contained in:
gwillcox-r7 2020-05-06 16:33:01 -05:00
parent 1325c28ebd
commit 1c79674620
No known key found for this signature in database
GPG Key ID: D35E05C0F2B81E83
2 changed files with 7 additions and 1 deletions

View File

@ -22,7 +22,7 @@
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{A91C38F4-DDFE-4CF4-B690-5CD785DAB381}</ProjectGuid>
<RootNamespace>NtUserMNDragOverExploit</RootNamespace>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@ -102,6 +102,12 @@
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
<PostBuildEvent>
<Command>IF EXIST "..\..\..\..\..\data\exploits\CVE-2019-0808\" GOTO COPY
mkdir "..\..\..\..\..\data\exploits\CVE-2019-0808\"
:COPY
copy /y "$(targetDir)$(targetFileName)" "..\..\..\..\..\data\exploits\CVE-2019-0808\exploit.dll"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>