GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - regi18/plotMouseMovements: Plot raw mouse data (may be useful for CTFs)

This repository was archived by the owner on Mar 16, 2022. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

32 Commits
32 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README.md
README.md
 
 
example.jpg
example.jpg
 
 
matplotlibexample.jpg
matplotlibexample.jpg
 
 
plotMouseMovements.py
plotMouseMovements.py
 
 
plotMouseMovements_turtle.py
plotMouseMovements_turtle.py
 
 

Repository files navigation

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

  • hexascii2bin

Contributors

regi18

License

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

License: GPL v3

About

Plot raw mouse data (may be useful for CTFs)

Topics

ctfctf-platformctf-toolsdevencodedflaginputletterslinuxmatplotlibmousemovementpyplotpython-turtlepython3rawsecretstreamtooltools

Resources

Readme
GPL-3.0 license
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.