Beispiel #1
0
        public override string[] Execute(ParsedArgs args)
        {
            LDAP          spnLookup       = new LDAP();
            List <string> userListWitSPNs = spnLookup.GetAccountsWithSPNs();

            return(userListWitSPNs.ToArray());
        }
Beispiel #2
0
        public override string[] Execute(ParsedArgs args)
        {
            try
            {
                LDAP          spnLookup       = new LDAP();
                List <string> userListWitSPNs = spnLookup.GetAccountsWithSPNs();

                return(userListWitSPNs.ToArray());
            }
            catch (Exception e)
            {
                return(new string[] { "[X] Failure to enumerate info - " + e });
            }
        }