Giter VIP home page Giter VIP logo

scan-network's Introduction

scan-network is a simple IP range scanner.

Whats new?
In 2.0 version there is no required root privigiles in Linux.
There is still avaible 1.0 version for windows whih is using sockets.

Version 2.1:
+ Added option to scan from file and STDIN
+ Supports python threads (+ to speed)


Notice for 1.0 version: Root privigiles are needed to run scanner (for IMCP echo ping), im working on scanner which will not need root 
privigiles

webnull@webnull-gentoo-desktop ~/Praca/python/scan-network $ ./scan-network.py --help
scan-network v.2.1 for GNU/Linux. A simple local network scanner.
Usage: scan-network [long GNU option] [option] from [option] to

 --from (-f) range of ip adresses to start, default is 1
 --to (-t) range of ip adresses where to end, default is 254
 --ip (-i) mask of adresses to scan, for example 192.168.1, default 192.168.1.*
 --delay (-d) delay between pings, default is 0 second
 --load-file (-l) scan ip adresses listed in file
 --stdin (-s) grab list of ip adresses from stdin
 --help this screen

Example of usage:
 scan-network -f 100 -t 254 -i 192.168.1.* # scan range from 192.168.1.100 to 192.168.1.254
 scan-network.py -l examples/example-ip-list # scan ip adresses from file
 cat examples/example-ip-list | scan-network -s # scan from stdin
 echo "192.168.1.100,192.168.1.101,192.168.1.102,192.168.1.103,192.168.1.104,192.168.1.107,192.168.1.108" | scan-network -s # scan from stdin

webnull-gentoo-desktop scan-network # ./scan-network.py --from=100 --to=110 --ip 192.168.1
Adresses to scan: 10
Ping 192.168.1.{100 to 110}
Delay: 1
192.168.1.100 responds in 0.0013279914856
192.168.1.101 not responding, offline
192.168.1.102 responds in 0.000174999237061
192.168.1.103 not responding, offline
192.168.1.104 not responding, offline
192.168.1.105 not responding, offline
192.168.1.106 not responding, offline
192.168.1.107 not responding, offline
192.168.1.108 not responding, offline
192.168.1.109 not responding, offline
192.168.1.110 not responding, offline

Changelog:
14.08.2011 (v.2.3) <[email protected]>:
    * Moved from os.popen4 to subprocess.getoutput
    + Added support for Python 3
    + Handling exceptions from threads to notify user that he have not sufficient permissions

30.07.2011 (v.2.2):
    * Changed Python version from python2.7 to python

29.07.2011 (v.2.1):
    + Added changelog and versioning informations

scan-network's People

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.