diff --git a/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Builder.cs b/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Builder.cs index fa9c8af..492e496 100644 --- a/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Builder.cs +++ b/AsyncRAT-C#/AsyncRAT-Sharp/Forms/Builder.cs @@ -3,6 +3,7 @@ using System.Linq; using System.Windows.Forms; using dnlib.DotNet; using dnlib.DotNet.Emit; +using System.IO; namespace AsyncRAT_Sharp.Forms { @@ -25,7 +26,7 @@ namespace AsyncRAT_Sharp.Forms try { - var md = ModuleDefMD.Load(@"C:\Users\NC\source\repos\AsyncRAT-C-Sharp\AsyncRAT-C#\Client\bin\Debug\Client.exe"); + var md = ModuleDefMD.Load(Path.Combine(Application.StartupPath, "Stub.exe")); foreach (TypeDef type in md.Types) { if (type.Name == "Settings") diff --git a/AsyncRAT-C#/Client/Client.csproj b/AsyncRAT-C#/Client/Client.csproj index c18179e..3f5eaed 100644 --- a/AsyncRAT-C#/Client/Client.csproj +++ b/AsyncRAT-C#/Client/Client.csproj @@ -7,7 +7,7 @@ {C3C49F45-2589-4E04-9C50-71B6035C14AE} WinExe Client - Client + Stub v4.0 512 true