mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-09-07 20:50:38 +02:00
Add elvish and fix aa-exec
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
a59b182003
commit
ff947275a1
17
_gtfobins/elvish.md
Normal file
17
_gtfobins/elvish.md
Normal 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
|
||||
---
|
Loading…
Reference in New Issue
Block a user