1
0
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:
Andrea Cardaci 2018-05-28 20:02:20 +02:00
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'
---