Added hard-coded override logins to system
This commit is contained in:
parent
f6de22bda8
commit
dcf9fa96da
1 changed files with 13 additions and 2 deletions
|
@ -1,9 +1,8 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using System.Drawing;
|
||||||
namespace Pithos
|
namespace Pithos
|
||||||
{
|
{
|
||||||
class privateFunctions {
|
class privateFunctions {
|
||||||
|
@ -20,5 +19,17 @@ namespace Pithos
|
||||||
valids.Add(")");
|
valids.Add(")");
|
||||||
return valids;
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue