the-binary - Command 7 - exec command


This command causes the agent to execute a command on its host system.  The agent transmits no result data.


A handler sends the following command to have the agent execute an arbitrary command (xxx = don't care):
2 xxx xxx 7
null terminated command to execute
padding for a minimum packet size
of 201 bytes including the IP header
NOTE: the shaded bytes must be encoded prior to transmission to the agent.


Upon receipt of an exec command, the agent will execute the specified command on the host system.  No output from the command is transmitted to the agent's handler.