mirror of
https://github.com/monoxgas/sRDI
synced 2026-06-06 16:14:36 +00:00
918 lines
33 KiB
XML
918 lines
33 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
<ProjectConfiguration Include="Debug|Win32">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
<Configuration>Debug</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|Win32">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>Win32</Platform>
|
|
</ProjectConfiguration>
|
|
<ProjectConfiguration Include="Release|x64">
|
|
<Configuration>Release</Configuration>
|
|
<Platform>x64</Platform>
|
|
</ProjectConfiguration>
|
|
</ItemGroup>
|
|
<PropertyGroup Label="Globals">
|
|
<ProjectGuid>{6FC09BDB-365F-4691-BBD9-CB7F69C9527A}</ProjectGuid>
|
|
<Keyword>Win32Proj</Keyword>
|
|
<RootNamespace>PIC_Bindshell</RootNamespace>
|
|
<ProjectName>ShellcodeRDI</ProjectName>
|
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<PlatformToolset>v110</PlatformToolset>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
<PlatformToolset>v142</PlatformToolset>
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
</PropertyGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
<ImportGroup Label="ExtensionSettings">
|
|
</ImportGroup>
|
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
<PropertyGroup Label="UserMacros" />
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<LinkIncremental>
|
|
</LinkIncremental>
|
|
<IgnoreImportLibrary />
|
|
<GenerateManifest />
|
|
<ExtensionsToDeleteOnClean>*.bin;*.map;*.cdf;*.cache;*.obj;*.ilk;*.resources;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pgc;*.pgd;*.meta;*.tlog;*.manifest;*.res;*.pch;*.exp;*.idb;*.rep;*.xdc;*.pdb;*_manifest.rc;*.bsc;*.sbr;*.xml;*.metagen;*.bi</ExtensionsToDeleteOnClean>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<LinkIncremental />
|
|
<IgnoreImportLibrary />
|
|
<GenerateManifest />
|
|
<ExtensionsToDeleteOnClean>*.bin;*.map;*.cdf;*.cache;*.obj;*.ilk;*.resources;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pgc;*.pgd;*.meta;*.tlog;*.manifest;*.res;*.pch;*.exp;*.idb;*.rep;*.xdc;*.pdb;*_manifest.rc;*.bsc;*.sbr;*.xml;*.metagen;*.bi</ExtensionsToDeleteOnClean>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
|
<LinkIncremental />
|
|
<IgnoreImportLibrary />
|
|
<GenerateManifest />
|
|
<ExtensionsToDeleteOnClean>*.bin;*.map;*.cdf;*.cache;*.obj;*.ilk;*.resources;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pgc;*.pgd;*.meta;*.tlog;*.manifest;*.res;*.pch;*.exp;*.idb;*.rep;*.xdc;*.pdb;*_manifest.rc;*.bsc;*.sbr;*.xml;*.metagen;*.bi</ExtensionsToDeleteOnClean>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<LinkIncremental />
|
|
<IgnoreImportLibrary />
|
|
<GenerateManifest />
|
|
<ExtensionsToDeleteOnClean>*.bin;*.map;*.cdf;*.cache;*.obj;*.ilk;*.resources;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pgc;*.pgd;*.meta;*.tlog;*.manifest;*.res;*.pch;*.exp;*.idb;*.rep;*.xdc;*.pdb;*_manifest.rc;*.bsc;*.sbr;*.xml;*.metagen;*.bi</ExtensionsToDeleteOnClean>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<LinkIncremental />
|
|
<IgnoreImportLibrary />
|
|
<GenerateManifest />
|
|
<ExtensionsToDeleteOnClean>*.bin;*.map;*.cdf;*.cache;*.obj;*.ilk;*.resources;*.tlb;*.tli;*.tlh;*.tmp;*.rsp;*.pgc;*.pgd;*.meta;*.tlog;*.manifest;*.res;*.pch;*.exp;*.idb;*.rep;*.xdc;*.pdb;*_manifest.rc;*.bsc;*.sbr;*.xml;*.metagen;*.bi</ExtensionsToDeleteOnClean>
|
|
</PropertyGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
<ClCompile>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<Optimization>MinSpace</Optimization>
|
|
<FunctionLevelLinking>
|
|
</FunctionLevelLinking>
|
|
<IntrinsicFunctions>
|
|
</IntrinsicFunctions>
|
|
<PreprocessorDefinitions>
|
|
</PreprocessorDefinitions>
|
|
<CompileAs>CompileAsC</CompileAs>
|
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
|
<OmitFramePointers>true</OmitFramePointers>
|
|
<OmitDefaultLibName>true</OmitDefaultLibName>
|
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<BasicRuntimeChecks />
|
|
<DisableLanguageExtensions />
|
|
<CallingConvention />
|
|
<InlineFunctionExpansion />
|
|
<EnableFiberSafeOptimizations />
|
|
<IgnoreStandardIncludePath />
|
|
<PreprocessKeepComments />
|
|
<MinimalRebuild />
|
|
<ExceptionHandling />
|
|
<EnableEnhancedInstructionSet />
|
|
<FloatingPointModel />
|
|
<ForceConformanceInForLoopScope />
|
|
<ExpandAttributedSource />
|
|
<GenerateXMLDocumentationFiles />
|
|
<BrowseInformation />
|
|
<ErrorReporting />
|
|
<TreatWarningAsError />
|
|
<UndefineAllPreprocessorDefinitions />
|
|
<PreprocessToFile />
|
|
<PreprocessSuppressLineNumbers />
|
|
<SmallerTypeCheck />
|
|
<RuntimeLibrary />
|
|
<StructMemberAlignment />
|
|
<TreatWChar_tAsBuiltInType />
|
|
<PrecompiledHeaderFile />
|
|
<PrecompiledHeaderOutputFile />
|
|
<ShowIncludes />
|
|
<UseFullPaths />
|
|
<AssemblerOutput>AssemblyCode</AssemblerOutput>
|
|
<ProgramDataBaseFileName />
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<ShowProgress />
|
|
<PerUserRedirection />
|
|
<ManifestFile />
|
|
<UACExecutionLevel />
|
|
<UACUIAccess />
|
|
<MapExports />
|
|
<SwapRunFromCD />
|
|
<SwapRunFromNET />
|
|
<TypeLibraryResourceID />
|
|
<NoEntryPoint />
|
|
<SetChecksum>false</SetChecksum>
|
|
<RandomizedBaseAddress />
|
|
<TurnOffAssemblyGeneration />
|
|
<Profile />
|
|
<RegisterOutput />
|
|
<AdditionalDependencies>
|
|
</AdditionalDependencies>
|
|
<AllowIsolation />
|
|
<EnableUAC />
|
|
<GenerateMapFile>true</GenerateMapFile>
|
|
<FunctionOrder>function_link_order.txt</FunctionOrder>
|
|
<IgnoreEmbeddedIDL />
|
|
<DataExecutionPrevention />
|
|
<EntryPointSymbol>LoadDLL</EntryPointSymbol>
|
|
<LinkErrorReporting />
|
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
|
<ProgramDatabaseFile />
|
|
<MergeSections>
|
|
</MergeSections>
|
|
<ProfileGuidedDatabase />
|
|
</Link>
|
|
<ProjectReference>
|
|
<UseLibraryDependencyInputs />
|
|
</ProjectReference>
|
|
<Manifest>
|
|
<SuppressStartupBanner />
|
|
</Manifest>
|
|
<Manifest>
|
|
<VerboseOutput />
|
|
</Manifest>
|
|
<PreBuildEvent>
|
|
<Command>
|
|
</Command>
|
|
</PreBuildEvent>
|
|
<PreBuildEvent>
|
|
<Message>
|
|
</Message>
|
|
</PreBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File "$(SolutionDir)lib\PowerShell\Out-Shellcode.ps1" "$(OutDir)$(TargetName)$(TargetExt)" "$(OutDir)$(TargetName).map" "$(SolutionDir)bin\$(TargetName)_x86.bin"</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Message>Extract position independent shellcode</Message>
|
|
</PostBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
<ClCompile>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<Optimization>MinSpace</Optimization>
|
|
<FunctionLevelLinking>
|
|
</FunctionLevelLinking>
|
|
<IntrinsicFunctions>
|
|
</IntrinsicFunctions>
|
|
<PreprocessorDefinitions>
|
|
</PreprocessorDefinitions>
|
|
<CompileAs>CompileAsC</CompileAs>
|
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
|
<OmitFramePointers>
|
|
</OmitFramePointers>
|
|
<OmitDefaultLibName>true</OmitDefaultLibName>
|
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<BasicRuntimeChecks>
|
|
</BasicRuntimeChecks>
|
|
<DisableLanguageExtensions>
|
|
</DisableLanguageExtensions>
|
|
<CallingConvention>
|
|
</CallingConvention>
|
|
<InlineFunctionExpansion>
|
|
</InlineFunctionExpansion>
|
|
<EnableFiberSafeOptimizations>
|
|
</EnableFiberSafeOptimizations>
|
|
<IgnoreStandardIncludePath>
|
|
</IgnoreStandardIncludePath>
|
|
<PreprocessKeepComments>
|
|
</PreprocessKeepComments>
|
|
<MinimalRebuild>
|
|
</MinimalRebuild>
|
|
<ExceptionHandling>
|
|
</ExceptionHandling>
|
|
<EnableEnhancedInstructionSet>
|
|
</EnableEnhancedInstructionSet>
|
|
<FloatingPointModel>
|
|
</FloatingPointModel>
|
|
<ForceConformanceInForLoopScope>
|
|
</ForceConformanceInForLoopScope>
|
|
<ExpandAttributedSource>
|
|
</ExpandAttributedSource>
|
|
<GenerateXMLDocumentationFiles>
|
|
</GenerateXMLDocumentationFiles>
|
|
<BrowseInformation>
|
|
</BrowseInformation>
|
|
<ErrorReporting>
|
|
</ErrorReporting>
|
|
<TreatWarningAsError>
|
|
</TreatWarningAsError>
|
|
<UndefineAllPreprocessorDefinitions>
|
|
</UndefineAllPreprocessorDefinitions>
|
|
<PreprocessToFile>
|
|
</PreprocessToFile>
|
|
<PreprocessSuppressLineNumbers>
|
|
</PreprocessSuppressLineNumbers>
|
|
<SmallerTypeCheck>
|
|
</SmallerTypeCheck>
|
|
<RuntimeLibrary>
|
|
</RuntimeLibrary>
|
|
<StructMemberAlignment>
|
|
</StructMemberAlignment>
|
|
<TreatWChar_tAsBuiltInType>
|
|
</TreatWChar_tAsBuiltInType>
|
|
<PrecompiledHeaderFile>
|
|
</PrecompiledHeaderFile>
|
|
<PrecompiledHeaderOutputFile>
|
|
</PrecompiledHeaderOutputFile>
|
|
<ShowIncludes>
|
|
</ShowIncludes>
|
|
<UseFullPaths>
|
|
</UseFullPaths>
|
|
<AssemblerOutput>AssemblyCode</AssemblerOutput>
|
|
<ProgramDataBaseFileName>
|
|
</ProgramDataBaseFileName>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<ShowProgress>
|
|
</ShowProgress>
|
|
<PerUserRedirection>
|
|
</PerUserRedirection>
|
|
<ManifestFile>
|
|
</ManifestFile>
|
|
<UACExecutionLevel>
|
|
</UACExecutionLevel>
|
|
<UACUIAccess>
|
|
</UACUIAccess>
|
|
<MapExports>
|
|
</MapExports>
|
|
<SwapRunFromCD>
|
|
</SwapRunFromCD>
|
|
<SwapRunFromNET>
|
|
</SwapRunFromNET>
|
|
<TypeLibraryResourceID>
|
|
</TypeLibraryResourceID>
|
|
<NoEntryPoint>
|
|
</NoEntryPoint>
|
|
<SetChecksum>false</SetChecksum>
|
|
<RandomizedBaseAddress>
|
|
</RandomizedBaseAddress>
|
|
<TurnOffAssemblyGeneration>
|
|
</TurnOffAssemblyGeneration>
|
|
<Profile>
|
|
</Profile>
|
|
<RegisterOutput>
|
|
</RegisterOutput>
|
|
<AdditionalDependencies>
|
|
</AdditionalDependencies>
|
|
<AllowIsolation>
|
|
</AllowIsolation>
|
|
<EnableUAC>
|
|
</EnableUAC>
|
|
<GenerateMapFile>true</GenerateMapFile>
|
|
<FunctionOrder>function_link_order.txt</FunctionOrder>
|
|
<IgnoreEmbeddedIDL>
|
|
</IgnoreEmbeddedIDL>
|
|
<DataExecutionPrevention>
|
|
</DataExecutionPrevention>
|
|
<EntryPointSymbol>ExecutePayload</EntryPointSymbol>
|
|
<LinkErrorReporting>
|
|
</LinkErrorReporting>
|
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
|
<ProgramDatabaseFile>
|
|
</ProgramDatabaseFile>
|
|
<MergeSections>
|
|
</MergeSections>
|
|
<ProfileGuidedDatabase>
|
|
</ProfileGuidedDatabase>
|
|
</Link>
|
|
<ProjectReference>
|
|
<UseLibraryDependencyInputs>
|
|
</UseLibraryDependencyInputs>
|
|
</ProjectReference>
|
|
<Manifest>
|
|
<SuppressStartupBanner>
|
|
</SuppressStartupBanner>
|
|
</Manifest>
|
|
<Manifest>
|
|
<VerboseOutput>
|
|
</VerboseOutput>
|
|
</Manifest>
|
|
<PreBuildEvent>
|
|
<Command>
|
|
</Command>
|
|
</PreBuildEvent>
|
|
<PreBuildEvent>
|
|
<Message>
|
|
</Message>
|
|
</PreBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File "$(SolutionDir)lib\PowerShell\Out-Shellcode.ps1" "$(OutDir)$(TargetName)$(TargetExt)" "$(OutDir)$(TargetName).map" "$(SolutionDir)bin\$(TargetName)_x86.bin"</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Message>Extract position independent shellcode</Message>
|
|
</PostBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
|
|
<ClCompile>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<Optimization>MinSpace</Optimization>
|
|
<FunctionLevelLinking>
|
|
</FunctionLevelLinking>
|
|
<IntrinsicFunctions>
|
|
</IntrinsicFunctions>
|
|
<PreprocessorDefinitions>
|
|
</PreprocessorDefinitions>
|
|
<CompileAs>CompileAsC</CompileAs>
|
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
|
<OmitFramePointers>
|
|
</OmitFramePointers>
|
|
<OmitDefaultLibName>true</OmitDefaultLibName>
|
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
|
<DebugInformationFormat>
|
|
</DebugInformationFormat>
|
|
<BasicRuntimeChecks>
|
|
</BasicRuntimeChecks>
|
|
<DisableLanguageExtensions>
|
|
</DisableLanguageExtensions>
|
|
<CallingConvention>
|
|
</CallingConvention>
|
|
<InlineFunctionExpansion>
|
|
</InlineFunctionExpansion>
|
|
<EnableFiberSafeOptimizations>
|
|
</EnableFiberSafeOptimizations>
|
|
<IgnoreStandardIncludePath>
|
|
</IgnoreStandardIncludePath>
|
|
<PreprocessKeepComments>
|
|
</PreprocessKeepComments>
|
|
<MinimalRebuild>
|
|
</MinimalRebuild>
|
|
<ExceptionHandling>
|
|
</ExceptionHandling>
|
|
<EnableEnhancedInstructionSet>
|
|
</EnableEnhancedInstructionSet>
|
|
<FloatingPointModel>
|
|
</FloatingPointModel>
|
|
<ForceConformanceInForLoopScope>
|
|
</ForceConformanceInForLoopScope>
|
|
<ExpandAttributedSource>
|
|
</ExpandAttributedSource>
|
|
<GenerateXMLDocumentationFiles>
|
|
</GenerateXMLDocumentationFiles>
|
|
<BrowseInformation>
|
|
</BrowseInformation>
|
|
<ErrorReporting>
|
|
</ErrorReporting>
|
|
<TreatWarningAsError>
|
|
</TreatWarningAsError>
|
|
<UndefineAllPreprocessorDefinitions>
|
|
</UndefineAllPreprocessorDefinitions>
|
|
<PreprocessToFile>
|
|
</PreprocessToFile>
|
|
<PreprocessSuppressLineNumbers>
|
|
</PreprocessSuppressLineNumbers>
|
|
<SmallerTypeCheck>
|
|
</SmallerTypeCheck>
|
|
<RuntimeLibrary>
|
|
</RuntimeLibrary>
|
|
<StructMemberAlignment>
|
|
</StructMemberAlignment>
|
|
<TreatWChar_tAsBuiltInType>
|
|
</TreatWChar_tAsBuiltInType>
|
|
<PrecompiledHeaderFile>
|
|
</PrecompiledHeaderFile>
|
|
<PrecompiledHeaderOutputFile>
|
|
</PrecompiledHeaderOutputFile>
|
|
<ShowIncludes>
|
|
</ShowIncludes>
|
|
<UseFullPaths>
|
|
</UseFullPaths>
|
|
<AssemblerOutput>AssemblyCode</AssemblerOutput>
|
|
<ProgramDataBaseFileName>
|
|
</ProgramDataBaseFileName>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>
|
|
</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<ShowProgress>
|
|
</ShowProgress>
|
|
<PerUserRedirection>
|
|
</PerUserRedirection>
|
|
<ManifestFile>
|
|
</ManifestFile>
|
|
<UACExecutionLevel>
|
|
</UACExecutionLevel>
|
|
<UACUIAccess>
|
|
</UACUIAccess>
|
|
<MapExports>
|
|
</MapExports>
|
|
<SwapRunFromCD>
|
|
</SwapRunFromCD>
|
|
<SwapRunFromNET>
|
|
</SwapRunFromNET>
|
|
<TypeLibraryResourceID>
|
|
</TypeLibraryResourceID>
|
|
<NoEntryPoint>
|
|
</NoEntryPoint>
|
|
<SetChecksum>false</SetChecksum>
|
|
<RandomizedBaseAddress>
|
|
</RandomizedBaseAddress>
|
|
<TurnOffAssemblyGeneration>
|
|
</TurnOffAssemblyGeneration>
|
|
<Profile>
|
|
</Profile>
|
|
<RegisterOutput>
|
|
</RegisterOutput>
|
|
<AdditionalDependencies>
|
|
</AdditionalDependencies>
|
|
<AllowIsolation>
|
|
</AllowIsolation>
|
|
<EnableUAC>
|
|
</EnableUAC>
|
|
<GenerateMapFile>true</GenerateMapFile>
|
|
<FunctionOrder>function_link_order.txt</FunctionOrder>
|
|
<IgnoreEmbeddedIDL>
|
|
</IgnoreEmbeddedIDL>
|
|
<DataExecutionPrevention>
|
|
</DataExecutionPrevention>
|
|
<EntryPointSymbol>ExecutePayload</EntryPointSymbol>
|
|
<LinkErrorReporting>
|
|
</LinkErrorReporting>
|
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
|
<ProgramDatabaseFile>
|
|
</ProgramDatabaseFile>
|
|
<ProfileGuidedDatabase>
|
|
</ProfileGuidedDatabase>
|
|
</Link>
|
|
<ProjectReference>
|
|
<UseLibraryDependencyInputs>
|
|
</UseLibraryDependencyInputs>
|
|
</ProjectReference>
|
|
<Manifest>
|
|
<SuppressStartupBanner>
|
|
</SuppressStartupBanner>
|
|
</Manifest>
|
|
<Manifest>
|
|
<VerboseOutput>
|
|
</VerboseOutput>
|
|
</Manifest>
|
|
<PreBuildEvent>
|
|
<Command>
|
|
</Command>
|
|
</PreBuildEvent>
|
|
<PreBuildEvent>
|
|
<Message>
|
|
</Message>
|
|
</PreBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\Out-Shellcode.ps1 $(OutDir)$(TargetName)$(TargetExt) $(OutDir)$(TargetName).map $(OutDir)$(TargetName)_shellcode.bin</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Message>Extract position independent shellcode</Message>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\Out-Shellcode.ps1 $(OutDir)$(TargetName)$(TargetExt) $(OutDir)$(TargetName).map $(OutDir)$(TargetName)_shellcode.bin</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\Out-Shellcode.ps1 $(OutDir)$(TargetName)$(TargetExt) $(OutDir)$(TargetName).map $(OutDir)$(TargetName)_shellcode.bin</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\Out-Shellcode.ps1 $(OutDir)$(TargetName)$(TargetExt) $(OutDir)$(TargetName).map $(OutDir)$(TargetName)_shellcode.bin</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\Out-Shellcode.ps1 $(OutDir)$(TargetName)$(TargetExt) $(OutDir)$(TargetName).map $(OutDir)$(TargetName)_shellcode.bin</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\Out-Shellcode.ps1 $(OutDir)$(TargetName)$(TargetExt) $(OutDir)$(TargetName).map $(OutDir)$(TargetName)_shellcode.bin</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\Out-Shellcode.ps1 $(OutDir)$(TargetName)$(TargetExt) (OutDir)$(TargetName).map $(OutDir)$(TargetName)_shellcode.bin</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\Out-Shellcode.ps1 $(OutDir)$(TargetName)$(TargetExt) $(OutDir)$(TargetName).map $(OutDir)$(TargetName)_shellcode.bin</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>
|
|
</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\Out-Shellcode.ps1 $(OutDir)$(TargetName)$(TargetExt) $(OutDir)$(TargetName).map $(OutDir)$(TargetName)_shellcode.bin</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>
|
|
</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File $(SolutionDir)lib\PowerShell\Out-Shellcode.ps1 $(OutDir)$(TargetName)$(TargetExt) $(ProjectDir) $(OutDir)$(TargetName).map $(OutDir)$(TargetName)_shellcode.bin</Command>
|
|
</PostBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
<ClCompile>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<Optimization>MinSpace</Optimization>
|
|
<FunctionLevelLinking>
|
|
</FunctionLevelLinking>
|
|
<IntrinsicFunctions>
|
|
</IntrinsicFunctions>
|
|
<PreprocessorDefinitions>
|
|
</PreprocessorDefinitions>
|
|
<CompileAs>CompileAsC</CompileAs>
|
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
|
<OmitFramePointers>true</OmitFramePointers>
|
|
<OmitDefaultLibName>true</OmitDefaultLibName>
|
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<BasicRuntimeChecks>
|
|
</BasicRuntimeChecks>
|
|
<DisableLanguageExtensions>
|
|
</DisableLanguageExtensions>
|
|
<CallingConvention>
|
|
</CallingConvention>
|
|
<InlineFunctionExpansion>
|
|
</InlineFunctionExpansion>
|
|
<EnableFiberSafeOptimizations>
|
|
</EnableFiberSafeOptimizations>
|
|
<IgnoreStandardIncludePath>
|
|
</IgnoreStandardIncludePath>
|
|
<PreprocessKeepComments>
|
|
</PreprocessKeepComments>
|
|
<MinimalRebuild>
|
|
</MinimalRebuild>
|
|
<ExceptionHandling>
|
|
</ExceptionHandling>
|
|
<EnableEnhancedInstructionSet>
|
|
</EnableEnhancedInstructionSet>
|
|
<FloatingPointModel>
|
|
</FloatingPointModel>
|
|
<ForceConformanceInForLoopScope>
|
|
</ForceConformanceInForLoopScope>
|
|
<ExpandAttributedSource>
|
|
</ExpandAttributedSource>
|
|
<GenerateXMLDocumentationFiles>
|
|
</GenerateXMLDocumentationFiles>
|
|
<BrowseInformation>
|
|
</BrowseInformation>
|
|
<ErrorReporting>
|
|
</ErrorReporting>
|
|
<TreatWarningAsError>
|
|
</TreatWarningAsError>
|
|
<UndefineAllPreprocessorDefinitions>
|
|
</UndefineAllPreprocessorDefinitions>
|
|
<PreprocessToFile>
|
|
</PreprocessToFile>
|
|
<PreprocessSuppressLineNumbers>
|
|
</PreprocessSuppressLineNumbers>
|
|
<SmallerTypeCheck>
|
|
</SmallerTypeCheck>
|
|
<RuntimeLibrary>
|
|
</RuntimeLibrary>
|
|
<StructMemberAlignment>
|
|
</StructMemberAlignment>
|
|
<TreatWChar_tAsBuiltInType>
|
|
</TreatWChar_tAsBuiltInType>
|
|
<PrecompiledHeaderFile>
|
|
</PrecompiledHeaderFile>
|
|
<PrecompiledHeaderOutputFile>
|
|
</PrecompiledHeaderOutputFile>
|
|
<ShowIncludes>
|
|
</ShowIncludes>
|
|
<UseFullPaths>
|
|
</UseFullPaths>
|
|
<AssemblerOutput>AssemblyCode</AssemblerOutput>
|
|
<ProgramDataBaseFileName />
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<ShowProgress>
|
|
</ShowProgress>
|
|
<PerUserRedirection>
|
|
</PerUserRedirection>
|
|
<ManifestFile>
|
|
</ManifestFile>
|
|
<UACExecutionLevel>
|
|
</UACExecutionLevel>
|
|
<UACUIAccess>
|
|
</UACUIAccess>
|
|
<MapExports>
|
|
</MapExports>
|
|
<SwapRunFromCD>
|
|
</SwapRunFromCD>
|
|
<SwapRunFromNET>
|
|
</SwapRunFromNET>
|
|
<TypeLibraryResourceID>
|
|
</TypeLibraryResourceID>
|
|
<NoEntryPoint>
|
|
</NoEntryPoint>
|
|
<SetChecksum>false</SetChecksum>
|
|
<RandomizedBaseAddress>
|
|
</RandomizedBaseAddress>
|
|
<TurnOffAssemblyGeneration>
|
|
</TurnOffAssemblyGeneration>
|
|
<Profile>
|
|
</Profile>
|
|
<RegisterOutput>
|
|
</RegisterOutput>
|
|
<AdditionalDependencies>
|
|
</AdditionalDependencies>
|
|
<AllowIsolation>
|
|
</AllowIsolation>
|
|
<EnableUAC>
|
|
</EnableUAC>
|
|
<GenerateMapFile>true</GenerateMapFile>
|
|
<FunctionOrder>function_link_order.txt</FunctionOrder>
|
|
<IgnoreEmbeddedIDL>
|
|
</IgnoreEmbeddedIDL>
|
|
<DataExecutionPrevention>
|
|
</DataExecutionPrevention>
|
|
<EntryPointSymbol>LoadDLL</EntryPointSymbol>
|
|
<LinkErrorReporting>
|
|
</LinkErrorReporting>
|
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
|
<ProgramDatabaseFile />
|
|
<ProfileGuidedDatabase />
|
|
</Link>
|
|
<ProjectReference>
|
|
<UseLibraryDependencyInputs>
|
|
</UseLibraryDependencyInputs>
|
|
</ProjectReference>
|
|
<Manifest>
|
|
<SuppressStartupBanner>
|
|
</SuppressStartupBanner>
|
|
</Manifest>
|
|
<Manifest>
|
|
<VerboseOutput>
|
|
</VerboseOutput>
|
|
</Manifest>
|
|
<PreBuildEvent>
|
|
<Command>
|
|
</Command>
|
|
</PreBuildEvent>
|
|
<PreBuildEvent>
|
|
<Message>
|
|
</Message>
|
|
</PreBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File "$(SolutionDir)lib\PowerShell\Out-Shellcode.ps1" "$(OutDir)$(TargetName)$(TargetExt)" "$(OutDir)$(TargetName).map" "$(SolutionDir)bin\$(TargetName)_x64.bin"</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Message>Extract position independent shellcode</Message>
|
|
</PostBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
<ClCompile>
|
|
<WarningLevel>Level4</WarningLevel>
|
|
<PrecompiledHeader>
|
|
</PrecompiledHeader>
|
|
<Optimization>MinSpace</Optimization>
|
|
<FunctionLevelLinking>
|
|
</FunctionLevelLinking>
|
|
<IntrinsicFunctions>
|
|
</IntrinsicFunctions>
|
|
<PreprocessorDefinitions>
|
|
</PreprocessorDefinitions>
|
|
<CompileAs>CompileAsC</CompileAs>
|
|
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
|
|
<OmitFramePointers>
|
|
</OmitFramePointers>
|
|
<OmitDefaultLibName>true</OmitDefaultLibName>
|
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
<BasicRuntimeChecks>
|
|
</BasicRuntimeChecks>
|
|
<DisableLanguageExtensions>
|
|
</DisableLanguageExtensions>
|
|
<CallingConvention>
|
|
</CallingConvention>
|
|
<InlineFunctionExpansion>
|
|
</InlineFunctionExpansion>
|
|
<EnableFiberSafeOptimizations>
|
|
</EnableFiberSafeOptimizations>
|
|
<IgnoreStandardIncludePath>
|
|
</IgnoreStandardIncludePath>
|
|
<PreprocessKeepComments>
|
|
</PreprocessKeepComments>
|
|
<MinimalRebuild>
|
|
</MinimalRebuild>
|
|
<ExceptionHandling>
|
|
</ExceptionHandling>
|
|
<EnableEnhancedInstructionSet>
|
|
</EnableEnhancedInstructionSet>
|
|
<FloatingPointModel>
|
|
</FloatingPointModel>
|
|
<ForceConformanceInForLoopScope>
|
|
</ForceConformanceInForLoopScope>
|
|
<ExpandAttributedSource>
|
|
</ExpandAttributedSource>
|
|
<GenerateXMLDocumentationFiles>
|
|
</GenerateXMLDocumentationFiles>
|
|
<BrowseInformation>
|
|
</BrowseInformation>
|
|
<ErrorReporting>
|
|
</ErrorReporting>
|
|
<TreatWarningAsError>
|
|
</TreatWarningAsError>
|
|
<UndefineAllPreprocessorDefinitions>
|
|
</UndefineAllPreprocessorDefinitions>
|
|
<PreprocessToFile>
|
|
</PreprocessToFile>
|
|
<PreprocessSuppressLineNumbers>
|
|
</PreprocessSuppressLineNumbers>
|
|
<SmallerTypeCheck>
|
|
</SmallerTypeCheck>
|
|
<RuntimeLibrary>
|
|
</RuntimeLibrary>
|
|
<StructMemberAlignment>
|
|
</StructMemberAlignment>
|
|
<TreatWChar_tAsBuiltInType>
|
|
</TreatWChar_tAsBuiltInType>
|
|
<PrecompiledHeaderFile>
|
|
</PrecompiledHeaderFile>
|
|
<PrecompiledHeaderOutputFile>
|
|
</PrecompiledHeaderOutputFile>
|
|
<ShowIncludes>
|
|
</ShowIncludes>
|
|
<UseFullPaths>
|
|
</UseFullPaths>
|
|
<AssemblerOutput>AssemblyCode</AssemblerOutput>
|
|
<ProgramDataBaseFileName>
|
|
</ProgramDataBaseFileName>
|
|
</ClCompile>
|
|
<Link>
|
|
<SubSystem>Console</SubSystem>
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
<OptimizeReferences>true</OptimizeReferences>
|
|
<ShowProgress>
|
|
</ShowProgress>
|
|
<PerUserRedirection>
|
|
</PerUserRedirection>
|
|
<ManifestFile>
|
|
</ManifestFile>
|
|
<UACExecutionLevel>
|
|
</UACExecutionLevel>
|
|
<UACUIAccess>
|
|
</UACUIAccess>
|
|
<MapExports>
|
|
</MapExports>
|
|
<SwapRunFromCD>
|
|
</SwapRunFromCD>
|
|
<SwapRunFromNET>
|
|
</SwapRunFromNET>
|
|
<TypeLibraryResourceID>
|
|
</TypeLibraryResourceID>
|
|
<NoEntryPoint>
|
|
</NoEntryPoint>
|
|
<SetChecksum>false</SetChecksum>
|
|
<RandomizedBaseAddress>
|
|
</RandomizedBaseAddress>
|
|
<TurnOffAssemblyGeneration>
|
|
</TurnOffAssemblyGeneration>
|
|
<Profile>
|
|
</Profile>
|
|
<RegisterOutput>
|
|
</RegisterOutput>
|
|
<AdditionalDependencies>
|
|
</AdditionalDependencies>
|
|
<AllowIsolation>
|
|
</AllowIsolation>
|
|
<EnableUAC>
|
|
</EnableUAC>
|
|
<GenerateMapFile>true</GenerateMapFile>
|
|
<FunctionOrder>function_link_order.txt</FunctionOrder>
|
|
<IgnoreEmbeddedIDL>
|
|
</IgnoreEmbeddedIDL>
|
|
<DataExecutionPrevention>
|
|
</DataExecutionPrevention>
|
|
<EntryPointSymbol>ExecutePayload</EntryPointSymbol>
|
|
<LinkErrorReporting>
|
|
</LinkErrorReporting>
|
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
|
<ProgramDatabaseFile>
|
|
</ProgramDatabaseFile>
|
|
<ProfileGuidedDatabase>
|
|
</ProfileGuidedDatabase>
|
|
</Link>
|
|
<ProjectReference>
|
|
<UseLibraryDependencyInputs>
|
|
</UseLibraryDependencyInputs>
|
|
</ProjectReference>
|
|
<Manifest>
|
|
<SuppressStartupBanner>
|
|
</SuppressStartupBanner>
|
|
</Manifest>
|
|
<Manifest>
|
|
<VerboseOutput>
|
|
</VerboseOutput>
|
|
</Manifest>
|
|
<PreBuildEvent>
|
|
<Command>
|
|
</Command>
|
|
</PreBuildEvent>
|
|
<PreBuildEvent>
|
|
<Message>
|
|
</Message>
|
|
</PreBuildEvent>
|
|
<PostBuildEvent>
|
|
<Command>powershell.exe -NoProfile -ExecutionPolicy Bypass -File $(SolutionDir)lib\PowerShell\Out-Shellcode.ps1 $(OutDir)$(TargetName)$(TargetExt) $(OutDir)$(TargetName).map $(SolutionDir)bin\$(TargetName)_x64.bin</Command>
|
|
</PostBuildEvent>
|
|
<PostBuildEvent>
|
|
<Message>Extract position independent shellcode</Message>
|
|
</PostBuildEvent>
|
|
</ItemDefinitionGroup>
|
|
<ItemGroup>
|
|
<ClInclude Include="GetProcAddressWithHash.h" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ClCompile Include="ShellcodeRDI.c" />
|
|
</ItemGroup>
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
<ImportGroup Label="ExtensionTargets">
|
|
</ImportGroup>
|
|
</Project> |