This command is used to send any EM command to EMSHELL. Here is command syntax:
cmdmgr.exe <EM command name> [-pluginID=<Plugin ID>] [args="<EM command args>"] [postfile="<File Name>"] [host=<IP or host>] [-port=<port>]
Parameter list:
- <EM command name> – this is name of EM command;
- pluginID – id of plugin which receive request;
- args – HTTP GET arguments, which will be built in URI for request;
- postfile – file which contains HTTP POST info for request;
- host – remote host on which EMShell will forward request. Current EMShell host is used as a default;
- port – EMShell port for request. Current EMShell port used as a default.
Example:
cmdmgr.exe PG_ACCESS_PROCESS pluginID=plugin_pg--args="Access=4&RuleName=all"
Figure 1. EMShell command example.
0 Comments