nmapPorts

Value Type

text

Default Value

This testvar’s default value is computed dynamically and may not always be the value below. Please see the testvar’s description for details.

0-65535

Description

The nmapPorts controls the target scan ports for all Nmap scans. When set to the keyword “default”, Nmap will automatically select the ports for a scan based on commonly used ports. You can override this by configuring a specific range of ports for the Nmap scan. Large port ranges will increase both the scan time and the log files that are generated.

Example: scan a specific port list

testvar nmapPorts 80,443,8080,9000-9200

Example: scan all ports

testvar nmapPorts 1-65535

This testvar was added in CDRouter 9.3