Network analysis has never been so fast! ⚡️
Fast as UDP, stable as TCP
ZenNet is blazing-fast and feature-rich console program for analyzing network traffic.
This program uses my python library paintlog for beautiful logging.
Caution
zennet currently only supports Linux® distributions. Other operating systems such as Windows, MacOS, BSD are not supported.
Caution
At the moment, zennet is under active development, many things may not work, and this version is not recommended for use (all at your own risk).
The zennet program is incredibly fast thanks to optimized calculations, asynchronous approach and multi-threading.
Zennet also has beautiful data output and saves logs to a file (markdown format) out of the box.
You can view the documentation on using zennet at this link
zennet functions are faster than functions from standard Python libraries
A request using the standard library is sent in approximately ~0.027 seconds
# Standart library
import requests
from time import perf_counter
start = perf_counter()
requests.get('http://127.0.0.1:8000/login')
end = perf_counter()
total = round(end - start, 4)
print(total)
>>> 0.0277
And with the help of zenmap, the speed increased by about 277 times!
$ python3 zennet.py --get --url http://127.0.0.1:8000/login -o localhost_login_zennet.md
>>> ⚡ zennet v {__version__} @ alexeev-engineer
pydbg_obj | url: 'https://habr.com/ru/'
[INFO 2024-03-27 23:12:01.158209] Send HTTP-get request on https://habr.com/ru/
pydbg_obj | request: 'GET /ru/ HTTP/1.1 Host:habr.com'
pydbg_obj | status_code: 302
pydbg_obj | filename: '/dev/null'
GET /ru/ HTTP/1.1 Host:habr.com
├── Response code:302
├── Headers: {'Server': 'QRATOR', 'Date': 'Wed, 27 Mar 2024 16:11:38 GMT', 'Content-Type': 'text/plain; charset=utf-8', 'Content-Length': '47', 'Connection': 'keep-alive',
│ 'Keep-Alive': 'timeout=15', 'X-DNS-Prefetch-Control': 'off', 'X-Frame-Options': 'SAMEORIGIN', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff',
│ 'X-XSS-Protection': '1; mode=block', 'Location': 'https://habr.com/ru/feed/', 'Vary': 'Accept', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains',
│ 'X-Request-Id': 'd7ce5a7f643240e4021e6d1944179122', 'X-Request-Geoip-Country-Code': 'RU', 'X-Request-Detected-Device': 'desktop'}
└── Log saved in /dev/null
Request execution time: 0.0001 seconds
⚡ Software execution time: 3.249 seconds
To run the software you will have to install the necessary programs and dependencies, such as:
- Python interpreter (>=3.10)
- PIP package manager (>=22.0)
- Python libraries (listed in requirements.txt)
- net-tools (debian:
sudo apt install net-tools
; arch:sudo pacman -Sy net-tools
)
Don't forget to install dependencies and requirements: python>=3.10, pip and git.
Note
If your shell is fish, then instead of source venv/bin/activate
use source venv/bin/activate.fish
.
git clone https://github.com/alexeev-engineer/zennet.git # Clone repo
cd zennet # Change directory
python3 -m venv venv # Create virtual environment
source venv/bin/activate # Activate venv
pip3 install -r requirements.txt # Install requirements.
If you have questions about using zennet, then create an issue in the repository or write to me at bro.alexeev@inbox.ru.
You can also write to me on Telegram: @alexeev_dev
ZenNet is an Open Source project, and it only survives due to your feedback and support!
Project releases are available at this link.
Here you can see what zennet can already do and what else is planned to be added in the future:
- Asynchrony support
- Logging
- Fast HTTP-get request
- Port scanner
- Whois
- DNS black list scan
- Full network info
- TCP server/client
- Netcat analogue
- Extensions support
- Create GUI
ZenNet® - blazing fast tool network tool.
Copyright © 2024 Alexeev Bronislav. All rights reversed.
The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.