Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having essentially this same issue with SMTP Server #36

Open
Daowkio opened this issue Nov 10, 2022 · 1 comment
Open

Having essentially this same issue with SMTP Server #36

Daowkio opened this issue Nov 10, 2022 · 1 comment

Comments

@Daowkio
Copy link

Daowkio commented Nov 10, 2022

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)

@Daowkio Daowkio changed the title Having essentially this same issue Having essentially this same issue with SMTP Server Nov 10, 2022
@PanDabStudios
Copy link

what username and password did you use? I found mine using mailtrap like said in readme.md and going to sandbox>inboxes>my inbox>smtp settings and chose from the integrations dropdown python Django. the host and port are already in the code and not configurable, but the user and password is in the lines 25 & 26, IDK if that helped but I hope so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants