diff --git a/AsyncRAT-C#/AsyncRAT-Sharp/Forms/FormRemoteDesktop.cs b/AsyncRAT-C#/AsyncRAT-Sharp/Forms/FormRemoteDesktop.cs index cede735..9e63f8a 100644 --- a/AsyncRAT-C#/AsyncRAT-Sharp/Forms/FormRemoteDesktop.cs +++ b/AsyncRAT-C#/AsyncRAT-Sharp/Forms/FormRemoteDesktop.cs @@ -118,9 +118,14 @@ namespace AsyncRAT_Sharp.Forms { timerSave.Start(); btnSave.BackgroundImage = Properties.Resources.save_image2; - string fullPath = Path.Combine(Application.StartupPath, "ClientsFolder\\" + C.ID); - if (Directory.Exists(fullPath)) + try + { + string fullPath = Path.Combine(Application.StartupPath, "ClientsFolder\\" + C.ID + "\\RemoteDesktop"); + if (!Directory.Exists(fullPath)) + Directory.CreateDirectory(fullPath); Process.Start(fullPath); + } + catch { } } } }