Giter Club home page Giter Club logo

nwscan's Introduction

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 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

nwscan's People

Contributors

pdrb avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.