All Ports Scan
AI-generatedOverview
This node performs an all ports scan on a specified target network range, host, or IP using the nmap command-line tool. It is useful for network administrators and security professionals who want to identify all open ports on a target for security auditing, network inventory, or troubleshooting purposes. For example, scanning a server to find all services running on it or auditing a network segment for unauthorized open ports.
Use Case Examples
- Scan a single host to find all open ports for security assessment.
- Scan a subnet to inventory all devices and their open ports.
Properties
| Name | Meaning |
|---|---|
| Target Network Range / Host / IP | Defines the target network range, host, or IP address to scan. |
| Aggressive Mode | Enables faster execution of the scan using nmap's -T5 option. |
| Check Top Ports | Limits the scan to the top specified number of ports using --top-ports option. |
| Host Discovery | Enables or disables host discovery to speed up the scan (-Pn disables host discovery). |
| Put Result in Field | Specifies the name of the output field where the scan results will be stored. |
Output
JSON
json - Contains the parsed scan results of all ports on the target, where is the user-defined output field name (default is 'ports').
Dependencies
- Requires local sudo password credential to execute nmap with elevated privileges.
Troubleshooting
- Common issues include incorrect sudo password causing command failure, invalid target network range or IP, and missing nmap installation on the host system.
- Error messages from the nmap command are caught and thrown as node operation errors. Ensure the nmap tool is installed and accessible, and the provided sudo password is correct.
Links
- Nmap Command Line Options - Official documentation for nmap command line options used in the scan.