Skip to main content

A CLI tool that captures packets and explains them step by step like a debugger for networking.

Project description

Sniff

A CLI tool that captures packets and explains them step by step like a debugger for networking.


Features

  • Can capture TCP packets and output binary data, whilst translating the bytes to ASCII.
  • Can detect TCP handshakes.

Tech Stack

  • Python

📦 Installation & Setup

Using Python Package Index (PyPI)

pip install ntc-sniff

Maunal Installation

  • Clone the repository:
git clone https://github.com/ntcofficial/sniff.git
cd sniff
pip install -e .
echo "alias ntc-sniff-m=sudo python -m ntc_sniff.main"

Usage

[i] Replace ntc-sniff with ntc-sniff-m if manually installed. ntc-sniff [-h] --iface IFACE [--count COUNT] [--explain]

ntc-sniff: packet analyzer CLI

options: -h, --help show this help message and exit --iface IFACE Network Interface --count COUNT Number of packets --explain Explain packet bytes


📝 Changelog

1.0.7.3 >

  • Can capture TCP packets and output binary data, whilst translating the bytes to ASCII.
  • Can detect TCP handshakes.

🤝 Contributing

Currently in early development. Contributions may be opened in the future. Suggestions and feedback are welcome.


Author

Jasper

Founder - Next Tech Creations


License

This is licensed under the MIT License.


📜 License Text

Copyright 2026 Next Tech Creations

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

📬 Contact

For questions, feedback, or collaboration:


⭐ Support

If you like this project:

  • Star the repository
  • Share with others
  • Give feedback

Your support helps the project grow.

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

ntc_sniff-1.0.7.3.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ntc_sniff-1.0.7.3-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file ntc_sniff-1.0.7.3.tar.gz.

File metadata

  • Download URL: ntc_sniff-1.0.7.3.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for ntc_sniff-1.0.7.3.tar.gz
Algorithm Hash digest
SHA256 12bc243022288aad4dd6010503b9e9098d01ccb6e518f4bba91b7584900c5244
MD5 6481a6a79404942355489dcda3fd25f4
BLAKE2b-256 0b4370a65311cfa57a6dfb8505f948eccfc806dc735946e648da693e65d1b9fe

See more details on using hashes here.

File details

Details for the file ntc_sniff-1.0.7.3-py3-none-any.whl.

File metadata

  • Download URL: ntc_sniff-1.0.7.3-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for ntc_sniff-1.0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d868cb421c60a55d355d79f1fc8878fcc41429b4d92acda19a1218e9c9850673
MD5 408bfa37d030b93a277086782306f801
BLAKE2b-256 3faf2ae539f13fd025335d7178e7b826b279ec9fa2e1f11edca17de41846375c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page