Giter VIP home page Giter VIP logo

wiregr's Introduction

Wiregr - Wireshark Dissector Regression Utils

The main goal of this utility is to allow keeping wireshark dumps as text files. It might sound crazy, but it is quite helpful for regression tests for wireshark dissectors and network related applications.

You can use Wiregr to solve the following tasks (but it is not limited to):

  • Convert pcapng files to text files with the yaml markup.
  • Edit text traffic and of course with your lovely text editor (it is not masked advertisement of emacs or vim).
  • Convert text traffic back to pcapng files.
  • Anonymize you dump: mask or replace such field as MAC addresses etc.
  • Hide traces of traffic manipulations: fix all headers as no one touch your dumps.
  • Troll your coworkers and admins with very strange and "untouched" dumps.
  • Have any other fun.

And it support all kind of traffic and its modifications... but for some you should write some code. And I will be glad if you return it to upstream.

Installation

I'm not sure that somewhere these utils will be in PYPI, so it is the easiest and reliable way to install this:

git clone [email protected]:anticodeninja/wiregr.git
pip install -e wiregr

Usage

Convert pcapng file to text file:

wiregr pcap2yaml rtp_sample.pcapng rtp_sample.yaml

Fix headers checksums:

wiregr process rtp_sample.yaml rtp_sample_fixed.yaml

The whole list of processing variants can be listed by:

wiregr process -h

Convert text file back to pcapng file:

wiregr yaml2pcap rtp_sample_fixed.yaml rtp_sample_fixed.pcapng

wiregr's People

Contributors

anticodeninja avatar

Stargazers

 avatar

Watchers

 avatar  avatar

wiregr's Issues

Unknown link type 249

Hello I am trying to decode a pcapng file into yaml file. When I try to run the command you provided with it returns with Unknown link_type 249. Any idea what is happening?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.