Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

PowerUp gives a lot of errors #353

@PenTestical

Description

@PenTestical

Hi,

I'm using Kali 2019.3 (VMware Workstation Player 15) and tried to use PowerUp inside a meterpreter shell. After starting a powershell, I entered the following command

meterpreter > powershell_shell PS > . .\PowerUp.ps1 ERROR: At C:\Users\bill\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\PowerUp.ps1:146 char:19 ERROR: + Sign&nbsp;up ERROR: + ~ ERROR: The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double ERROR: quotation marks ("&") to pass it as part of a string. ERROR: ERROR: At C:\Users\bill\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\PowerUp.ps1:173 char:190 ERROR: + ... ures">Features <span class="Bump-link-symbol float-right text-normal text-gray-l ... ERROR: + ~ ERROR: The '<' operator is reserved for future use. ERROR: ERROR: At C:\Users\bill\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\PowerUp.ps1:173 char:261 ERROR: + ... xt-gray-light">&rarr;</span></a> ERROR: + ~ ERROR: The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double ERROR: quotation marks ("&") to pass it as part of a string. ERROR: ERROR: At C:\Users\bill\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\PowerUp.ps1:186 char:255 ERROR: + ... stomer stories <span class="Bump-link-symbol float-right text-normal text-gray-l ... ERROR: + ~ ERROR: The '<' operator is reserved for future use. ERROR: ERROR: At C:\Users\bill\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\PowerUp.ps1:186 char:326 ERROR: + ... xt-gray-light">&rarr;</span></a></li> ERROR: + ~ ERROR: The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double ERROR: quotation marks ("&") to pass it as part of a string. ERROR: ERROR: At C:\Users\bill\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\PowerUp.ps1:187 char:231 ERROR: + ... rity">Security <span class="Bump-link-symbol float-right text-normal text-gray-l ... ERROR: + ~ ERROR: The '<' operator is reserved for future use. ERROR: ERROR: At C:\Users\bill\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\PowerUp.ps1:187 char:302 ERROR: + ... xt-gray-light">&rarr;</span></a></li> ERROR: + ~ ERROR: The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double ERROR: quotation marks ("&") to pass it as part of a string. ERROR: ERROR: At C:\Users\bill\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\PowerUp.ps1:210 char:222 ERROR: + ... Explore GitHub <span class="Bump-link-symbol float-right text-normal text-gray-l ... ERROR: + ~ ERROR: The '<' operator is reserved for future use. ERROR: ERROR: At C:\Users\bill\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\PowerUp.ps1:210 char:293 ERROR: + ... xt-gray-light">&rarr;</span></a></li> ERROR: + ~ ERROR: The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double ERROR: quotation marks ("&") to pass it as part of a string. ERROR: ERROR: At C:\Users\bill\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\PowerUp.ps1:213 char:107 ERROR: + ... pt-lg-3">Learn &amp; contribute</h4> ERROR: + ~ ERROR: The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double ERROR: quotation marks ("&") to pass it as part of a string. ERROR: ERROR: Not all parse errors were reported. Correct the reported errors and try again. ERROR: ERROR: ERROR: + CategoryInfo : ParserError: (:) [], ParseException ERROR: + FullyQualifiedErrorId : AmpersandNotAllowed ERROR:
I've successful uploaded PowerUp to the target machine, but can't use the Exploit. Any suggestions, what I'm doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions