IPv4 address scanner for collecting address information.Scan or get the IPv4 address from the IPv6 host
Project description
🐍 SnakeScan: Your Go-To Python Port Scanner
✨ A powerful and flexible Python library for all your port scanning needs. ✨
SnakeScan is designed to be both easy to use and incredibly versatile. Whether you're performing basic single port checks or diving into advanced subnet scans and real-time monitoring, SnakeScan has you covered.
🌟 Key Features:
-
Unmatched Flexibility: Scan single ports, defined ranges, or pre-configured sets with ease.
-
Blazing Fast Multithreading: Leverage multithreading for significantly faster scanning speeds.
-
Get the Details: Retrieve valuable information about IP addresses (supports both IPv4 and IPv6).
-
Real-time Monitoring with Watcher: Keep a constant eye on critical ports and their statuses.
-
Intuitive Design: Clean and simple command-line parameters and API for effortless use.
⬇️ Installation:
Get started with SnakeScan in seconds!
bash
pip install SnakeScan
⚙️ Command Line Usage: Unleash the Power!
💡 Mastering Attribute Usage:
-
-p: Specify ports to scan (single or ranges). Important: When specifying ranges, the beginning of the range is only included from the second time. For example, to scan from 80 to 443, use
79-443. Examples:snake -p 80,443orsnake -p 80,3437,8080,20-30,79-443 -
-h: Display a complete list of available attributes and their descriptions. Example:
snake -horsnake -help -
-sp: Use a predefined set of common ports for scanning with
ProcessPoolExecutor. Example:snake -sp -
-v: Show the current version of the SnakeScan library. Example:
snake -v -
-gs: Retrieve the SSL/TLS certificate from a specified website. Example:
snake www.google.com -gs(Without specifying a host, you’ll encounter a connection error). -
-t: Enable multithreading to speed up your port scans. Example:
snake -t -
-ch: Scan a subnet to discover other IP addresses on the network. Example:
snake -ch -
-l: Display your public IP address (requires an active internet connection). Example:
snake -l -
-i: Show detailed information about a specific IP address (supports both IPv4 and IPv6). Example:
snake www.google.com -i
💻 Python Code Integration:
⏱️ Watcher: The Real-Time Port Sentinel!
Watcher allows you to continuously monitor the status of a designated port.
python
from SnakeScan import Watcher
watcher = Watcher("localhost", 53, 2) # Host, port, check interval (in seconds)
watcher.start() # Begin monitoring!
Watcher Command Set:
-
Watcher.start()- Starts the port monitoring process. -
Watcher.stop()- Halts the port monitoring process.
Latest Update: 1.7.5 (Enhanced port designations for even clearer understanding)
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 snakescan-1.7.5.tar.gz.
File metadata
- Download URL: snakescan-1.7.5.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ac1e9844646b5db4d0df7b87b6b71b735852926b665c91391dcc8e334b91840
|
|
| MD5 |
03d57e934874ad0db50cc2bc15b01875
|
|
| BLAKE2b-256 |
c14cd58bd9b6194c737659036a4891f5b94795eea3aef4a9f35503495fb4f124
|
File details
Details for the file snakescan-1.7.5-py3-none-any.whl.
File metadata
- Download URL: snakescan-1.7.5-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4730b6c4e14c6130705ac51911ccd2715e2e242defa4c05aff8e831749a29205
|
|
| MD5 |
d94175880182482db7f448f2dc52cdd9
|
|
| BLAKE2b-256 |
2c3b4b53ce06d0f1bbd8250cc7d3ef2a87d7b523edb2d726ae1d6406037a9743
|