Commands and Scripts
Learn how to execute command and scripts from the browser without an interactive login.
The difference between commands and scripts
The commandโs tab is indented to be used to execute a single command. Entering multiple commands is possible, but if you want to implement complex logic, it's better to use a script.
Why not use scripts always? Security is the reason.
Both command and script execution must explicitly be allowed in the rport client configuration. For the commands, you can create a list of allowed commands and a list of disallowed commands. This fine-grained filtering is not possible with scripts.
See all configuration options and more configuration examples.
If you feel it were better not to give full control over the clients to the RPort server, you should script execution of.
If you have installed the client via the pairing script, scripts and commands are either enabled without restictions or fully disabled. To use command filtering you need to change the configuration file manually.
The restrictions for command and scripts always apply regardless of whether it's executed for a single client or many clients concurrently.
Single run vs. concurrency
Both โ command and scripts โ can be executed on a single client or on many clients in parallel. Selecting a client on the left side gives you access to the command or scripts tab for a single client.
Selecting commands
or scripts
on the top navigation gives you access to the parallel execution.
Last updated