mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-07-26 04:05:40 +02:00
11
_gtfobins/pwsh.md
Normal file
11
_gtfobins/pwsh.md
Normal 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
|
||||
---
|
Reference in New Issue
Block a user