Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting erros when trying to run it #51

Closed
aboubamba opened this issue Dec 20, 2023 · 2 comments
Closed

Getting erros when trying to run it #51

aboubamba opened this issue Dec 20, 2023 · 2 comments
Labels
invalid This doesn't seem right

Comments

@aboubamba
Copy link

C:\temp>powershell -ep bypass -c "C:\temp\PrivescCheck.ps1; Invoke-PrivescCheck"
At C:\temp\PrivescCheck.ps1:40 char:60

  • ... script type="application/json" id="client-env">{"locale":"en","featur ...
  •                                                         ~~~~~
    

Unexpected token ':"en"' in expression or statement.
At C:\temp\PrivescCheck.ps1:40 char:65

  • ... cript type="application/json" id="client-env">{"locale":"en","feature ...
  •                                                             ~
    

Missing argument in parameter list.
At C:\temp\PrivescCheck.ps1:40 char:285

  • ... _network_conn_type","no_character_key_shortcuts_in_inputs"]}</script>
  •                                                             ~
    

The '<' operator is reserved for future use.
At C:\temp\PrivescCheck.ps1:227 char:84

  • ... tion/json" data-target="react-partial.embeddedData">{"props":{}}</scr ...
  •                                                             ~
    

Unexpected token ':' in expression or statement.
At C:\temp\PrivescCheck.ps1:227 char:88

  • ... /json" data-target="react-partial.embeddedData">{"props":{}}</script>
  •                                                             ~
    

The '<' operator is reserved for future use.
At C:\temp\PrivescCheck.ps1:264 char:205

  • ... ink Button--medium Button d-lg-none color-fg-inherit p-1"> <span cla ...
@lap1nou
Copy link

lap1nou commented Dec 20, 2023

Hello @aboubamba,

It's because you haven't downloaded PrivescCheck correctly, if you read your file you'll see some HTML because you have probably copy pasted or something like that which also copied the Github HTML source code. Either clone the repository or click the Download raw file button here: https://github.com/itm4n/PrivescCheck/blob/master/PrivescCheck.ps1 and then try to launch the script again.

Regards.

@itm4n itm4n added the invalid This doesn't seem right label Dec 21, 2023
@itm4n itm4n closed this as completed Dec 21, 2023
@aboubamba
Copy link
Author

Ca marche maintenant, merci.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

3 participants