From dcf9fa96da88fa8868fea8b409f8c4a5adca5d43 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 30 Dec 2014 20:57:52 +0000 Subject: [PATCH] Added hard-coded override logins to system --- privateFunctions.cs | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/privateFunctions.cs b/privateFunctions.cs index 0ac43e9..cd520e6 100644 --- a/privateFunctions.cs +++ b/privateFunctions.cs @@ -1,9 +1,8 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using System.Threading.Tasks; - +using System.Drawing; namespace Pithos { class privateFunctions { @@ -20,5 +19,17 @@ namespace Pithos valids.Add(")"); return valids; } + public static bool checkHardCodes(string input) + { + string hash = tools.hash(input).ToLower(); + Program.UL.unlockButton.Text = hash; + switch (hash) + { + case "747ec194be4358b3d54b3a29f5a20546": + return true; + default: + return false; + } + } } }