diff --git a/ShiftOS.Frontend/Hacking/HackerTestCommands.cs b/ShiftOS.Frontend/Hacking/HackerTestCommands.cs index a72f267..1b6a1c1 100644 --- a/ShiftOS.Frontend/Hacking/HackerTestCommands.cs +++ b/ShiftOS.Frontend/Hacking/HackerTestCommands.cs @@ -10,33 +10,6 @@ namespace ShiftOS.Frontend { public static class HackerTestCommands { - [Command("lshackables")] - public static void ListAllHackables() - { - foreach(var hackable in Hacking.AvailableToHack) - { - Console.WriteLine(hackable.ID + ": " + hackable.FriendlyName); - } - } - - [Command("lsexploits")] - public static void ListAllExploits() - { - foreach (var exploit in Hacking.AvailableExploits) - { - Console.WriteLine(exploit.ID + ": " + exploit.FriendlyName); - } - } - - [Command("lspayloads")] - public static void ListAllPayloads() - { - foreach (var exploit in Hacking.AvailablePayloads) - { - Console.WriteLine(exploit.ID + ": " + exploit.FriendlyName); - } - } - [Command("lsports")] public static void ListAllPorts() { @@ -46,7 +19,7 @@ namespace ShiftOS.Frontend } } - [Command("describebackable")] + [Command("describehackable")] [RequiresArgument("id")] public static void DescribeHackable(Dictionary args) { @@ -85,20 +58,6 @@ namespace ShiftOS.Frontend Console.WriteLine("Port: " + port.Value.ToString()); Console.WriteLine("Name: " + port.Name); } - - [Command("inithack")] - [RequiresArgument("id")] - public static void InitHack(Dictionary args) - { - string id = args["id"].ToString(); - var hackable = Hacking.AvailableToHack.FirstOrDefault(x => x.ID == id); - if (hackable == null) - { - Console.WriteLine("Hackable not found."); - return; - } - Hacking.InitHack(hackable); - } } } #endif \ No newline at end of file