This project provides a Python wrapper for PcapPlusPlus, enabling the creation and manipulation of network messages such as DHCP and Ethernet, with support for various headers and message types. It utilizes CMake for building and pybind11 for generating Python bindings.
To build and use this project, the following tools and libraries are required:
- CMake 3.10 or higher
- Python 3.7 or higher
- pybind11 (for creating Python bindings)
- PcapPlusPlus (for packet handling and message creation)
- A compatible compiler (e.g., GCC, Clang)
Follow these steps to build the project:
- Clone the repository:
git clone https://github.com/raissi-oussema/pypcapy.git cd MessageFactory/output/test.py
This project supports building on both Windows and Linux platforms. Below are the instructions for building the project on both systems.