This documentation provides details about generating a fake PCAP file.
This is expiremental at this time
To generate a fake PCAP file see the following:
from socfaker import SocFaker
sc = SocFaker()
print(sc.pcap()
.. automodule:: socfaker.pcap
:members:
:undoc-members: