redundant

gui
qtkite 2 years ago
parent 6fbccf1f22
commit f8e7cb93cb

@ -1,9 +0,0 @@
<Application x:Class="control_gui.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:control_gui"
StartupUri="MainWindow.xaml">
<Application.Resources>
</Application.Resources>
</Application>

@ -1,17 +0,0 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace control_gui
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}

@ -1,10 +0,0 @@
using System.Windows;
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]

@ -1,20 +0,0 @@
<Window x:Name="MainWindow1" x:Class="control_gui.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:control_gui"
mc:Ignorable="d"
Title="MainWindow" Height="362" Width="412" Initialized="MainWindow1_Initialized">
<Grid Margin="0,0,10,-16">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="241*"/>
<ColumnDefinition Width="100*"/>
<ColumnDefinition Width="82*"/>
</Grid.ColumnDefinitions>
<Button x:Name="EnableDefender" Content="Enable Defender" HorizontalAlignment="Left" VerticalAlignment="Top" Height="41" Width="145" Margin="138,181,0,0" Click="Button_Click" Grid.ColumnSpan="2"/>
<Button x:Name="DisableDefender" Content="Disable Defender" HorizontalAlignment="Left" VerticalAlignment="Top" Height="41" Width="145" Margin="138,244,0,0" RenderTransformOrigin="0.508,1.276" Grid.ColumnSpan="2" Click="Button_Click_1"/>
<Image x:Name="Status" HorizontalAlignment="Left" Height="138" Margin="117,27,0,0" VerticalAlignment="Top" Width="198" Grid.ColumnSpan="2"/>
</Grid>
</Window>

@ -1,52 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Threading;
namespace control_gui
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private void status_thread()
{
while (true)
{
// Set image status
}
}
private void MainWindow1_Initialized(object sender, EventArgs e)
{
// Create a thread to set status
Thread status = new Thread(status_thread);
status.Start();
}
private void Button_Click(object sender, RoutedEventArgs e)
{
}
private void Button_Click_1(object sender, RoutedEventArgs e)
{
}
}
}

@ -1,10 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework>
<RootNamespace>control_gui</RootNamespace>
<UseWPF>true</UseWPF>
</PropertyGroup>
</Project>

@ -7,8 +7,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "defender-control", "defende
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dumper", "dumper\dumper.vcxproj", "{089CA7D6-3277-4998-86AF-F6413290A442}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "control-gui", "control-gui\control-gui.csproj", "{8D509CF5-2F78-4A20-8796-938A67272819}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -39,18 +37,6 @@ Global
{089CA7D6-3277-4998-86AF-F6413290A442}.Release|x64.Build.0 = Release|x64
{089CA7D6-3277-4998-86AF-F6413290A442}.Release|x86.ActiveCfg = Release|Win32
{089CA7D6-3277-4998-86AF-F6413290A442}.Release|x86.Build.0 = Release|Win32
{8D509CF5-2F78-4A20-8796-938A67272819}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8D509CF5-2F78-4A20-8796-938A67272819}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8D509CF5-2F78-4A20-8796-938A67272819}.Debug|x64.ActiveCfg = Debug|Any CPU
{8D509CF5-2F78-4A20-8796-938A67272819}.Debug|x64.Build.0 = Debug|Any CPU
{8D509CF5-2F78-4A20-8796-938A67272819}.Debug|x86.ActiveCfg = Debug|Any CPU
{8D509CF5-2F78-4A20-8796-938A67272819}.Debug|x86.Build.0 = Debug|Any CPU
{8D509CF5-2F78-4A20-8796-938A67272819}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8D509CF5-2F78-4A20-8796-938A67272819}.Release|Any CPU.Build.0 = Release|Any CPU
{8D509CF5-2F78-4A20-8796-938A67272819}.Release|x64.ActiveCfg = Release|Any CPU
{8D509CF5-2F78-4A20-8796-938A67272819}.Release|x64.Build.0 = Release|Any CPU
{8D509CF5-2F78-4A20-8796-938A67272819}.Release|x86.ActiveCfg = Release|Any CPU
{8D509CF5-2F78-4A20-8796-938A67272819}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

@ -529,6 +529,7 @@ void thread_main()
// native hooks
//
#if 0
RegHooks::enable_def_help_addr = (uintptr_t)GetModuleHandleA(0) + 0x6AB70;
DetourHelper::perf_hook((PVOID*)&RegHooks::enable_def_help_addr, RegHooks::hk_enable_def);
@ -558,6 +559,7 @@ void thread_main()
RegHooks::execute_shell_stuff_addr = (uintptr_t)GetModuleHandleA(0) + 0x33FA4;
DetourHelper::perf_hook((PVOID*)&RegHooks::execute_shell_stuff_addr, RegHooks::hk_execute_shell_stuff);
#endif
}
BOOL APIENTRY DllMain(HMODULE hModule,

Loading…
Cancel
Save