From 8663f03b6ff0199526dc4a2239b63f749e154ae6 Mon Sep 17 00:00:00 2001 From: NYAN CAT Date: Wed, 8 May 2019 20:53:40 -0700 Subject: [PATCH] Update --- AsyncRAT-C#/AsyncRAT-Sharp/AsyncRAT-Sharp.csproj | 4 +--- AsyncRAT-C#/AsyncRAT-Sharp/Forms/Form1.cs | 7 ++++--- AsyncRAT-C#/AsyncRAT-Sharp/Properties/Resources.resx | 6 +++--- .../AsyncRAT-Sharp/Resources/AsyncRAT-Sharp.exe.config | 2 +- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/AsyncRAT-C#/AsyncRAT-Sharp/AsyncRAT-Sharp.csproj b/AsyncRAT-C#/AsyncRAT-Sharp/AsyncRAT-Sharp.csproj index 4298a4f..fee5432 100644 --- a/AsyncRAT-C#/AsyncRAT-Sharp/AsyncRAT-Sharp.csproj +++ b/AsyncRAT-C#/AsyncRAT-Sharp/AsyncRAT-Sharp.csproj @@ -217,11 +217,9 @@ - - - + diff --git a/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Form1.cs b/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Form1.cs index fa33c55..c223b0f 100644 --- a/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Form1.cs +++ b/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Form1.cs @@ -42,7 +42,7 @@ namespace AsyncRAT_Sharp { if (!File.Exists(Path.Combine(Application.StartupPath, Path.GetFileName(Application.ExecutablePath) + ".config"))) { - File.WriteAllText(Path.Combine(Application.StartupPath, Path.GetFileName(Application.ExecutablePath) + ".config"), Properties.Resources.AsyncRAT_Sharp_exe); + // File.WriteAllText(Path.Combine(Application.StartupPath, Path.GetFileName(Application.ExecutablePath) + ".config"), Properties.Resources.AsyncRAT_Sharp_exe); Process.Start(Application.ExecutablePath); Environment.Exit(0); } @@ -588,9 +588,9 @@ namespace AsyncRAT_Sharp private static System.Threading.Timer Tick { get; set; } private void STARTToolStripMenuItem_Click(object sender, EventArgs e) { - if (Tick != null && listView1.Items.Count > 0) + if (Tick == null && listView1.Items.Count > 0) { - Tick = new System.Threading.Timer(new TimerCallback(GetThumbnails), null, 2500, 5000); + Tick = new System.Threading.Timer(GetThumbnails, null, 2500, 5000); } } private void GetThumbnails(object obj) @@ -617,6 +617,7 @@ namespace AsyncRAT_Sharp try { Tick?.Dispose(); + Tick = null; listView3.Items.Clear(); imageList1.Images.Clear(); foreach (ListViewItem itm in listView1.Items) diff --git a/AsyncRAT-C#/AsyncRAT-Sharp/Properties/Resources.resx b/AsyncRAT-C#/AsyncRAT-Sharp/Properties/Resources.resx index 390a603..9392c35 100644 --- a/AsyncRAT-C#/AsyncRAT-Sharp/Properties/Resources.resx +++ b/AsyncRAT-C#/AsyncRAT-Sharp/Properties/Resources.resx @@ -133,9 +133,6 @@ ..\Resources\play-button.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\AsyncRAT-Sharp.exe.config;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 - ..\Resources\botkiller.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -184,4 +181,7 @@ ..\Resources\ddos.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\AsyncRAT-Sharp.exe.config;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252 + \ No newline at end of file diff --git a/AsyncRAT-C#/AsyncRAT-Sharp/Resources/AsyncRAT-Sharp.exe.config b/AsyncRAT-C#/AsyncRAT-Sharp/Resources/AsyncRAT-Sharp.exe.config index b17dde4..61bc085 100644 --- a/AsyncRAT-C#/AsyncRAT-Sharp/Resources/AsyncRAT-Sharp.exe.config +++ b/AsyncRAT-C#/AsyncRAT-Sharp/Resources/AsyncRAT-Sharp.exe.config @@ -1,4 +1,4 @@ - +