This commit is contained in:
NYAN CAT 2019-03-24 14:26:19 -07:00
parent 4c76180913
commit 72d6db11be
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@ using System.Linq;
using System.Windows.Forms; using System.Windows.Forms;
using dnlib.DotNet; using dnlib.DotNet;
using dnlib.DotNet.Emit; using dnlib.DotNet.Emit;
using System.IO;
namespace AsyncRAT_Sharp.Forms namespace AsyncRAT_Sharp.Forms
{ {
@ -25,7 +26,7 @@ namespace AsyncRAT_Sharp.Forms
try 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) foreach (TypeDef type in md.Types)
{ {
if (type.Name == "Settings") if (type.Name == "Settings")

View File

@ -7,7 +7,7 @@
<ProjectGuid>{C3C49F45-2589-4E04-9C50-71B6035C14AE}</ProjectGuid> <ProjectGuid>{C3C49F45-2589-4E04-9C50-71B6035C14AE}</ProjectGuid>
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<RootNamespace>Client</RootNamespace> <RootNamespace>Client</RootNamespace>
<AssemblyName>Client</AssemblyName> <AssemblyName>Stub</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic> <Deterministic>true</Deterministic>