JMP node (which is RMI server to put it simple; read more about JMP here) supports plugins that extend the basic functionality in specific use cases. This particular plugin is to run any command asynchronously on remote desktop, get printout from a process, exit code, PID as well as to transfer files to / from remote desktop.
The package of Java classes should be stored both on the target and on the client's PCs.
To start the rCMD plugin:
1. Extract binaries from .jar
2. Call from terminal java org.engitex.rCMD.RCMDplugin
The plugin will look up and try to register itself in a running JMP node.
Obviously if a node is not running, the plugin will try to start one.
JMP node settings optimized for expected rCMD tasks will be read from ./profiles/rCMD.config
If the node could not be started at the time of plugin start, you may register the two rCMD plugins later by entering in JMP node admin panel:
add plugin engitex-rCMD
and
add plugin engitex-RMIFT
To run a command on remote (target) PC or to send and get files to / from the remote PC, the following Java class is called on client's PC:
java org.engitex.rCMD.RCMD
Call it with no arguments to see the list of available commands (arguments).
When java org.engitex.rCMD.RCMDplugin is started for the first time on a new machine, the plugin will ask for activation key.
If you have purchased mobile client app, enter the following command in rCMD app:
user -code
If you do not plan to use mobile app, contact contact@engitex.org to get the code.
Get mobile client for rCMD here: https://rcmd-android.sourceforge.io/
The client plays role of rCMD shell app when connection is made from a phone.