RemoteExec
Execute a command on a remote machine (without installing a D2 agent)
javascript · Common Scripts
Details
| ID | RemoteExec |
|---|---|
| Language | javascript |
| From Version | 5.0.0 |
| Tags | endpoint |
README
Executes a command on a remote machine (without installing a D2 agent).
Script Data
| Name | Description |
|---|---|
| Script Type | javascript |
| Tags | endpoint |
Dependencies
This script uses the following commands and scripts.
- ssh
Inputs
| Argument Name | Description |
|---|---|
| system | The name of system on which to run the command. |
| cmd | The command to run. |
Outputs
There are no outputs for this script.
commonfields: id: RemoteExec version: -1 name: RemoteExec script: '' type: javascript tags: - endpoint comment: Execute a command on a remote machine (without installing a D2 agent) system: true args: - name: system required: true description: Name of system on which to run the command - name: cmd required: true description: Command to run scripttarget: 0 dependson: must: - ssh timeout: 0s fromversion: 5.0.0 tests: - No tests marketplaces: - xsoar - marketplacev2 - platform