-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
682 additions
and
1 deletion.
There are no files selected for viewing
Submodule shellcode
deleted from
45acd7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<?xml version="1.0"?> | ||
<CommonSettings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<CodeCoverage> | ||
<ViewModel> | ||
<AppCollection> | ||
<AppDataViewModel> | ||
<Application>$(TargetPath)</Application> | ||
<Arguments /> | ||
<Directory>$(ProjectDir)</Directory> | ||
<Environment /> | ||
<MergeEnvironment>true</MergeEnvironment> | ||
<PostRunApps /> | ||
</AppDataViewModel> | ||
</AppCollection> | ||
<RunPhase1>true</RunPhase1> | ||
<RunPhase2>true</RunPhase2> | ||
<RunPhase3>true</RunPhase3> | ||
</ViewModel> | ||
<InstrumentThreadSafe>false</InstrumentThreadSafe> | ||
<Dictionary> | ||
<ArrayOfElement> | ||
<Element> | ||
<Key>pm_output_filename</Key> | ||
<Value xsi:type="xsd:string">codecov.profdata</Value> | ||
</Element> | ||
<Element> | ||
<Key>cc_format</Key> | ||
<Value xsi:type="xsd:string">html</Value> | ||
</Element> | ||
<Element> | ||
<Key>cc_expansions</Key> | ||
<Value xsi:type="xsd:boolean">false</Value> | ||
</Element> | ||
</ArrayOfElement> | ||
</Dictionary> | ||
</CodeCoverage> | ||
<PGO> | ||
<ViewModel> | ||
<AppCollection> | ||
<AppDataViewModel> | ||
<Application>$(TargetPath)</Application> | ||
<Arguments /> | ||
<Directory>$(ProjectDir)</Directory> | ||
<Environment /> | ||
<MergeEnvironment>true</MergeEnvironment> | ||
<PostRunApps /> | ||
</AppDataViewModel> | ||
</AppCollection> | ||
<RunPhase1>true</RunPhase1> | ||
<RunPhase2>true</RunPhase2> | ||
<RunPhase3>true</RunPhase3> | ||
</ViewModel> | ||
<InstrumentThreadSafe>false</InstrumentThreadSafe> | ||
<InstrumentFuncOrder>false</InstrumentFuncOrder> | ||
<InstrumentDataLayout>false</InstrumentDataLayout> | ||
<SelectedInstrumentOption>InstrumentClang</SelectedInstrumentOption> | ||
</PGO> | ||
</CommonSettings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,203 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Label="ProjectConfigurations"> | ||
<ProjectConfiguration Include="Debug|Win32"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>Win32</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|Win32"> | ||
<Configuration>Release</Configuration> | ||
<Platform>Win32</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Debug|x64"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>x64</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|x64"> | ||
<Configuration>Release</Configuration> | ||
<Platform>x64</Platform> | ||
</ProjectConfiguration> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<VCProjectVersion>17.0</VCProjectVersion> | ||
<Keyword>Win32Proj</Keyword> | ||
<ProjectGuid>{6b314396-4e08-4f04-8125-88aea43ae893}</ProjectGuid> | ||
<RootNamespace>Shellcode</RootNamespace> | ||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<UseDebugLibraries>true</UseDebugLibraries> | ||
<PlatformToolset>v143</PlatformToolset> | ||
<CharacterSet>Unicode</CharacterSet> | ||
<CodeCoverageOperations>Disabled</CodeCoverageOperations> | ||
<UseInteloneTBB>false</UseInteloneTBB> | ||
<ProfileGuidedOptimization>Disabled</ProfileGuidedOptimization> | ||
<BasePlatformToolset>v143</BasePlatformToolset> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<UseDebugLibraries>false</UseDebugLibraries> | ||
<PlatformToolset>v143</PlatformToolset> | ||
<WholeProgramOptimization>true</WholeProgramOptimization> | ||
<CharacterSet>Unicode</CharacterSet> | ||
<CodeCoverageOperations>Disabled</CodeCoverageOperations> | ||
<UseInteloneTBB>false</UseInteloneTBB> | ||
<ProfileGuidedOptimization>Disabled</ProfileGuidedOptimization> | ||
<BasePlatformToolset>v143</BasePlatformToolset> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<UseDebugLibraries>true</UseDebugLibraries> | ||
<PlatformToolset>v143</PlatformToolset> | ||
<CharacterSet>Unicode</CharacterSet> | ||
<CodeCoverageOperations>Disabled</CodeCoverageOperations> | ||
<UseInteloneTBB>false</UseInteloneTBB> | ||
<ProfileGuidedOptimization>Disabled</ProfileGuidedOptimization> | ||
<BasePlatformToolset>v143</BasePlatformToolset> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<UseDebugLibraries>false</UseDebugLibraries> | ||
<PlatformToolset>v143</PlatformToolset> | ||
<WholeProgramOptimization>true</WholeProgramOptimization> | ||
<CharacterSet>Unicode</CharacterSet> | ||
<CodeCoverageOperations>Disabled</CodeCoverageOperations> | ||
<UseInteloneTBB>false</UseInteloneTBB> | ||
<ProfileGuidedOptimization>Disabled</ProfileGuidedOptimization> | ||
<BasePlatformToolset>v143</BasePlatformToolset> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
<ImportGroup Label="ExtensionSettings"> | ||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" /> | ||
</ImportGroup> | ||
<ImportGroup Label="Shared"> | ||
</ImportGroup> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
</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 Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
</ImportGroup> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<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)'=='Debug|Win32'"> | ||
<ExternalIncludePath>..\include;$(ExternalIncludePath)</ExternalIncludePath> | ||
<GenerateManifest>false</GenerateManifest> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<ExternalIncludePath>..\include;$(ExternalIncludePath)</ExternalIncludePath> | ||
<GenerateManifest>false</GenerateManifest> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
<ExternalIncludePath>..\include;$(ExternalIncludePath)</ExternalIncludePath> | ||
<GenerateManifest>false</GenerateManifest> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<ExternalIncludePath>..\include;$(ExternalIncludePath)</ExternalIncludePath> | ||
<GenerateManifest>false</GenerateManifest> | ||
</PropertyGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<ClCompile> | ||
<WarningLevel>TurnOffAllWarnings</WarningLevel> | ||
<SDLCheck>false</SDLCheck> | ||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<ConformanceMode>false</ConformanceMode> | ||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> | ||
<BufferSecurityCheck>false</BufferSecurityCheck> | ||
<Optimization>MinSpace</Optimization> | ||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed> | ||
<BasicRuntimeChecks>Default</BasicRuntimeChecks> | ||
<DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings> | ||
<MultiProcessorCompilation>false</MultiProcessorCompilation> | ||
<UseMSVC>false</UseMSVC> | ||
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<GenerateDebugInformation>false</GenerateDebugInformation> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<ClCompile> | ||
<WarningLevel>TurnOffAllWarnings</WarningLevel> | ||
<FunctionLevelLinking>true</FunctionLevelLinking> | ||
<IntrinsicFunctions>true</IntrinsicFunctions> | ||
<SDLCheck>false</SDLCheck> | ||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<ConformanceMode>false</ConformanceMode> | ||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> | ||
<BufferSecurityCheck>false</BufferSecurityCheck> | ||
<Optimization>MinSpace</Optimization> | ||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed> | ||
<DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings> | ||
<BasicRuntimeChecks>Default</BasicRuntimeChecks> | ||
<MultiProcessorCompilation>false</MultiProcessorCompilation> | ||
<UseMSVC>false</UseMSVC> | ||
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
<OptimizeReferences>true</OptimizeReferences> | ||
<GenerateDebugInformation>false</GenerateDebugInformation> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> | ||
<ClCompile> | ||
<WarningLevel>TurnOffAllWarnings</WarningLevel> | ||
<SDLCheck>false</SDLCheck> | ||
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<ConformanceMode>false</ConformanceMode> | ||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> | ||
<BufferSecurityCheck>false</BufferSecurityCheck> | ||
<Optimization>MinSpace</Optimization> | ||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed> | ||
<BasicRuntimeChecks>Default</BasicRuntimeChecks> | ||
<DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings> | ||
<MultiProcessorCompilation>false</MultiProcessorCompilation> | ||
<UseMSVC>false</UseMSVC> | ||
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<GenerateDebugInformation>false</GenerateDebugInformation> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> | ||
<ClCompile> | ||
<WarningLevel>TurnOffAllWarnings</WarningLevel> | ||
<FunctionLevelLinking>true</FunctionLevelLinking> | ||
<IntrinsicFunctions>true</IntrinsicFunctions> | ||
<SDLCheck>false</SDLCheck> | ||
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<ConformanceMode>false</ConformanceMode> | ||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary> | ||
<BufferSecurityCheck>false</BufferSecurityCheck> | ||
<Optimization>MinSpace</Optimization> | ||
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed> | ||
<DisableSpecificWarnings>%(DisableSpecificWarnings)</DisableSpecificWarnings> | ||
<BasicRuntimeChecks>Default</BasicRuntimeChecks> | ||
<MultiProcessorCompilation>false</MultiProcessorCompilation> | ||
<UseMSVC>false</UseMSVC> | ||
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<GenerateDebugInformation>false</GenerateDebugInformation> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemGroup> | ||
<ClCompile Include="ToolsBypass.cpp" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClInclude Include="..\include\api.hpp" /> | ||
<ClInclude Include="..\include\utils.hpp" /> | ||
</ItemGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
<ImportGroup Label="ExtensionTargets"> | ||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" /> | ||
</ImportGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<Filter Include="源文件"> | ||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> | ||
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions> | ||
</Filter> | ||
<Filter Include="头文件"> | ||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> | ||
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions> | ||
</Filter> | ||
<Filter Include="资源文件"> | ||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> | ||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> | ||
</Filter> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="ToolsBypass.cpp"> | ||
<Filter>源文件</Filter> | ||
</ClCompile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClInclude Include="..\include\utils.hpp"> | ||
<Filter>头文件</Filter> | ||
</ClInclude> | ||
<ClInclude Include="..\include\api.hpp"> | ||
<Filter>头文件</Filter> | ||
</ClInclude> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" /> | ||
</Project> |
Oops, something went wrong.