('Wrapper around nmap allow nmap scans to be distributed', 'With resume, and address optimization.')
Project description
Distributed Nmap Scanner.
The main goal of this project is to provide a wrapper around nmap, and distribute scans across several hosts.
PIP package published at
Install
% git clone https://github.com/0x4E0x650x6F/dscan.git
% cd dscan
% pip install .
% dscan
[*]\tDistribuited scan
usage: Distributed scanner [-h] --name NAME {srv,agent,config} ...
Distributed scanner: error: the following arguments are required: --name, cmd
Uninstall
% pip uninstall dscan
Generate self-sign certificate.
The following command generates a self sign certificate a private key, and two configuration files agent.conf and dscan.conf with default settings for the agent and for the server.
dscan --name <project-name> config -email mail@dscan.org -cn dscan \
-c pt -l earth -st nrw -o dscan -ou it -days 365
ls -a fubar
- agent.conf
- certfile.crt
- dscan.conf
- keyfile.key
Server output example
The following command starts the server, the --name is the name of the folder where the project files will be stored, this directory should contain the dscan.conf and the certificate private key generated from the previous command, the last argument is a existing file with a list of ip or networks to scan.
%dscan --name project name srv --config dscan.conf targets.txt
Distributed Scan Status
========================
--------- ---------------- ------------
N Stages N Pending Tasks Completion %
--------- ---------------- ------------
4 0 0.00%
--------- ---------- ----------- ------------
Stage N Targets N Finished Completion %
--------- ---------- ----------- ------------
discovery 1 0 0.00%
--------------- --------- ----------- ------------
Agent Stage Task Status Target Ip
--------------- --------- ----------- ------------
127.0.0.1:53281 discovery DOWNLOADING 127.0.0.1/32
Agent output example
The following starts the agent, the --name is the name of the folder were the work files will be stores should contain a copy of the certificate, and the agent.conf file.
dscan --name <agent-project-name> agent --config <path-to-agent.conf> \
-s <server-ip-address> -p <server-port>
Distributed Scan Status
========================
------------ ------------------ ------
Target Nª completed Scans Status
------------ ------------------ ------
127.0.0.1/32 5 100
BTC: bc1qhzp6d5rtczyffwfaqxlca8cfqhc5m0xzarjy6ve8ujmxmgecmpeq08vppv
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dscan-4E656F-0.1.6.tar.gz
.
File metadata
- Download URL: dscan-4E656F-0.1.6.tar.gz
- Upload date:
- Size: 45.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c30a0241cf75327f66fcdb41f915deb503f1de2fe8042e9ebb9c0d439b33fa85 |
|
MD5 | 95fc98324f4c09a10b9c24413e1d6892 |
|
BLAKE2b-256 | e17f4db45ce3fcc2a9ba19f545cc1b4c56f7c447d36258fd779098a77831692a |
File details
Details for the file dscan_4E656F-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: dscan_4E656F-0.1.6-py3-none-any.whl
- Upload date:
- Size: 35.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb2bb1b060fe296d8a929b0b16e00de7906c74fac24667433addc501156f13fe |
|
MD5 | 494ca75d308543f77f6b821cd9d66ce1 |
|
BLAKE2b-256 | 509f43b6f6e3323cb2155ff32da8d991d98fdef7d1764107c650dee2d12e6850 |