Overview
scan4all supports multiple methods for specifying scan targets, making it flexible for various workflows.Single Host
Scan a single IP address or hostname:Multiple Hosts
Provide multiple targets separated by commas:CIDR Notation
Scan entire network ranges using CIDR notation:File Input
Provide targets from a file, one per line:File Format
The input file can contain mixed target types:targets.txt
- IP addresses will be port scanned
- CIDR ranges will be expanded and scanned
- Domain names will be resolved and scanned
- Full URLs will skip port scanning and be tested directly
Standard Input (Pipe)
scan4all can read targets from stdin, enabling integration with other tools:Pipeline Examples
- Subdomain Enumeration
- IP Range Generation
- File Processing
Pipe subdomain enumeration results directly to scan4all:
URL Input
When providing full URLs, scan4all skips port scanning and tests the endpoint directly:URL input is useful when:
- You already know the service port
- You want to test specific web applications
- You want to skip the port scanning phase
Excluding Targets
Exclude Specific Hosts
Exclude specific IP addresses or hosts from the scan:Exclude from File
Exclude targets listed in a file:CDN Detection and Exclusion
scan4all can detect and skip CDN IP addresses to avoid scanning edge servers:When
-ec (exclude CDN) is enabled:- CDN IPs are detected automatically
- Only ports 80 and 443 are scanned on CDN hosts
- Full port scans are skipped for CDN ranges
Scan All Associated IPs
By default, scan4all resolves hostnames to a single IP. To scan all IPs associated with a DNS record:- Load-balanced services
- Round-robin DNS
- Hosts with multiple A records
Practical Examples
Input Best Practices
Use Files for Large Scans
Store targets in files for better organization and repeatability
Leverage Pipelines
Combine with other reconnaissance tools for automated workflows
Exclude Known Assets
Use exclusion lists to avoid scanning critical infrastructure
Test Before Full Scan
Start with a small range to verify settings before large scans
Next Steps
Port Selection
Learn how to control which ports are scanned