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
No known key found for this signature in database
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
---