Lightweight network scanner — ping sweep, port scan, and service detection for Linux sysadmins
Project description
dargslan-net-scanner
Lightweight Network Scanner — Ping sweep, TCP port scan, and service detection. Zero dependencies, pure Python.
Installation
pip install dargslan-net-scanner
Usage
from dargslan_net_scanner import NetScanner
scanner = NetScanner()
# Ping sweep a subnet
alive = scanner.ping_sweep("192.168.1.0/24")
# Port scan
open_ports = scanner.port_scan("192.168.1.1", ports=[22, 80, 443, 3306, 5432, 8080])
# Quick scan common ports
results = scanner.quick_scan("10.0.0.1")
# Full report
report = scanner.scan_host("192.168.1.1")
# CLI
dargslan-netscan ping 192.168.1.0/24
dargslan-netscan ports 192.168.1.1 -p 22,80,443
dargslan-netscan quick 10.0.0.1
Resources
MIT — Dargslan
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dargslan_net_scanner-1.0.0.tar.gz.
File metadata
- Download URL: dargslan_net_scanner-1.0.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
993ea70dbd306f3c587bed08981f2b9c19ec9a7fb53e68f9646a302127c959d9
|
|
| MD5 |
9e6e0988363404668d93ebb4176fdae3
|
|
| BLAKE2b-256 |
6f8211a7765fed6fa3d2640d3cd0387d403f15953e9fa30c0d8fbd9515cefb60
|
File details
Details for the file dargslan_net_scanner-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dargslan_net_scanner-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83d19249adfb5eb94ccfe4ee3662c8d7b8ea338c464e55495703d2ca2a5db0a4
|
|
| MD5 |
a839c9505d35fd0df4773b64b209bf83
|
|
| BLAKE2b-256 |
8990f412fb16df3db04e992737104cad4c6148fa6b930455067480a2a435fc17
|