Configuration files are not required for normal SVPRO usage. They may, however, be used to store default values for parameters passed to each command. The following formats are supported: JSON, TOML and YAML formats. By default, configuration files are loaded from the current working directory which means that the current working directory can affect the behaviour of the tool.
For example, if the following
.sipvicious.toml file is found in the current directory, the RTP bleed attack will default to using 300 connections and the port range 10000-20000:
[rtp.bleed] conn-count = 300 port-ranges = "10000-20000"
When the RTP bleed attack is run with a such a configuration by simply running
sipvicious rtp bleed udp://target, the tool will scan the port range 10000 to 20000 using 300 concurrent sockets instead of the default port range
10000-20000,35000-65000 and 10 concurrent sockets. Thus, when using configuration files, flags do not need to be passed as arguments to the command.