Skip to content

warmchang/pcapview

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pcapview

Description

pcapview is a pcap file uploader, analyzer, and visualizer. You'll need a capture file, a format used by libpcap and network packet analyzers such as Wireshark or tcpdump. Drag the pcap file to the page, and the file will be timestamped and uploaded to the folder the application is running in. The visualization will appear, showing all IP conversations over time, with packet activity appearing as points on a line. Application protocols are represented by color, and hovering over a conversation reveals the source and destination IP addresses of the first packet sent between them in the capture file. To toggle a permanent display of the IP addresses, click Show/Hide IPs.

Requirements

  • Python 3 on Mac/Linux (untested on Windows)
  • Python Packages: Flask and its dependencies
    • pip install -r requirements.txt
  • Mac/Linux Packages: TShark (Wireshark)
    • brew install tshark # mac
    • apt install tshark # linux
  • PCAPs
    • example pcaps provided in the test folder
    • to create your own, use tshark: tshark -w out.pcap
    • download from the web, but be careful; example pcaps are from here

Run

  • To start the application listening on port 5000:
    • python pcapview.py

Screenshots

screenshot screenshot screenshot

About

pcap file uploader, analyzer, and visualizer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 69.8%
  • Python 16.3%
  • CSS 9.2%
  • HTML 4.7%