GTFOBins.github.io/_gtfobins/pwsh.md

12 lines
185 B
Markdown
Raw Normal View History

---
functions:
shell:
- code: pwsh
file-write:
- code: |
export LFILE=file_to_write
pwsh -c '"DATA" | Out-File $env:LFILE'
sudo:
- code: sudo pwsh
---