2018-06-03 22:18:43 +02:00
|
|
|
---
|
|
|
|
functions:
|
|
|
|
execute-interactive:
|
2018-07-16 15:01:50 +02:00
|
|
|
- code: rlwrap /bin/sh
|
2018-06-03 22:18:43 +02:00
|
|
|
file-write:
|
2018-07-16 15:01:50 +02:00
|
|
|
- description: This adds timestamps to the output file. This relies on the external `echo` command.
|
|
|
|
code: |
|
|
|
|
LFILE=file_to_write
|
2018-08-20 14:35:43 +02:00
|
|
|
rlwrap -l "$LFILE" echo DATA
|
2018-07-04 20:26:52 +02:00
|
|
|
suid-enabled:
|
2018-07-16 15:01:50 +02:00
|
|
|
- code: ./rlwrap -H /dev/null /bin/sh -p
|
2018-07-04 20:26:52 +02:00
|
|
|
sudo-enabled:
|
2018-07-16 15:01:50 +02:00
|
|
|
- code: sudo rlwrap /bin/sh
|
2018-06-03 22:18:43 +02:00
|
|
|
---
|