1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
pad0van 2023-04-13 23:24:53 +08:00 committed by GitHub
parent 9b2a297c6d
commit d02dea79bc
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

11
_gtfobins/pwsh.md Normal file
View File

@ -0,0 +1,11 @@
---
functions:
shell:
- code: pwsh
file-write:
- code: |
export LFILE=file_to_write
pwsh -c '"DATA" | Out-File $env:LFILE'
sudo:
- code: sudo pwsh
---