A script to run pings against a subnet
Project description
PingSweeper
A Python script that runs pings to determine how many hosts are up on a specified subnet. This script will also run a DNS lookup to find host names if they are available.
Known Issues
This script was originally designed for Windows and its functionality on Linux/Mac systems is currently limited.
Installation
Script can be installed using pip install pingsweeper
Requirements
- Python - https://www.python.org
Usage
Running the script:
python pingsweep.py
To show available arguments:
python pingsweep.py -h
Example with all available arguments:
python pingsweep.py -s 192.168.1.0/24 -t 0.5 -c 3
-s
→ Specifies the subnet in CIDR notation.-t
→ Sets the timeout per ping (in seconds).-c
→ Specifies the number of packets to send per host.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to customize the README.md
file to better suit your project's needs. If you have any more questions or need further assistance, let me know!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pingsweeper-0.1.0.tar.gz
.
File metadata
- Download URL: pingsweeper-0.1.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
bf933f2596591879b652a42b02999e5f29b5c2228718d8d218178e1a590379fc
|
|
MD5 |
09c905b94c2a903147a704c8575f8809
|
|
BLAKE2b-256 |
4ecb71c9cebdc0484dda0f2aa9a4363f51b81978241d11d5cd03e44dfb31dfe8
|
File details
Details for the file pingsweeper-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pingsweeper-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4707230c422c66b85d7ea90deb96f26892114e425d6d2a9932347df9a1cdc26e
|
|
MD5 |
8947d9128efed4f9e6081b4c55ac1059
|
|
BLAKE2b-256 |
199efd22aacce2d70280a59aff650998848547bfb844a58d16d0589fb3fac8b6
|