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

PowerUp gives a lot of errors #353

Open
PenTestical opened this issue May 10, 2020 · 2 comments
Open

PowerUp gives a lot of errors #353

PenTestical opened this issue May 10, 2020 · 2 comments

Comments

@PenTestical
Copy link

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?

@Chamse
Copy link

Chamse commented May 12, 2020

im experiencing the same problem

@Chamse
Copy link

Chamse commented May 14, 2020

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?

I found out what i was doing wrong, i did a wget on the link to the script which resultet in getting PowerUp.ps1 but it contained alot of html... make sure you clone the whole repository

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants