Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nano 2.6.3 Arquivo: enviar_emails.py
- #!/usr/bin/python3
- #coding: utf-8
- # Script que envia e-mail, cuja função principal é flood
- # Developer: marcos Alexandre
- 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 = raw_input("\n[*] Digite seu e-mail: ")
- password = input("[*] Digite sua senha: ")
- to = raw_input("[*] Digite o e-mail da vítima: ")
- numero = int(input("[+] Quantidade de e-mails: "))
- mensagem = str(raw_input("[+] Digite a mensagem: "))
- try:
- serv.login(user, password)
- print("[+] Login concluído com sucesso!")
- except:
- print("[!] E-mail ou senha errados!")
- sys.exit()
- ^G Ajuda ^O Gravar ^W Onde está? ^K Recort txt ^J Justificar ^C Pos atual ^Y Pág anter M-\ Prim linha M-W OndeTá próx.
- ^X Sair ^R Ler o arq ^\ Substituir ^U Colar txt ^T Lintar ^_ Ir p/ linha ^V Próx pág M-/ Últ linha M-] Parênteses
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement