garrettfoster13 / Invoke-Pre2kSpray

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:PowerShell 100.0%