├── README.md └── main.py /README.md: -------------------------------------------------------------------------------- 1 | # blackmail 2 | #author erenakkaya 3 | 4 | FOR EDUCATIONAL PURPOSES ONLY. THE DEVELOPER DOES NOT ACCEPT ANY RESPONSIBILITY. 5 | 6 | BlackMail is a tool for creating and sending spoof mail. 7 | 8 | EN* 9 | ### Usage 10 | 11 | 1-First you need to use SMTP service. The service I use is brevo.com. 12 | 13 | 2-Create a free account from brevo. 14 | 15 | 3-We are printing the login information provided by the SMTP service to the required places. 16 | 17 | 4- Successful. 18 | -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- 1 | import smtplib 2 | from email.mime.text import MIMEText 3 | from email.mime.multipart import MIMEMultipart 4 | 5 | login = input ('SMTP login :') 6 | password = input ('SMTP pass :') 7 | msg = MIMEMultipart('mixed') 8 | 9 | sender = input ('sender mail :') 10 | recipient = input ('recipient mail :') 11 | 12 | msg['Subject'] = input ('Subject :') 13 | msg['From'] = sender 14 | msg['To'] = recipient 15 | 16 | text_message = MIMEText('Mesaj Buraya Yazilacak.(Message is here)', 'plain') 17 | html_message = MIMEText('Buda resim falan eklersen diye Mesaj yani.(With images Messages)', 'html') 18 | msg.attach(text_message) 19 | msg.attach(html_message) 20 | 21 | mailServer = smtplib.SMTP('smtp-relay.brevo.com', 587) # 8025, 587 and 25 can also be used. 22 | mailServer.ehlo() 23 | mailServer.ehlo() 24 | mailServer.login(login, password) 25 | mailServer.sendmail(sender, recipient, msg.as_string()) 26 | mailServer.close() 27 | try: 28 | print ("Mail Gonderildi") 29 | except: 30 | print ("Mail Gonderilemedi") 31 | 32 | --------------------------------------------------------------------------------