ethicalhackingplayground / mailsploit

Sends some one a malicious payload through smtp and starts a listener with metasploit.
35 stars 10 forks source link

Issues using other mail services other than gmail #2

Closed usmarine2141 closed 6 years ago

usmarine2141 commented 6 years ago

@ethicalhackingplayground when trying to use LIVE mail, get the following error.

Please allow us to specify the smtp server we want to use, and or have generic ones listed we select with 1,2,3,4,5 and so on or something like that.

Did you want to send to facebook messenger: [Y/n] n [+] Getting everything ready. Traceback (most recent call last): File "mailsploit.py", line 324, in setup()
File "mailsploit.py", line 100, in setup connect() File "mailsploit.py", line 168, in connect yag = yagmail.SMTP({email:spoofName}, password) File "/usr/local/lib/python2.7/dist-packages/yagmail/sender.py", line 78, in init self.login(password) File "/usr/local/lib/python2.7/dist-packages/yagmail/sender.py", line 205, in login self.smtp.login(self.user, password) File "/usr/lib/python2.7/smtplib.py", line 623, in login raise SMTPAuthenticationError(code, resp) smtplib.SMTPAuthenticationError: (535, '5.7.8 Username and Password not accepted. Learn more at\n5.7.8 https://support.google.com/mail/?p=BadCredentials g200sm5688989qke.55 - gsmtp')

ethicalhackingplayground commented 6 years ago

Okay I will do that.

ethicalhackingplayground commented 6 years ago

Okay so i think it's all fixed I used http://anonymouse.org/anonemail.html to send an anonymous email. Please tell me if anything goes wrong? because this has not yet been tested and you have to wait 12 hours before the recipient receives the email but I'm still trying to find a work around this issue.

ethicalhackingplayground commented 6 years ago

Okay I just received the email and it only took like 2 minutes.

usmarine2141 commented 6 years ago

I just tested again. will this still work as demonstrated in the test mailsploit demo?

usmarine2141 commented 6 years ago

so i havent gotten it via mailsploit... i want to be able to spoof the email not just send anonymously.

usmarine2141 commented 6 years ago

@ethicalhackingplayground

usmarine2141 commented 6 years ago

so yes. it does work... but it shows up as anonymous remailer on the email client.

ethicalhackingplayground commented 6 years ago

Okay, I'm going to work on the email spoofing. Thanks for this feedback though I really appreciate it, dude. it was early in the morning when I done this new build lol

usmarine2141 commented 6 years ago

Lol. Thanks for making this!! Gonna help alot on tests. Wish I was better at coding I'd help you. Keep up the good work!

On Sat, Dec 16, 2017, 6:04 PM Th3J0k3r notifications@github.com wrote:

Okay, I'm going to work on the email spoofing. Thanks for this feedback though I really appreciate it, dude. it was early in the morning when I done this new build lol

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ethicalhackingplayground/mailsploit/issues/2#issuecomment-352220974, or mute the thread https://github.com/notifications/unsubscribe-auth/ATwSoz68TaqJkohnCy8jXzP5PTr6J62dks5tBFqNgaJpZM4REZvl .

ethicalhackingplayground commented 6 years ago

Okay so I have uploaded a new build and it should be working fine, just open up a terminal and type in,

git clone https://github.com/ethicalhackingplayground/mailsploit.git

and it will download the latest build then setup the config file and you should be right to go. You also need to setup up an account with

https://www.smtp2go.com

in order for this to all work it just acts like a smtp server and this is what email spoofing needs

Hope this helps support would be great and please visit my website at

https://www.hackingplayground.com

Please feel free to comment if your having any problems again. Good bye.