mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-08 15:59:17 +01:00
Add zsh file-read/write
This commit is contained in:
parent
69be6785a9
commit
494ea89794
@ -1,5 +1,13 @@
|
|||||||
---
|
---
|
||||||
functions:
|
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:
|
shell:
|
||||||
- code: zsh
|
- code: zsh
|
||||||
suid:
|
suid:
|
||||||
|
Loading…
Reference in New Issue
Block a user