Pester.bat

Used as part of the Powershell pester

Paths

  • c:\Program Files\WindowsPowerShell\Modules\Pester\<VERSION>\bin\Pester.bat

Commands

Execute

Execute code using Pester. The third parameter can be anything. The fourth is the payload.

Use case: Proxy execution

Privileges: User

Pester.bat [/help|?|-?|/?] "$null; {CMD}"

Execute

Execute code using Pester. Example here executes specified executable.

Use case: Proxy execution

Privileges: User

Pester.bat ;{PATH:.exe}

Detection

Resources