Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Latest commit

 

History

History
47 lines (38 loc) · 1.93 KB

README.md

File metadata and controls

47 lines (38 loc) · 1.93 KB

Plot Mouse Movements

Plot raw mouse data. For example if you pass as input a copy of '/dev/input/mice' it will replay everything done on a plot. There are two python scripts: the first one (plotMouseMovements.py) is using matplotlib, while the second uses python's turtle.

Usage

matplotlib version

usage: plotMouseMovements.py [-h] [--speed [SPEED]] [--color [COLOR]] [inputfile]

positional arguments:
  inputfile             the input file (raw mouse data, e.g. from
                        /dev/input/mice). Default name = "mouse.bin"

optional arguments:
  -h, --help            show this help message and exit
  --speed [SPEED], -s [SPEED]
                        set the pause between updates (in seconds)
  --color [COLOR], -c [COLOR]
                        set the color of the plot (b = blue, g = green, r =
                        red, c = cyan, m = magenta, y = yellow, k = black, w =
                        white)

Built With

  • Matplotlib (pip3 install -U matplotlib)
    • Option 2: Turtle (apt install python3-tk & pip3 install turtle)
  • Python (apt install python3)

Example

Here's an example of a recent CTF (in this example, the image was updated every letter)

Matplotlib

alt text

Turtle

alt text In this case the flag was: FLAG_7RXDNT52K6P

May be useful

Contributors

regi18

License

This project is licensed under the MIT License - see the LICENSE file for details

License: GPL v3