/Invoke-Pre2kSpray

Modified DomainPasswordSpray version to enumerate machine accounts and perform a pre2k password spray.

Primary LanguagePowerShell

Invoke-Pre2kSpray

Modified DomainPasswordSpray version to enumerate machine accounts and perform a pre2k password spray.

Example Usage

# Current domain, write output to file
Invoke-Pre2kSpray -OutFile valid-creds.txt

# Specify domain, disable confirmation prompt
Invoke-Pre2kSpray -Domain test.local -Force

# Filter out accounts with pwdlastset in the last 30 days, to speed things up. Those are probably normal machine accounts that rotate their passwords
Invoke-Pre2kSpray -Filter

References / Credits