Files
2026-08-27 11:23:13 -06:00

33 lines
1.1 KiB
C#

// Decompiled with JetBrains decompiler
// Type: Server.Handlers.HandleShell
// Assembly: Raton, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 36C4E416-7F8D-4D23-930F-B5CCB0D810E7
// Assembly location: C:\Users\user\Desktop\v3.8.0 Deluxe Plugins (v4.0.0) cracked\Raton.exe
using Raton.Forms.ClientForms.Monitor;
using Server.Connection;
using Stuff;
using System;
using System.Windows.Forms;
#nullable disable
namespace Server.Handlers;
internal class HandleShell
{
public HandleShell(SillyClient client, Unpack rip2pac)
{
ratonShell shellForm = (ratonShell) Application.OpenForms["Reverse shell | Client ID: " + rip2pac.GetAsString("UID")];
if (shellForm == null)
return;
if (shellForm.SillyClient == null)
shellForm.SillyClient = client;
shellForm.Invoke((Delegate) (() =>
{
shellForm.textBoxConsole.AppendText(rip2pac.GetAsString("Output"));
shellForm.textBoxConsole.SelectionStart = shellForm.textBoxConsole.TextLength;
shellForm.textBoxConsole.ScrollToCaret();
}));
}
}