Skip to content
/ pingsweep Public

Asynchronous ping sweeper made using Python! πŸš€

License

Notifications You must be signed in to change notification settings

N30A/pingsweep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

27 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Python 3.10 MIT License

Asynchronous ping sweeper made using Python! πŸš€

Installation

Windows:

git clone https://github.com/njordice/pingsweep.git
cd pingsweep
pip install -r requirements.txt

Linux:

git clone https://github.com/njordice/pingsweep.git
cd pingsweep
pip3 install -r requirements.txt

Usage

usage: pingsweep.py [-h] [-q] [-w sec] [-t num] [-o path] range

positional arguments:
  range                 network id and subnet bits, e.g. 192.168.1.0/24

options:
  -h, --help            show this help message and exit
  -q, --quiet           only print hosts to screen
  -w sec, --wait sec    timeout in seconds to wait for each reply (default: 1s)
  -t num, --tasks num   number of concurrent tasks (default: dynamic, cpu threads * 2.5)
  -o path, --output path
                        output to a file         

Examples

Simple 254 host sweep

pingsweep.py 192.168.1.0/24

Only print hosts and output to a file

pingsweep.py 192.168.1.0/24 -q -o output.log

About

Asynchronous ping sweeper made using Python! πŸš€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages