Skip to content

A Simple Keylogger for Linux written in Python

License

Notifications You must be signed in to change notification settings

mkcn/py-keylogger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Py-keylogger

A Simple Keylogger for Linux written in Python using the pyxhook module which is an implementation of pyhook module (for Windows OS).

Changes:

  • reduced CPU utilization ( removed "mouse move" hook )
  • organized output (grouped chars with the same "window context", showing the process name and the time).
	---------------------------------------------------------------------------
	# 2016-02-09 11:36:41 : Mirko Conti - Mozilla Firefox [ Navigator ]
	---------------------------------------------------------------------------
	 e x a m p l e space o f space t e x t

	---------------------------------------------------------------------------
	# 2016-02-09 11:38:05 : *pyxhook.py (~/Documents/py-key) - gedit [ gedit ]
	---------------------------------------------------------------------------
	 space c o d e space Shift_L percent space 2 Control_L

Requirements:

  • python 2.7
  • python-xlib

Installation:

Get the code
git clone https://github.com/mkcn/py-keylogger.git
Set the directory
cd py-keylogger

Default log file: file.log (set in "kl.py")

Run the keylogger
python kl.py 
Run in background
nohup python kl.py -r > output &
Auto start (Ubuntu)

"Startup applications" → "Add"

  • name : "py-key"
  • Command : "python ~/py-keylogger/kl.py"
  • Exit : 'Control_L' then '+' to exit

Credits:

Visit the original project

About

A Simple Keylogger for Linux written in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%