1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00

Clarify echo command in rlwrap file-write

This commit is contained in:
Andrea Cardaci 2018-06-04 13:16:24 +02:00
parent 3cc3be5aa5
commit 0785f116d3

View File

@ -7,7 +7,7 @@ functions:
suid-enabled:
- code: ./rlwrap -H /dev/null /bin/sh -p
file-write:
- description: This adds timestamps to the output file.
- description: This adds timestamps to the output file. This relies on the external `echo` command.
code: |
LFILE=file_to_write
rlwrap -l "$LFILE" echo data