GTFOBins.github.io/_gtfobins/zsh.md

18 lines
293 B
Markdown
Raw Normal View History

2018-05-21 21:14:41 +02:00
---
functions:
2021-04-13 14:08:39 +02:00
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'
2018-10-05 19:55:38 +02:00
shell:
2018-07-16 15:01:50 +02:00
- code: zsh
2018-10-05 19:55:38 +02:00
suid:
2018-07-16 15:01:50 +02:00
- code: ./zsh
2018-10-05 19:55:38 +02:00
sudo:
2018-07-16 15:01:50 +02:00
- code: sudo zsh
2018-05-25 01:10:39 +02:00
---