Added hard-coded override logins to system

This commit is contained in:
Jake Howard 2014-12-30 20:57:52 +00:00
parent f6de22bda8
commit dcf9fa96da

View file

@ -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;
}
}
}
}