nwscan
Scan networks for alive hosts, uses CIDR notation.
Simple example:
$ nwscan 192.168.1.1/24 Scanning 254 hosts... 192.168.1.1 is alive 192.168.1.10 is alive 192.168.1.12 is alive 192.168.1.23 is alive 192.168.1.104 is alive Finished: 254 hosts scanned Alive hosts: 5
Notes
Works on Python 2 and Python 3
Tested on Linux and Windows (Cygwin)
Install
Install using pip:
pip install nwscan
Usage
Usage: nwscan network [options] scan network for alive hosts, uses CIDR notation Options: --version show program's version number and exit -h, --help show this help message and exit -r, --reverse print not responding hosts rather than alive -w WORKERS number of workers threads to use (default: 8) -t TIMEOUT timeout of each ping request in seconds (default: 1) -n COUNT number of ping requests to send (default: 1) -i INPUT_FILE scan networks from input file (one network per line) -o OUTPUT_FILE save sorted ips output to file
Examples
Scan all 254 usable IPs of network ‘192.168.0.*’:
$ nwscan 192.168.0.0/24
Scan networks from ‘networks.txt’ file using 16 workers:
$ nwscan -i networks.txt -w 16
Scan not responding hosts and save ips to file ‘ips.txt’:
$ nwscan 192.168.0.0/24 -r -o ips.txt
Metadata
Release files for nwscan 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nwscan-0.3.tar.gz | 3.7 kB | Without provenance | Details |
Release files / nwscan-0.3.tar.gz
| Download URL | nwscan-0.3.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c57dd6426404eb03588e11f7c0979a4ce10d89d442433d4316dfe5b798ab3cb2
|
|
BLAKE2b-256 checksum How to use checksums |
1e9a8825478fec917439cb0f8201b278ece615d175bd4dd5dad7f3a5d0e52af7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/33.1.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/2.7.14
|
Security for nwscan 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.