mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-08-23 09:34:56 +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