Configuration

Configuration files may be used to store default values for parameters passed to each command. That following formats are supported: JSON, TOML and YAML formats. By default, they are loaded from the current working directory which means that each 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.

Check out the JSON, TOML or YAML configuration examples which include the full default settings if no configuration file is loaded.