Kammelleon / SimpleMailBomber

A program that spams mailbox with messages that you can adjust
3 stars 0 forks source link

Authentication problem #1

Closed golfymate closed 2 years ago

golfymate commented 2 years ago

https://github.com/Kamelleon/MailBomber/blob/66a23489ccbc76057a47437b1b7b43ab536ab47c/MailBomber.py#L109

Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python3.9/tkinter/init.py", line 1892, in call return self.func(*args) File "/home/kali/Desktop/clones/MailBomber/MailBomber.py", line 106, in button_send = Button(text = "SPAM", bg = "green", fg = "white", command = lambda:send_mail()) File "/home/kali/Desktop/clones/MailBomber/MailBomber.py", line 18, in send_mail server.login(sender_login, sender_password) File "/usr/lib/python3.9/smtplib.py", line 750, in login raise last_exception File "/usr/lib/python3.9/smtplib.py", line 739, in login (code, resp) = self.auth( File "/usr/lib/python3.9/smtplib.py", line 662, in auth raise SMTPAuthenticationError(code, resp) smtplib.SMTPAuthenticationError: (534, b'5.7.14 <https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbs\n5.7.14 y6xsBhmmnEB1OEmu4oDJMI_CR_MfA4HRlhHsjf7ZLIOSFTYDElAmLF9VbJAUaNjWdfzO1\n5.7.14 3oMWkGhfa3N1z-xYqvKJp4yGHONdWv8_hM2-gMvhe1KpV_7-UVTJxiW4CdWNUlzX>\n5.7.14 Please log in via your web browser and then try again.\n5.7.14 Learn more at\n5.7.14 https://support.google.com/mail/answer/78754 a6sm11596022wrx.101 - gsmtp') ^C^CTraceback (most recent call last): File "/home/kali/Desktop/clones/MailBomber/MailBomber.py", line 109, in
window.mainloop()
File "/usr/lib/python3.9/tkinter/init.py", line 1429, in mainloop self.tk.mainloop(n) KeyboardInterrupt

Hello, i get this error

golfymate commented 2 years ago

Do i have to change my SMTP settings at /usr/lib/python3.9/smtplib.py ?

Kammelleon commented 2 years ago

Hi, make sure you are using gmail and you have turned on less secure apps mode: Less secure apps link

You will also need an account with turned OFF 2FA.

Btw. I will try to rewrite this program ASAP because it's really old and messy...

golfymate commented 2 years ago

Hello, thanks for your reply.

I have indeed set Less secure apps link to ON The account does not have 2FA or anything,

I can log with mail;pass in chrome without issues

Please let me know about future updates & how it works for you. Thank you.

Kammelleon commented 2 years ago

Okay, then I'll let you know as soon as possible when I done rewriting this messy code and check if it works...

Sorry for the inconvenience

Kammelleon commented 2 years ago

Okay I have created a new version of mail bomber. You can check it out and let me know if it works for you

golfymate commented 2 years ago

It does work perfectly now, all messages fall into junk though, do you think that could be resolved with a list of UA and clean proxies?

Also do you know how many mails in average 1 Gmail could send? maybe 50-100 or more?

Kammelleon commented 2 years ago

The number of sent mails (before it goes to junk/spam folder) depends on e-mail provider I think. I tried to send from 100 to 500 mails from one Gmail mailbox to another and it worked well. As far as I know you can try combining different proxies and different mailboxes and it should help a little bit. You can also change the wait-time between sending next messages. It is set to 0.1 second in the script (and it worked well for gmail-to-gmail spamming in my case) but theoretically it should be set to something around 1 second. You also shouldn't send one-by-one this same message for 100 and more times and the message should look human friendly because spam filters can be really smart nowadays. Here are some tips for good practices to not get into spam/junk folder: How to bypass email spam filters

If you wish to have a really powerful mail bomber then you should find out how exactly spam filters work on the victim mailbox but even that may not be enough to bypass them...