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

not getting installed. Pls help

Open jabriyel opened this issue 3 years ago • 5 comments

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
    

jabriyel avatar Aug 06 '21 19:08 jabriyel

The problem is in the function ShowBanner. If you copy it and delete this, it will work!

0xELMATO avatar Aug 13 '21 09:08 0xELMATO

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?

fahadalmulhim96 avatar Aug 14 '21 06:08 fahadalmulhim96

lines 23-29 not encoded properly and causing error, so you can delete them and run script again.

superuser5 avatar Aug 20 '21 06:08 superuser5

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.

0xELMATO avatar Aug 20 '21 07:08 0xELMATO

Try to copy the script in notepad and save

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