vulnerable-AD
vulnerable-AD copied to clipboard
not getting installed. Pls help
PS C:\Users\Administrator> IEX((new-object net.webclient).downloadstring("https://raw.githubusercontent.com/wazehell/vulnerable-AD/master/vulnad.ps1")); IEX : At line:24 char:46
- ... $banner+= $Global:Spacing + '██║ ██║██║ █■...
-
~~~~~~~~~~~~~~~~~~
Unexpected token '██║██║' in expression or statement. At line:25 char:46
- ... $banner+= $Global:Spacing + '██║ ██║██║ █■...
-
~~~~~~~~~~~~~~~~~~
Unexpected token '██║██║' in expression or statement. At line:258 char:37
-
Write-Good "SMB Signing Disabled"
-
~
The string is missing the terminator: ". At line:20 char:21
- function ShowBanner {
-
~
Missing closing '}' in statement block or type definition. At line:1 char:1
- IEX((new-object net.webclient).downloadstring("https://raw.githubuser ...
-
+ CategoryInfo : ParserError: (:) [Invoke-Expression], ParseException + FullyQualifiedErrorId : UnexpectedToken,Microsoft.PowerShell.Commands.InvokeExpressionCommand
The problem is in the function ShowBanner. If you copy it and delete this, it will work!
I Have get the same error what should I do? and what do you mean that the error in the function ShowBanner? and what do you mean by copy it and delete it?
lines 23-29 not encoded properly and causing error, so you can delete them and run script again.
I Have get the same error what should I do? and what do you mean that the error in the function ShowBanner? and what do you mean by copy it and delete it?
Just download the script, open it with Notepad or any other editor. Then delete all the lines between 20 and 34 (ShowBanner function). Including those two. Save and run the script.
Try to copy the script in notepad and save