mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
18 lines
293 B
Markdown
18 lines
293 B
Markdown
---
|
|
functions:
|
|
file-read:
|
|
- code: |
|
|
export LFILE=file_to_read
|
|
zsh -c 'echo "$(<$LFILE)"'
|
|
file-write:
|
|
- code: |
|
|
export LFILE=file_to_write
|
|
zsh -c 'echo DATA >$LFILE'
|
|
shell:
|
|
- code: zsh
|
|
suid:
|
|
- code: ./zsh
|
|
sudo:
|
|
- code: sudo zsh
|
|
---
|