Pcapy: pcap library wrapper for Python

Pcapy is a lightweight pcap library wrapper for Python. It allows you to read and handle low-level network packets from Python, both on Windows and UNIX-like platforms (Linux, macOS). Live captures and PCAP files are supported. BPF filters can be applied to get the traffic of interest only.

It works as a native module that can be plugged into the CPython virtual machine. Code is C and links against the Python SDK. In Windows platforms, WinPcap is required.

It has been released under a variation of the Apache Software License, and it’s currently maintained by Core Security. You can get more information and the source code here: https://github.com/helpsystems/pcapy

 

One Reply to “Pcapy: pcap library wrapper for Python”

  1. Hello There , Firstly a bit about myself 🙂
    I am a Security enthusiast and have keen interest in Network Security and like to learn more advanced concepts in the same . Totally an open-source lover XD . I love to play with awesome open-source security tools like nmap , metasploit , wireshark , scapy , netfilter etc . The main language in which i works is Python and i like to make and configure everything in python .

    Now i wanna say i really like this article and wanna contribute in the same . Please guide me !!

Leave a Reply

Your email address will not be published.