Skip to content
Please update to the latest release 0.77.2 to address Multiple CVEs.
commandline_split

commandline_split

Function
Arg Description Type
command Commandline to split into components. string (required)
bash_style Use bash rules (Uses Windows rules by default). bool

Description

Split a commandline into separate components following the windows conventions.

Example

SELECT
  commandline_split(command='''"C:\Program Files\Velociraptor\Velociraptor.exe" service run'''),
  commandline_split(command="/usr/bin/ls -l 'file with space.txt'", bash_style=TRUE)
FROM scope()