All Projects → MarinX → Keylogger

MarinX / Keylogger

Licence: mit
Basic keylogger in Go (no C deps)

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Keylogger

Swift Keylogger
Keylogger for mac written in Swift using HID
Stars: ✭ 995 (+586.21%)
Mutual labels:  keylogger
Spykeyboard
keylogger which sends us the data to our gmail.
Stars: ✭ 95 (-34.48%)
Mutual labels:  keylogger
Postexploits
(windows) post exploitation: dll injection, process hollowing, RunPe, Keyloggers, UacByPass etc..
Stars: ✭ 111 (-23.45%)
Mutual labels:  keylogger
Cornerstone
Linux命令转发记录
Stars: ✭ 51 (-64.83%)
Mutual labels:  keylogger
Keylogger
A powerful C keylogger for Windows.
Stars: ✭ 89 (-38.62%)
Mutual labels:  keylogger
Rat Hodin V2.9
Remote Administration Tool for Linux
Stars: ✭ 97 (-33.1%)
Mutual labels:  keylogger
Badusb botnet
👥😈 Infect a pc with badusb and establish a connection through telegram.
Stars: ✭ 32 (-77.93%)
Mutual labels:  keylogger
Herakeylogger
Chrome Keylogger Extension | Post Exploitation Tool
Stars: ✭ 138 (-4.83%)
Mutual labels:  keylogger
Archivist
A ctypes powered python keylogger.
Stars: ✭ 92 (-36.55%)
Mutual labels:  keylogger
Inferno
🔥 Modern command line tool for malware creation on Windows
Stars: ✭ 105 (-27.59%)
Mutual labels:  keylogger
Blazerat
🔥 Control your Linux home computer with telegram bot.
Stars: ✭ 60 (-58.62%)
Mutual labels:  keylogger
Cyberweapons
Automated Cyber Offense
Stars: ✭ 64 (-55.86%)
Mutual labels:  keylogger
Keylogger
🔐 Open Source Python Keylogger Collection
Stars: ✭ 97 (-33.1%)
Mutual labels:  keylogger
Keylogger
A simple keylogger for Windows, Linux and Mac
Stars: ✭ 1,007 (+594.48%)
Mutual labels:  keylogger
Flux Keylogger
🔖 Modern Javascript keylogger with web panel
Stars: ✭ 122 (-15.86%)
Mutual labels:  keylogger
Pylogger
🐍 A Python Keylogger for Windows
Stars: ✭ 36 (-75.17%)
Mutual labels:  keylogger
Wifipassword Stealer
Get All Registered Wifi Passwords from Target Computer.
Stars: ✭ 97 (-33.1%)
Mutual labels:  keylogger
Pyiris Backdoor
PyIris-backdoor is a modular, stealthy and flexible remote-access-toolkit written completely in python used to command and control other systems. It is now in the beta stage, possibly perpetually. There are bugs still present in the framework, feel free to contribute or help me out with this project its still under active development >_>
Stars: ✭ 145 (+0%)
Mutual labels:  keylogger
Tas
A tiny framework for easily manipulate the tty and create fake binaries.
Stars: ✭ 137 (-5.52%)
Mutual labels:  keylogger
Cromos
Cromos is a tool for downloading legitimate extensions of the Chrome Web Store and inject codes in the background of the application.
Stars: ✭ 103 (-28.97%)
Mutual labels:  keylogger

Keylogger

Capture global keyboard events on Linux

Build Status GoDoc License MIT

Notes

  • Only Linux based
  • Need root privilages

Installation

go get github.com/MarinX/keylogger

Getting started

Finding keyboard device

There is a helper on finding the keyboard.

 keyboard := keylogger.FindKeyboardDevice()

Which goes through each file device name to find keyword "keyboard"

/sys/class/input/event[0-255]/device/name

and returns the file event path if found

/dev/input/event2

If the function returns empty string, you will need to cat each device name and get the event number. If you know already, you can easily pass it to constructor

keylogger.New("/dev/input/event2")

Getting keypress

Once the keylogger returns channel event, you can switch by event code as described in input_event.go For start, you can listen on keyboard state change

keylogger.EvKey

Once you get desire event, there is a helper to parse code into human readable key.

event.KeyString()

NOTE

If you listen on keyboard state change, it will return double results. This is because pressing and releasing the key are 2 different state change. There is a helper function which you can call to see which type of state change happend

// returns true if key on keyboard is pressed
event.KeyPress()

// returns true if key on keyboard is released
event.KeyRelease()

Example

You can find a example script in example/main.go

Running tests

No magic, just run

go test -v

Creating key sniffer (needs update)

License

This library is under the MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].