Add elvish and fix aa-exec

Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
n0tr00t 2023-03-20 19:12:36 +00:00 committed by GitHub
parent a59b182003
commit ff947275a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

17
_gtfobins/elvish.md Normal file
View File

@ -0,0 +1,17 @@
---
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
---