Skip to main content

PlotCap - a simple network visualization tool

Project description

PlotCap - a simple network visualization tool.

Sample

Introduction

PlotCap is a simple command line tool written in Python and based on PyVis, that parses network capture files (produced by tools such as tcpdump or Wireshark) to render a graph of the network topology in a web page.

PlotCap was designed for red team engagements, with the aim of quickly mapping out relationships between devices (“nodes”) in a network. Target groups are: network administrators, penetration testers and curious people.

Visualization can be performed at layer 2 (MAC addresses) and layer 3 (IP addresses). Layer 2 is the default. The tool attempts to resolve MAC addresses unless directed otherwise.

Usage

plotcap  -f capture.cap

This is equivalent to:

plotcap  -f capture.cap --layer2

or:

plotcap  -f capture.cap --layer2 --resolve-oui

Do not resolve MAC addresses:

plotcap  -f capture.cap --layer2 --no-resolve-oui

Show IP addresses:

plotcap  -f capture.cap --layer3

Limitations

  • Although this is a command line tool, it requires a graphical environment and a web browser to render network maps. On headless systems we suggest using Xvfb to set up virtual sessions.

  • PlotCap was tested on Linux only

  • MAC addresses may not always be resolved to manufacturer names, especially if address randomization comes into play

  • See the TODO file for more missing features

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plotcap-0.3.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plotcap-0.3.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file plotcap-0.3.0.tar.gz.

File metadata

  • Download URL: plotcap-0.3.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for plotcap-0.3.0.tar.gz
Algorithm Hash digest
SHA256 15832fa818d2c7c05c0ac93b212b8df170bbbe80a5a124fd6d72217b0edbda72
MD5 d03a2e21a708b7015ab1b4c45bb305c4
BLAKE2b-256 d715a75d4e79343c27810f86d1a6c71ab9f2b63aa8cfb35a2582bf582431a4f3

See more details on using hashes here.

File details

Details for the file plotcap-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: plotcap-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for plotcap-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68b5a759cac44be6ac85a21cb455f4c729700beb16aa5dd20378c824ccaee929
MD5 fae98e4bead16a01e11b3136eb76eca7
BLAKE2b-256 569258a42f81fb5a5f1fb03e1222a8f97f7024815a03e1da591d4a44cfa57c21

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page