Skip to content
deadc0de edited this page Nov 23, 2017 · 11 revisions

Target specification

Targets can be provided either directly on the command line separated by a comma or through a file. There's two main types of target: IP (a valid IPv4 address) or domain (a valid domain).

Each target (either on the CLI or through a file) can be specified in different flavors:

  • (-f|-F) 1.1.1.1 - an IPv4 adddress
  • (-f|-F) 1.1.1.1:123 - an IPv4 address and a port
  • (-f|-F) 1.1.1.1/24 - a CIDR range
  • (-f|-F) 1.1.1.1:123/24 - a CIDR range on a port
  • (-d|-D) test.com - a domain
  • (-d|-D) test.com:123 - a domain on a port

Port specification

The port could be specified using three different ways:

  • (1) through <target>:<port> (see above)
  • (2) through the CLI -p <port> switch
  • (3) from the default port defined in the fingerprinting module (-define(PORT, ...) directive in the module source file)

Option (1) overwrites option (2) which overwrites option (3)

Clone this wiki locally