2018-05-21 21:14:41 +02:00
|
|
|
---
|
|
|
|
functions:
|
2018-05-25 15:30:02 +02:00
|
|
|
execute-interactive:
|
2018-07-16 15:01:50 +02:00
|
|
|
- code: |
|
|
|
|
less /etc/profile
|
|
|
|
!/bin/sh
|
|
|
|
- code: |
|
|
|
|
VISUAL="/bin/sh -c '/bin/sh'" less /etc/profile
|
|
|
|
v
|
2018-07-04 20:26:52 +02:00
|
|
|
file-read:
|
2018-07-16 15:01:50 +02:00
|
|
|
- code: less file_to_read
|
2018-08-24 12:32:06 +02:00
|
|
|
file-write:
|
|
|
|
- code: |
|
|
|
|
echo DATA | less
|
|
|
|
sfile_to_write
|
|
|
|
q
|
2018-05-21 21:14:41 +02:00
|
|
|
sudo-enabled:
|
2018-07-16 15:01:50 +02:00
|
|
|
- code: |
|
|
|
|
sudo less /etc/profile
|
|
|
|
!/bin/sh
|
2018-08-24 12:25:57 +02:00
|
|
|
suid-enabled:
|
2018-08-24 13:30:23 +02:00
|
|
|
- code: ./less file_to_read
|
2018-05-25 00:57:42 +02:00
|
|
|
---
|