Skip to content

Yunchao/Python-Keylogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-Keylogger

by kchang33 and ywu100

A Keylogger for CS460 Final Project

  • Creates a windows executable file that runs in the background and tracks the keystrokes of the user.
  • It then sends the collected data to a specified email address in groups of relatively constant length along with the victim's IP address, hostname, username, and system configurations.
  • Upon receiving the correct combination of keys, the program will send its remaining data, terminate itself, and delete the keylogger.exe file from the system.

(Tested on Windows 10, python version 2.7.13, pyinstaller version 3.2.1)

NOTE: Python 3 users may experience issues when attempting to build the executable file

Setting up:

1. fill in the following in keylogger.py:

  • Destination email Address (DEST_EMAIL): The email to send results to.
  • Source Email Information (SRC_EMAIL/SRC_PWD): This is the email that the results are sent from. The current source email is identical to the destination email.
  • Buffer Size (DATA_BUFFER_SIZE): The number of characters that are collected before an email is sent.

2. Run setup.bat.

This will install the required dependencies (pyinstaller and pynput) and create an exe file.

3. Navigate to the newly created dist folder. If the setup was successful then keylogger.exe should be there.

4. Transfer and run keylogger.exe on victim device.

5. LEFT-CTRL + SPACE + RIGHT-SHIFT to stop the program and it will self-destruct. (Termination hotkey combination can be customized in code)

About

Keylogger for CS460 Final Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published