This repository is a personal lab where I explore networking in Python — starting with the socket module and expanding into more advanced tools and protocols. It’s a mix of hands-on code, theory, and experiments with real packet-level behavior.
socket– low-level TCP/UDP, file transfers, chat appsselectors– handling multiple connectionsasyncio– asynchronous sockets and I/Ossl– adding encryption to socket connectionshttp.server– quick HTTP serversrequests– HTTP client-side scriptingscapy– packet crafting/sniffing (ethical use)struct– packing and unpacking binary datasubprocess– command execution over sockets
- File transfer over TCP/UDP
- One-to-one and multi-client chat apps
- Port scanner (mini Nmap)
- Remote shell (for educational purposes only)
- DNS query tool
- Custom protocol experiments
- Wireshark capture analysis
To deeply understand how networking works under the hood in Python by building tools from scratch and simulating real-world communication between machines.
This is strictly for educational and ethical hacking/networking purposes. Any misuse is not encouraged.
- Python 3.x
- Wireshark
- Linux terminal
- Git + GitHub
Made by Chitransh-AFK with ❤️ to learn networking in Python.