Giter Club home page Giter Club logo

pcap2track's Introduction

pcap2track

pcap2track 是 Python 编写的命令行工具,用于解析 pcapng 格式的鼠标流量包并还原出鼠标移动轨迹。

preview

安装

  1. 下载并解压本项目。
  2. 保证 tshark 命令可用。
  3. 安装 matplotlib 库。

用法

pcap2track.py [-h] [-o OUTPUT] pcapng_file [button_mask]

-o: 用于指定输出图片的名称,默认为 output.png

button_mask: 4 位位域,其中每个位对应一个按键状态,默认值为 15(即 0b1111)。当某个位设置为 1 时,表示显示对应按键状态的鼠标轨迹。具体位结构为:

Bit Bit Length Description
0 1 当设置为 1 时,表示显示鼠标左键的轨迹。
1 1 当设置为 1 时,表示显示鼠标右键的轨迹。
2 1 当设置为 1 时,表示显示鼠标中键的轨迹。
3 1 当设置为 1 时,表示显示无按键时的轨迹。

pcap2track's People

Contributors

p0ise avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.