Module · Crawling and Scanning
port_scan
TCP connect scan with rate limiting, port profiles, service naming and banner grab.
FootprintInvestigateInvasiveRaw TCPNo API key
Before you run it
- Invasive. Sends more traffic to the target than a passive lookup. Run it only on assets you are authorised to test.
- Raw TCP. Opens raw TCP connections, which bypass --proxy and --tor. --strict drops this module.
Run it
# Run only this module on one input$ spiderfootplus try port_scan IP_ADDRESS 93.184.216.34 # Run it as part of the standard profile$ spiderfootplus scan example.com -p standard # Change an option for one scan$ spiderfootplus scan example.com -p standard --set port_scan.ports=top1000-mreplaces a profile's module list and does not add the modules that feed this one, so a profile is the simplest way to get its inputs. Only scan targets you are authorised to assess.
Watches (input)
Produces (output)
Options
| Option | Default | What it does |
|---|---|---|
| ports | top1000 | top100 | top1000 | full (1-65535) | a comma list / ranges like 80,443,8000-8100 |
| timeout_ms | 1200 | Connect timeout per port |
| concurrency | 512 | Simultaneous connects per host |
| rate | 2000 | Max connection attempts per second (0 = unlimited) |
| banner | true | Probe the service and read its banner |
| retries | 0 | Retry a timed-out port this many times |
| skip_cdn | true | Skip addresses on CDN edge networks (Cloudflare, Fastly): their open ports belong to the CDN, not the target |
Fed by
- dns_bruteBrute-force common sub-domains with wildcard detection and name mutations
- dns_resolveResolve hostnames to IPs and IPs back to hostnames
- passive_dnsHistorical subdomains and addresses for the domain from public passive-DNS aggregators (no key)
- scandb_pivotReverse-pivot on the target's favicon hash through internet-wide scan databases to find related hosts (origin behind CDN, sibling infra)