mirror of
https://github.com/rapid7/metasploit-payloads
synced 2024-11-26 17:41:08 +01:00
73c3a2cfcd
* r7_debug and r7_release configurations added. * Make now detects if the appropriate libraries are on disk and will build whatever it can. If PSSDK is present in the appropriate location then it will attempt to build ext_server_sniffer. * ext_server_sniffer is now buildable with VS 2012 with all the settings correct. * ext_server_sniffer was failing to load once built. The cause of this was that the hMetSrv handle wasn't being set to a valid value prior to the command_register calls happening, it was being set too late. I'm not sure why this results in a crash, but moving this one call to a location prior to the command_register calls does resolve that problem.
31 lines
1.1 KiB
XML
31 lines
1.1 KiB
XML
<?xml version="1.0" standalone="yes"?>
|
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<SolutionPath>.\meterpreter.sln</SolutionPath>
|
|
</PropertyGroup>
|
|
|
|
<Target Name="all" DependsOnTargets="x86;x64" />
|
|
<Target Name="r7_all" DependsOnTargets="r7_x86;r7_x64" />
|
|
|
|
<Target Name="x86">
|
|
<Message Text="Building x86 Release version" />
|
|
<MSBuild Projects="$(SolutionPath)" Properties="Configuration=Release;Platform=Win32" Targets="Clean;Rebuild"/>
|
|
</Target>
|
|
|
|
<Target Name="r7_x86">
|
|
<Message Text="Building x86 Release R7 binaries" />
|
|
<MSBuild Projects="$(SolutionPath)" Properties="Configuration=r7_Release;Platform=Win32" Targets="Clean;Rebuild"/>
|
|
</Target>
|
|
|
|
<Target Name="x64">
|
|
<Message Text="Building x64 Release version" />
|
|
<MSBuild Projects="$(SolutionPath)" Properties="Configuration=Release;Platform=x64" Targets="Clean;Rebuild"/>
|
|
</Target>
|
|
|
|
<Target Name="r7_x64">
|
|
<Message Text="Building x64 Release R7 binaries" />
|
|
<MSBuild Projects="$(SolutionPath)" Properties="Configuration=r7_Release;Platform=x64" Targets="Clean;Rebuild"/>
|
|
</Target>
|
|
</Project>
|
|
|