-
Notifications
You must be signed in to change notification settings - Fork 0
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
28 changed files
with
7,431 additions
and
0 deletions.
There are no files selected for viewing
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,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.4.33205.214 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Krunker Hack Detector", "Krunker Hack Detector\Krunker Hack Detector.csproj", "{2014D3CB-6779-41FF-9DCA-760A3F43E3EB}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{2014D3CB-6779-41FF-9DCA-760A3F43E3EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{2014D3CB-6779-41FF-9DCA-760A3F43E3EB}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{2014D3CB-6779-41FF-9DCA-760A3F43E3EB}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{2014D3CB-6779-41FF-9DCA-760A3F43E3EB}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {AF3762D6-F07E-41A9-BC77-3951ECC11C80} | ||
EndGlobalSection | ||
EndGlobal |
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,6 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<configuration> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8.1" /> | ||
</startup> | ||
</configuration> |
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,25 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Runtime.InteropServices; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Krunker_Hack_Detector.Assets.Others | ||
{ | ||
internal class WinAPI | ||
{ | ||
//SetWindowDisplayAffinity | ||
//SendMessage | ||
//ReleaseCapture | ||
#region DLLimport | ||
[DllImport("User32.Dll", EntryPoint = "PostMessageA")] | ||
public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam); | ||
[DllImport("user32.DLL", EntryPoint = "ReleaseCapture")] | ||
public extern static void ReleaseCapture(); | ||
[DllImport("user32.dll")] | ||
public static extern uint SetWindowDisplayAffinity(IntPtr hWnd, uint dwAffinity); | ||
|
||
#endregion | ||
} | ||
} |
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,84 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{2014D3CB-6779-41FF-9DCA-760A3F43E3EB}</ProjectGuid> | ||
<OutputType>WinExe</OutputType> | ||
<RootNamespace>Krunker_Hack_Detector</RootNamespace> | ||
<AssemblyName>Krunker Hack Detector</AssemblyName> | ||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
<Deterministic>true</Deterministic> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Xml.Linq" /> | ||
<Reference Include="System.Data.DataSetExtensions" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Deployment" /> | ||
<Reference Include="System.Drawing" /> | ||
<Reference Include="System.Net.Http" /> | ||
<Reference Include="System.Windows.Forms" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Assets\Others\WinAPI.cs" /> | ||
<Compile Include="Main.cs"> | ||
<SubType>Form</SubType> | ||
</Compile> | ||
<Compile Include="Main.Designer.cs"> | ||
<DependentUpon>Main.cs</DependentUpon> | ||
</Compile> | ||
<Compile Include="Program.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<EmbeddedResource Include="Main.resx"> | ||
<DependentUpon>Main.cs</DependentUpon> | ||
</EmbeddedResource> | ||
<EmbeddedResource Include="Properties\Resources.resx"> | ||
<Generator>ResXFileCodeGenerator</Generator> | ||
<LastGenOutput>Resources.Designer.cs</LastGenOutput> | ||
<SubType>Designer</SubType> | ||
</EmbeddedResource> | ||
<Compile Include="Properties\Resources.Designer.cs"> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>Resources.resx</DependentUpon> | ||
</Compile> | ||
<None Include="Properties\Settings.settings"> | ||
<Generator>SettingsSingleFileGenerator</Generator> | ||
<LastGenOutput>Settings.Designer.cs</LastGenOutput> | ||
</None> | ||
<Compile Include="Properties\Settings.Designer.cs"> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>Settings.settings</DependentUpon> | ||
<DesignTimeSharedInput>True</DesignTimeSharedInput> | ||
</Compile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="App.config" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
</Project> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,80 @@ | ||
using Krunker_Hack_Detector.Assets.Others; | ||
using System; | ||
using System.Drawing; | ||
using System.Net.WebSockets; | ||
using System.Text; | ||
using System.Threading; | ||
using System.Windows.Forms; | ||
|
||
namespace Krunker_Hack_Detector | ||
{ | ||
public partial class Main : Form | ||
{ | ||
//Main | ||
#region Main | ||
public Main() | ||
{ | ||
InitializeComponent(); | ||
this.BackColor = Color.Black; | ||
this.TransparencyKey = Color.Black; | ||
this.TopMost = true; | ||
WinAPI.SetWindowDisplayAffinity(this.Handle, 0x11); | ||
this.ShowInTaskbar = false; | ||
} | ||
#endregion | ||
|
||
//DeplacementWindows | ||
//Rainbow_Tick | ||
//EditLbl | ||
//Main_Load | ||
#region GUI | ||
private void DeplacementWindows(object sender, MouseEventArgs e) | ||
{ | ||
WinAPI.ReleaseCapture(); | ||
WinAPI.SendMessage(this.Handle, 0x112, 0xf012, 0); | ||
} | ||
|
||
private void Rainbow_Tick(object sender, EventArgs e) | ||
{ | ||
Random Rand = new Random(); | ||
int A = Rand.Next(0, 255); | ||
int R = Rand.Next(0, 255); | ||
int G = Rand.Next(0, 255); | ||
int B = Rand.Next(0, 255); | ||
Lblhackers.ForeColor = Color.FromArgb(A, R, G, B); | ||
} | ||
|
||
public void EditLbl(string Text) | ||
{ | ||
Lblhackers.Text = "Hackers: " + Text; | ||
} | ||
|
||
private void Main_Load(object sender, EventArgs e) | ||
{ | ||
MessageBox.Show("Hello, \r\nand welcome to this software.\r\nThe purpose of this software is to deposit an overlay on your screen in order to display in real time the number of cheaters on the video game Krunker.IO\r\nAttention however, this software takes into account only one cheat. \r\nPowered by D4rk.shop", "Krunker.IO Cheat Detector - Powered by D4rk.shop", MessageBoxButtons.OK, MessageBoxIcon.Information); | ||
UpdateTime(); | ||
} | ||
#endregion | ||
|
||
//UpdateTime | ||
#region Socket | ||
async void UpdateTime() | ||
{ | ||
var sockets = new ClientWebSocket(); | ||
await sockets.ConnectAsync(new Uri("wss://supercounter.tk"), CancellationToken.None); | ||
|
||
while (true) | ||
{ | ||
// Set up a buffer to receive the data. | ||
var buffer = new ArraySegment<byte>(new byte[1024]); | ||
|
||
// Receive data from the WebSocket. | ||
var result = await sockets.ReceiveAsync(buffer, CancellationToken.None); | ||
|
||
// Print the received data to the console. | ||
EditLbl(Encoding.UTF8.GetString(buffer.Array, 0, result.Count)); | ||
} | ||
} | ||
#endregion | ||
} | ||
} |
Oops, something went wrong.