diff options
| author | william341 <[email protected]> | 2017-07-27 20:48:30 -0700 |
|---|---|---|
| committer | william341 <[email protected]> | 2017-07-27 20:48:30 -0700 |
| commit | 43d1f1633ad569aec54acd5124cb990f9ef9b6eb (patch) | |
| tree | d6f83dc50119764a742fb600703b9e725fc14821 /ShiftOS.Frontend | |
| parent | 91dcb1bd895f3c25c4e35a7c9fb587554a071609 (diff) | |
| download | shiftos_thereturn-43d1f1633ad569aec54acd5124cb990f9ef9b6eb.tar.gz shiftos_thereturn-43d1f1633ad569aec54acd5124cb990f9ef9b6eb.tar.bz2 shiftos_thereturn-43d1f1633ad569aec54acd5124cb990f9ef9b6eb.zip | |
derp
Diffstat (limited to 'ShiftOS.Frontend')
| -rw-r--r-- | ShiftOS.Frontend/Hacking/HackerTestCommands.cs | 43 |
1 files changed, 1 insertions, 42 deletions
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<string, object> 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<string, object> 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 |
