NYAN CAT ab14c1e9bc Update
-Added report window
-Added save keylogger
-Added save remote desktop images
-Added PC options
-Updated password recovery
-Updated ProcessCritical
-Updated UI to remote shell
-Updated disable defender
-Updated anti VM
-Updated client ID method
-Fixed chat
-Fixed send to memory
-Specail thanks to @MrDevBot and @Thoxy67
2019-05-21 22:04:37 +03:00

40 lines
992 B
C#

using Client.Helper;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
namespace Client.Handle_Packet
{
public class HandlePcOptions
{
public HandlePcOptions(string option)
{
switch (option)
{
case "restart":
{
Methods.ClientExit();
Process.Start("Shutdown", "/r /f /t 00");
break;
}
case "shutdown":
{
Methods.ClientExit();
Process.Start("Shutdown", "/s /f /t 00");
break;
}
case "logoff":
{
Methods.ClientExit();
Process.Start("Shutdown", "/l /f");
break;
}
}
}
}
}