mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2024-12-27 23:37:58 +01:00
559 B
559 B
pester.bat
- Functions: Execute code using Pester. The third parameter can be anything. The fourth is the payload.
Pester.bat [/help|?|-?|/?] "$null; notepad"
Execute notepad
-
Resources:
-
Full path:
- c:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\bin\Pester.bat
- c:\Program Files\WindowsPowerShell\Modules\Pester*\bin\Pester.bat
-
Notes: Thanks to Emin Atac - @p0w3rsh3ll