1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 18:38:58 +02: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

View File

@ -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'
---