Skip to content

benjaminr/vimcap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 

Repository files navigation

vimcap 🧢

Introduction

A Vim plugin for hex editing pcap files.

Dependencies

Installation

mkdir -p ~/.vim/pack/vendor/start/
cd $_
git clone https://github.com/benjaminr/vimcap
vim -u NONE -c "helptags vimcap/doc" -c q

Usage

Load a pcap

vim capture.pcap

Example

Ascii mode

>a

Unicode mode

>u

Scapy dissection

:call ScapyPrint("IP")

IP can be any Scapy protocol you wish to set as the outermost encapsulation.

Compatability

This has only been tested with newer versions of Vim, so be warned!

It was also hacked together with little to no knowledge of Vim plugins.