diff --git a/SharpSpray/SharpSpray.cs b/SharpSpray/SharpSpray.cs index 72a7897..30c44c5 100755 --- a/SharpSpray/SharpSpray.cs +++ b/SharpSpray/SharpSpray.cs @@ -73,7 +73,7 @@ static void Main(string[] args) { int UserCount = UserList.Count; Console.WriteLine("[+] Successfully collected " + UserCount + " usernames from Active Directory."); - lockoutThreshold = (int)dEntry.Properties["minPwdLength"].Value; + lockoutThreshold = (int)dEntry.Properties["lockoutThreshold"].Value; Console.WriteLine("[*] The Lockout Threshold for the current domain is " + lockoutThreshold + "."); minPwdLength = (int)dEntry.Properties["minPwdLength"].Value; Console.WriteLine("[*] The Min Password Length for the current domain is " + minPwdLength + ".");