Skip to content

Config File

Bernardo Araujo edited this page Sep 12, 2020 · 9 revisions

This binary accepts a configuration file that is read from the home directory of the user and has the goal of making certain arguments default for each scan.

⚠️ Any arguments passed directly to the binary will override the default provided in this config file. ⚠️

Location

~/.rustscan.toml

Options

It follows the TOML format and accepts the following fields:

  • addresses
  • ports
  • range
  • scan_order
  • command
  • accessible
  • quiet
  • batch-size
  • timeout
  • ulimit

Format example

addresses = ["127.0.0.1", "192.168.0.0/30", "www.google.com"]
command = ["-A"]
ports = [80, 443, 8080]
range = { start = 1, end = 10 }
quiet = false
accessible = true
scan_order = "Serial"
batch_size = 1000
timeout = 1000
ulimit = 1000

Clone this wiki locally