This commit is contained in:
NYAN CAT 2019-05-08 20:53:40 -07:00
parent 86081199e4
commit 8663f03b6f
4 changed files with 9 additions and 10 deletions

View File

@ -217,11 +217,9 @@
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\AsyncRAT-Sharp.exe.config" />
</ItemGroup>
<ItemGroup>
<Content Include="async_icon.ico" />
<None Include="Resources\AsyncRAT-Sharp.exe.config" />
<None Include="Resources\ddos.png" />
<None Include="Resources\settings.png" />
<None Include="Resources\arrow_up.png" />

View File

@ -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)

View File

@ -133,9 +133,6 @@
<data name="play-button" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\play-button.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="AsyncRAT_Sharp_exe" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\AsyncRAT-Sharp.exe.config;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="botkiller" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\botkiller.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
@ -184,4 +181,7 @@
<data name="ddos" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ddos.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="AsyncRAT_Sharp_exe" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\AsyncRAT-Sharp.exe.config;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
</data>
</root>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">