1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-10-18 05:18:13 +02:00
GTFOBins.github.io/_gtfobins/elvish.md
n0tr00t ff947275a1
Add elvish and fix aa-exec
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
2023-03-20 20:12:36 +01:00

18 lines
315 B
Markdown

---
functions:
file-read:
- code: |
export LFILE=file_to_read
elvish -c 'echo (slurp <$E:LFILE)'
file-write:
- code: |
export LFILE=file_to_write
elvish -c 'echo DATA >$E:LFILE'
shell:
- code: elvish
suid:
- code: ./elvish
sudo:
- code: sudo elvish
---