using DecryptPwd.utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DecryptPwd
{
    class Program
    {
        static void Main(string[] args)
        {
            Welcome();
            if (args.Length == 0)
            {
                System.Console.WriteLine("Usage: DecryptPwd.exe -4624");
                System.Console.WriteLine("       DecryptPwd.exe -4625");
            }
            if (args.Length == 1 && (args[0] == "-4624"))
            {
                LoginEvent.EventLog_4624();
            }
            if (args.Length == 1 && (args[0] == "-4625"))
            {
                LoginEvent.EventLog_4625();
            }if (args.Length == 1 && (args[0] == "")) {
                String res = FoxmailUtils.decodePW(19, "fff");
                System.Console.WriteLine(res);
            }
        }

       static void Welcome()
        {
            System.Console.WriteLine("");
            System.Console.WriteLine("Author: liuyuqi");
            System.Console.WriteLine("Email: liuyuqi.gov@msn.cn");
            System.Console.WriteLine("");
        }
    }
}