repack
Type: Function · Category: server
Repack and upload a repacked binary or MSI to the server.
| Argument | Type | Description |
|---|---|---|
target |
string | The name of the target OS to repack (VelociraptorWindows, VelociraptorLinux, VelociraptorDarwin) |
version |
string | Velociraptor Version to repack |
exe |
accessors.OSPath | Alternative a path to the executable to repack |
accessor |
string | The accessor to use to read the file. |
binaries |
list of string | List of tool names that will be repacked into the target |
config |
string (required) | The config to be repacked in the form of a json or yaml string |
upload_name |
string | The name of the upload to create |
dest_filename |
string | If an upload name is not provided, the file will be written to this path |
Required permissions: COLLECT_SERVER, FILESYSTEM_WRITE
Platforms: macOS, Linux, Windows
Source: vql/tools/repack.go