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

Windows inline ps1 when exec privilege restricted #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 6, 2021

  1. Windows inline ps1 when exec privilege restricted

    In restricted windows machines, it is forbidden
    to specify a powershell execution policy and
    it is usually forbidden to execute an unsigned script.
    
    Inlining the script as an encoded command avoids that problem.
    Note that the encoded command cannot be passed a parameter:
    so we need to place the value of the image path inside the script
    and generate it dynamically on every invokation.
    hmalphettes committed Jan 6, 2021
    Configuration menu
    Copy the full SHA
    a9e1e67 View commit details
    Browse the repository at this point in the history