mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Add pwsh
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
9b2a297c6d
commit
d02dea79bc
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
|
||||
---
|
Loading…
Reference in New Issue
Block a user