Inspired by the Scapy module
This project is a tool for crafting, sending, and analyzing network packets. It was built for learning purposes, with the goal of understanding how network protocols work and how custom packets can be manually built.
While some minor functions (like printing and basic checks) were generated with the help of ChatGPT, the majority of the code is handwritten.
- Manual generation of packets for various protocols
- Clear, explicit, and beginner-friendly code
- Better understanding of protocol headers and low-level networking
- IPv4 header generation
- TCP header generation
- Support for additional protocols
- Port scanning
- Analyzing capabilities of received received packages with explicit human readable and (useful for learning) info
- Packet spoofing
- Man page
Currently, sending packets using thesendto()function may fail.- The OS considers the arguments invalid.- You can find this behavior in themain.pyfile, near the end, after the sanity check.sent_bytes = sock_send.sendto(packet.tobytes(), (Destination_Address, 1000))
So i looked more into how scapy and nmap bypass these restrictions, and that's it! Finally I can maybe make this program work:)
Go to the USAGE.md file for info
This project is open-source and free to use for educational purposes. If you find it useful or build upon it, credit is appreciated!