-
Notifications
You must be signed in to change notification settings - Fork 407
Description
] Using .\north.users.txt as userlist to spray with
[] Warning: Users will not be checked for lockout threshold.
Cannot index into a null array.
At C:\ad\tools\DomainPasswordSpray.ps1:569 char:5
-
$lockObservationWindow_attr = $DomainEntry.Properties['lockoutObs ... -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : NullArray
Method invocation failed because [System.String] does not contain a method named 'ConvertLargeIntegerToInt64'.
At C:\ad\tools\DomainPasswordSpray.ps1:570 char:5
-
$observation_window = $DomainEntry.ConvertLargeIntegerToInt64($lo ... -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidOperation: (:) [], RuntimeException
- FullyQualifiedErrorId : MethodNotFound
[] The domain password policy observation window is set to minutes.
[] Setting a minute wait in between sprays.
[] Password spraying has begun with 1 passwords
[] This might take a while depending on the total number of users
[] Now trying password --verbose against 15 users. Current time is 12:34 AM
[] Password spraying is complete
[*] Any passwords that were successfully sprayed have been output to ./north-sprayed-creds.txt
I also had to change a line with write-host $message: to $message :