CopyFileD2
This Script is part of the D2 (Deprecated) Pack.#
Copies a file from an entry to the destination path on the specified system. This uses the dissolvable agent's HTTPS communication channel rather than SCP or other out-of-band methods.
Example usage: !CopyFileD2 destpath=/home/sansforensics/collectedbinaries/inv8_suspiciousPE1.exe.evil entryid=21@8 system=Analyst1
Script Data#
| Name | Description |
|---|---|
| Script Type | javascript |
| Tags | util, server |
Inputs#
| Argument Name | Description |
|---|---|
| system | The system to which we want to copy the file. |
| destpath | The full filesystem path and filename under which to save the file. |
| entryid | The ID of the War Room entry containing the file to copy. |
| force | The overwrite file. |
Outputs#
There are no outputs for this script.