mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-11-10 02:11:53 +01:00
Add file-write to bash
This commit is contained in:
parent
640956451b
commit
898e6cd656
@ -49,4 +49,8 @@ functions:
|
||||
code: |
|
||||
export LFILE=file_to_read
|
||||
bash -c $'read -r -d \x04 < "$LFILE"; echo "$REPLY"'
|
||||
file-write:
|
||||
- code: |
|
||||
export LFILE=file_to_write
|
||||
bash -c 'echo data > $LFILE'
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user