github.com/DevoInc/pCraft

pCraft is a PCAP Crafter, which creates a PCAP from an AMI scenario.

Open this visualization on its own page →

Contributors

2

Lines of Code

782

From

2019-10-15

To

2020-12-18

About DevoInc/pCraft

pCraft is a PCAP crafter written in C that generates packet capture files from scenarios written in AMI, a domain-specific language designed for creating readable network test data. The tool solves the challenge of generating consistent, reproducible network traffic for testing purposes while avoiding common pitfalls like data inconsistencies between clients and servers, personal data leaks, timing issues, and service-level synchronization problems.

AMI is implemented as a C library with C++ bindings that expose Python interfaces used by pCraft. Users write scenarios in AMI syntax describing network interactions they want to capture, then run pCraft to output standard PCAP files suitable for analysis with tools like tshark or Wireshark. The project includes documentation on scenario writing and provides a plugin system that extends the tool's capabilities for different network protocols and use cases.

Share this video