orlyjamie / mimikittenz

A post-exploitation powershell tool for extracting juicy info from memory.
1.82k stars 334 forks source link

Fix assignment to automatic variable #9

Closed IISResetMe closed 8 years ago

IISResetMe commented 8 years ago

$matches is an automatic variable in PowerShell 2.0 and above. Current assignment works by overriding a local copy, but if anyone decides to fork Invoke-mimikittenz.ps1 and do any type of regex matching in PowerShell natively, they may be in for a grim surprise.