keylogger

command module
v0.0.0-...-e477a49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

按键记录

gradient.shapefactory.co


bar chart every day


heatmap chart every hour in weeks


heatmap chart comparison of several weeks

柱状图 每天按键数据

热力图 时间段内分布数据

热力图 多个星期横向对比

Install

  1. make down
  2. make statik
  3. make install
  4. make web

Redis

全局

  • string keyboard:last-event
  • zset keyboard:total
    • value: 年:月:日 score: 当日按键总数

每日滚动数据

  • zset keyboard:年:月:日:detail
    • value: 时间戳(微秒) score: keyCode
  • zset keyboard:年:月:日:rank
    • value: keyCode score: 当日按键数

Version

  • 1.2.0 move detail data from redis to leveldb, reduce 90% memory usage
  • 1.1.0 fix memory leak
  • 1.0.9 fix 00:00 cache problem
  • 1.0.8 transfer the task of calculating KPM to the listening input device process
  • 1.0.6 add interactive select device
  • 1.0.4 remove thread pool(memory leak)
  • 1.0.3 import thread pool
  • 1.0.2 GA

Debug

go tool pprof -inuse_space http://localhost:8891/debug/pprof/heap go tool pprof -inuse_space -cum -svg http://localhost:8891/debug/pprof/heap > heap_inuse.svg

注意: root用户监听device 和 非root用户的逻辑 数据存储是不一样的

TODO

  • gtk 窗口有内存泄漏的问题,随着刷新次数的增多,内存也随之增长
    • 使用timeoutAdd 解决
  1. webview vs electron

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app
web

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL