예제 #1
0
        public void Execute(Dictionary <string, string> arguments)
        {
            if (arguments.ContainsKey("/luid"))
            {
                Interop.LUID luid = new Interop.LUID();

                if (arguments.ContainsKey("/luid"))
                {
                    try
                    {
                        luid = new Interop.LUID(arguments["/luid"]);
                    }
                    catch
                    {
                        Console.WriteLine("[X] Invalid LUID format ({0})\r\n", arguments["/luid"]);
                        return;
                    }
                }

                LSA.ListKerberosTickets(luid);
            }
            else
            {
                LSA.ListKerberosTickets(new Interop.LUID());
            }
        }