-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathEmail_Spammer.py
93 lines (78 loc) · 7.88 KB
/
Email_Spammer.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
import time
import os
import smtplib
from email.mime.text import MIMEText
from email.mime.image import MIMEImage
from email.mime.application import MIMEApplication
from email.mime.multipart import MIMEMultipart
import colorama
from colorama import Fore
#--------------------------------------------------------------------------------
def clear_console():
os.system('clear')
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
#--------------------------------------------------------------------------------
def Run(pe, password):
smtp = smtplib.SMTP('smtp.gmail.com', 587)
smtp.ehlo()
smtp.starttls()
print(Fore.BLUE+"██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████")
print("█░░░░░░░░░░░░░░█░░░░░░░░░░░░░░█░░░░░░░░░░░░░░█░░░░░░██████████░░░░░░█░░░░░░██████████░░░░░░█░░░░░░░░░░░░░░█░░░░░░░░░░░░░░░░███")
print("█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀░░░░░░░░░░░░░░▄▀░░█░░▄▀░░░░░░░░░░░░░░▄▀░░█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀▄▀▄▀░░███")
print("█░░▄▀░░░░░░░░░░█░░▄▀░░░░░░▄▀░░█░░▄▀░░░░░░▄▀░░█░░▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀▄▀░░█░░▄▀░░░░░░░░░░█░░▄▀░░░░░░░░▄▀░░███")
print("█░░▄▀░░█████████░░▄▀░░██░░▄▀░░█░░▄▀░░██░░▄▀░░█░░▄▀░░░░░░▄▀░░░░░░▄▀░░█░░▄▀░░░░░░▄▀░░░░░░▄▀░░█░░▄▀░░█████████░░▄▀░░████░░▄▀░░███")
print("█░░▄▀░░░░░░░░░░█░░▄▀░░░░░░▄▀░░█░░▄▀░░░░░░▄▀░░█░░▄▀░░██░░▄▀░░██░░▄▀░░█░░▄▀░░██░░▄▀░░██░░▄▀░░█░░▄▀░░░░░░░░░░█░░▄▀░░░░░░░░▄▀░░███")
print("█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀░░██░░▄▀░░██░░▄▀░░█░░▄▀░░██░░▄▀░░██░░▄▀░░█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀▄▀▄▀▄▀▄▀▄▀░░███")
print("█░░░░░░░░░░▄▀░░█░░▄▀░░░░░░░░░░█░░▄▀░░░░░░▄▀░░█░░▄▀░░██░░░░░░██░░▄▀░░█░░▄▀░░██░░░░░░██░░▄▀░░█░░▄▀░░░░░░░░░░█░░▄▀░░░░░░▄▀░░░░███")
print("█████████░░▄▀░░█░░▄▀░░█████████░░▄▀░░██░░▄▀░░█░░▄▀░░██████████░░▄▀░░█░░▄▀░░██████████░░▄▀░░█░░▄▀░░█████████░░▄▀░░██░░▄▀░░█████")
print("█░░░░░░░░░░▄▀░░█░░▄▀░░█████████░░▄▀░░██░░▄▀░░█░░▄▀░░██████████░░▄▀░░█░░▄▀░░██████████░░▄▀░░█░░▄▀░░░░░░░░░░█░░▄▀░░██░░▄▀░░░░░░█")
print("█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀░░█████████░░▄▀░░██░░▄▀░░█░░▄▀░░██████████░░▄▀░░█░░▄▀░░██████████░░▄▀░░█░░▄▀▄▀▄▀▄▀▄▀░░█░░▄▀░░██░░▄▀▄▀▄▀░░█")
print("█░░░░░░░░░░░░░░█░░░░░░█████████░░░░░░██░░░░░░█░░░░░░██████████░░░░░░█░░░░░░██████████░░░░░░█░░░░░░░░░░░░░░█░░░░░░██░░░░░░░░░░█")
print("██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████")
smtp.login(pe, password)
number = 0
detect = input(Fore.WHITE+'Start Program? Yes/No >>> ') #Create input check to start code
if ((detect == 'Yes') or (detect == 'yes')):
email = input("Who's Email Is Being Spammed >>>") #Create input check to start code
loopAmmount = input('How Many Times Should This Loop? >>> ') #Create input check to start code
print(f'This Will Loop {loopAmmount} Times')
delayInput = input('How Many Seconds Of Delay Should There Be Between Each Email? >>> ')
time.sleep(1)
print(f'There Will Be {delayInput} Seconds Of Delay Between Each Email')
print('Starting In 3 Seconds...')
time.sleep(1)
print('Starting In 2 Seconds...')
time.sleep(1)
print('Starting In 1 Seconds...')
time.sleep(1)
print('Starting...')
converted_num = int(loopAmmount)
delay = int(delayInput)
time.sleep(2)
while converted_num >= 1:
#-----------------------------------------------------------------------------------------Program Being Looped V----
number = number + 1
text = (f'{number}')
subject = ''
msg = MIMEMultipart()
msg['Subject'] = subject
msg.attach(MIMEText(text))
to = [f"{email}"]
smtp.sendmail(from_addr=pe,
to_addrs=to, msg=msg.as_string())
print(f'Email Number {number} Is Being Sent')
time.sleep(delay)
#-------------------------------------------------------------------------------------------------------------------------------------
converted_num = converted_num - 1
if converted_num == 0:
os.system('sudo python RAVAGE.py')
break
#-------------------------------------------------------------------------------^---------------------------------------------------
elif ((detect == 'No') or (detect == 'no')):
quit()
else:
clear_console() #Clear Console
print('Please Choose Option')
Run()
#--------------------------------------------------------------------------------