From 9261bec39c5b342a43c407d562ea7ded8241a667 Mon Sep 17 00:00:00 2001 From: zhwu2697 Date: Sat, 15 May 2021 20:10:31 +1000 Subject: [PATCH] visual studio project --- src/defender-control.sln | 31 ++++ src/defender-control/dcontrol.cpp | 18 +++ src/defender-control/dcontrol.h | 8 + src/defender-control/defender-control.vcxproj | 151 ++++++++++++++++++ .../defender-control.vcxproj.filters | 33 ++++ src/defender-control/main.cpp | 13 ++ 6 files changed, 254 insertions(+) create mode 100644 src/defender-control.sln create mode 100644 src/defender-control/dcontrol.cpp create mode 100644 src/defender-control/dcontrol.h create mode 100644 src/defender-control/defender-control.vcxproj create mode 100644 src/defender-control/defender-control.vcxproj.filters create mode 100644 src/defender-control/main.cpp diff --git a/src/defender-control.sln b/src/defender-control.sln new file mode 100644 index 0000000..a4b0d2e --- /dev/null +++ b/src/defender-control.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.31229.75 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "defender-control", "defender-control\defender-control.vcxproj", "{7C2C0AEC-7B9D-4104-99FA-1844D609452C}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Debug|x64.ActiveCfg = Debug|x64 + {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Debug|x64.Build.0 = Debug|x64 + {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Debug|x86.ActiveCfg = Debug|Win32 + {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Debug|x86.Build.0 = Debug|Win32 + {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Release|x64.ActiveCfg = Release|x64 + {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Release|x64.Build.0 = Release|x64 + {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Release|x86.ActiveCfg = Release|Win32 + {7C2C0AEC-7B9D-4104-99FA-1844D609452C}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {708A26F9-CBFF-49C9-8F9D-1C62AF49488E} + EndGlobalSection +EndGlobal diff --git a/src/defender-control/dcontrol.cpp b/src/defender-control/dcontrol.cpp new file mode 100644 index 0000000..a6b7d00 --- /dev/null +++ b/src/defender-control/dcontrol.cpp @@ -0,0 +1,18 @@ +#include "dcontrol.h" + +namespace DCONTROL +{ + bool enable_control() + { + + return true; + } + + + bool disable_control() + { + + + return true; + } +} \ No newline at end of file diff --git a/src/defender-control/dcontrol.h b/src/defender-control/dcontrol.h new file mode 100644 index 0000000..15ffd87 --- /dev/null +++ b/src/defender-control/dcontrol.h @@ -0,0 +1,8 @@ +#pragma once + +#include + +namespace DCONTROL +{ + +} \ No newline at end of file diff --git a/src/defender-control/defender-control.vcxproj b/src/defender-control/defender-control.vcxproj new file mode 100644 index 0000000..7079fbc --- /dev/null +++ b/src/defender-control/defender-control.vcxproj @@ -0,0 +1,151 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {7c2c0aec-7b9d-4104-99fa-1844d609452c} + defendercontrol + 10.0 + + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + Application + true + v142 + Unicode + + + Application + false + v142 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + false + + + true + + + false + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/defender-control/defender-control.vcxproj.filters b/src/defender-control/defender-control.vcxproj.filters new file mode 100644 index 0000000..cdb1f07 --- /dev/null +++ b/src/defender-control/defender-control.vcxproj.filters @@ -0,0 +1,33 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + {8a88e18b-d3f3-447e-a3b0-9867c153c3c1} + + + + + Source Files + + + Source Files\defender-control + + + + + Source Files\defender-control + + + \ No newline at end of file diff --git a/src/defender-control/main.cpp b/src/defender-control/main.cpp new file mode 100644 index 0000000..b68fc93 --- /dev/null +++ b/src/defender-control/main.cpp @@ -0,0 +1,13 @@ +#include "dcontrol.h" + +// We are going to reverse engineer the d-control from sordum +// and build an open source safe version since i struggle trust +// defender control cause of the virus total false positivies + +// entrypoint +// +int main() +{ + + return 0; +}