You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
C:\temp>powershell -ep bypass -c "C:\temp\PrivescCheck.ps1; Invoke-PrivescCheck"
At C:\temp\PrivescCheck.ps1:40 char:60
Unexpected token ':"en"' in expression or statement.
At C:\temp\PrivescCheck.ps1:40 char:65
Missing argument in parameter list.
At C:\temp\PrivescCheck.ps1:40 char:285
The '<' operator is reserved for future use.
At C:\temp\PrivescCheck.ps1:227 char:84
Unexpected token ':' in expression or statement.
At C:\temp\PrivescCheck.ps1:227 char:88
The '<' operator is reserved for future use.
At C:\temp\PrivescCheck.ps1:264 char:205
The text was updated successfully, but these errors were encountered: