A Vim plugin for hex editing pcap files.
- Python 3
- Scapy
mkdir -p ~/.vim/pack/vendor/start/
cd $_
git clone https://github.com/benjaminr/vimcap
vim -u NONE -c "helptags vimcap/doc" -c q
Load a pcap
vim capture.pcap
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.
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.