vulnerable-AD icon indicating copy to clipboard operation
vulnerable-AD copied to clipboard

Install Errors - Banner and Validation Errors

Open forensic65x opened this issue 2 years ago • 2 comments

I'm getting errors that appear to be triggered by the special characters in the banner.

I trimmed the banner and still getting ParameterArgumentValidationErrors..

If I run it using version 3.0 of powershell it appears some modules are running (PasswordSpray, DCSync, etc) but others are not.

This is a fresh install of 2016 setup as a Primary DC.

forensic65x avatar Sep 04 '21 19:09 forensic65x

I solved the ParserError by saving the vulnad.ps1 script, opening it within Notepad++, changing the file encoding (Encoding > UTF-8-BOM) and saving it.

Then I was able to import it (Import-Module .\vulnad.ps1) and successfully lanch the last command (Invoke-VulnAD)

devl00p avatar Feb 14 '22 15:02 devl00p

Try to save with notepad

b3nj1-1 avatar Mar 27 '22 01:03 b3nj1-1

To run this just from powershell, the following should work

(New-Object Net.WebClient).DownloadString("https://raw.githubusercontent.com/wazehell/vulnerable-AD/master/vulnad.ps1") | Out-File -Encoding ascii vulnad.ps1
Import-Module .\vulnad.ps1
Invoke-VulnAD

synap5e avatar Aug 26 '22 02:08 synap5e