Information Gatheringnmapdistributedscannerwrappernetwork

dscan

dscan is a wrapper around nmap that distributes scans across several hosts. It aggregates and splits address ranges, uses a configuration file for adjustable scan settings, and supports resume functionality.

Description

dscan provides a distributed scanning capability by wrapping nmap, allowing scans to be spread across multiple hosts for improved efficiency and scalability. It handles address range aggregation and splitting, making it suitable for large-scale network reconnaissance tasks. A configuration file enables customization of scan parameters to fit specific needs.

Use cases include penetration testing scenarios where scanning extensive IP ranges is required, such as in enterprise networks or during red team engagements. The resume feature ensures interrupted scans can be continued without restarting from scratch, saving time and resources.

The tool is complemented by dscan-doc, a separate documentation package that provides detailed guidance on usage.

How It Works

dscan operates as a wrapper around nmap, distributing scan tasks across multiple hosts in server (srv) or agent modes. It aggregates and splits address ranges for parallel processing, leveraging a configuration file to adjust nmap parameters. The system supports resuming scans by maintaining state, utilizing python3-libnmap for nmap interaction.

Installation

bash
sudo apt install dscan

Flags

-h, --helpshow this help message and exit
--name NAMEspecify the name for the distributed scan

Examples

Display the help message and usage information for dscan
dscan -h
Start dscan in server mode with the name 'scan1'
dscan --name scan1 srv
Start dscan in agent mode with the name 'scan1'
dscan --name scan1 agent
Manage configuration for the scan named 'scan1'
dscan --name scan1 config
Install the documentation package for dscan
sudo apt install dscan-doc
Run dscan as server for distributing nmap scans
dscan srv --name distributed-scan
Updated 2026-04-16kali.org ↗