Skip to content

Config File

Bee edited this page Sep 11, 2020 · 9 revisions

The Config File is the place where we store the configuration of RustScan.

Locations are:

~/.rustscan.toml

Configuration file

This binary accepts a configuration file that is read from the home directory of the user. 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