diff --git a/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Builder.Designer.cs b/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Builder.Designer.cs index 2851314..06682c2 100644 --- a/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Builder.Designer.cs +++ b/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Builder.Designer.cs @@ -200,6 +200,7 @@ this.Controls.Add(this.button1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Builder"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Builder"; this.Load += new System.EventHandler(this.Builder_Load); this.groupBox1.ResumeLayout(false); diff --git a/AsyncRAT-C#/AsyncRAT-Sharp/Resources/Stub.exe b/AsyncRAT-C#/AsyncRAT-Sharp/Resources/Stub.exe index f60e6ca..348da78 100644 Binary files a/AsyncRAT-C#/AsyncRAT-Sharp/Resources/Stub.exe and b/AsyncRAT-C#/AsyncRAT-Sharp/Resources/Stub.exe differ diff --git a/AsyncRAT-C#/Client/Handle Packet/HandlePacket.cs b/AsyncRAT-C#/Client/Handle Packet/HandlePacket.cs index 331859a..3c508eb 100644 --- a/AsyncRAT-C#/Client/Handle Packet/HandlePacket.cs +++ b/AsyncRAT-C#/Client/Handle Packet/HandlePacket.cs @@ -1,6 +1,7 @@ using Client.Helper; using Client.MessagePack; using Client.Sockets; +using Microsoft.Win32; using System; using System.Diagnostics; using System.IO; @@ -222,6 +223,14 @@ namespace Client.Handle_Packet private static void Uninstall() { + if (Convert.ToBoolean(Settings.Install)) + { + try + { + Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Windows\CurrentVersion\Run\").DeleteValue(Path.GetFileName(Settings.ClientFullPath)); + } + catch { } + } ProcessStartInfo Del = null; try {