net-sniffer 1.0

Sniffs an interface/pcap file and concatenates fragmented packet loads

Watchers:
This resource is being watched by 58 members.
  1. Mr. Penguin
    Simple building block script for inspecting packets flying across an interface/pcap file. Concatenates fragmented packets. Prints a 1 line packet summary if the packet has a TCP layer and a load. Meant to be built out to find specific information from packets.
    Auto-detect the interface to sniff
    Code:
    Select All
    sudo python net-sniffer.py
    Choose eth0 as the interface
    Code:
    Select All
    sudo python net-sniffer.py -i eth0
    Read from pcap
    Code:
    Select All
    sudo python net-sniffer.py -p pcapfile