Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pdrb/nwscan
Scan networks for alive hosts
https://github.com/pdrb/nwscan
alive-check hosts network network-discovery python scan scanner
Last synced: 7 days ago
JSON representation
Scan networks for alive hosts
- Host: GitHub
- URL: https://github.com/pdrb/nwscan
- Owner: pdrb
- License: mit
- Created: 2017-02-10T19:25:09.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-09T15:29:27.000Z (almost 6 years ago)
- Last Synced: 2024-10-08T12:23:54.817Z (about 1 month ago)
- Topics: alive-check, hosts, network, network-discovery, python, scan, scanner
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
|Downloads|
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 aliveFinished: 254 hosts scanned
Alive hosts: 5Notes
=====- 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 fileExamples
========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
.. |Downloads| image:: https://pepy.tech/badge/nwscan