-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.py
42 lines (38 loc) · 1.43 KB
/
main.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
#!/usr/bin/python
#Spikey Spammer
#Developed by Jagreet Das Gupta
#Author : V0!D
#Copyright : V!$(3R4
#Version : 1.1
import getpass
from spammer import spam_mail
print '\nSCRIPT OUTPUT INFO : '
print '\'->\' before an output indicates it is a non-verbose log'
print '\'!>\' before an output indicates it is a verbose log'
print '\'~>\' before an output indicates it is an error log'
print '\'?>\' before an output indicates it is an input'
print '\n--------------------------------------------------'
#My Publicity :) :)
print '\n-> Spikey Spammer v1.1'
print '-> Developed by Jagreet Das Gupta'
print '-> Copyright : V!$(3R4'
print '\n----------------------------------------------------'
mlserve = raw_input ('?> Service Provider ? (gmail/yahoo) : ')
reci = raw_input('?> Recipient\'s Email: ')
username = raw_input('?> Sender\'s Email : ')
password = getpass.getpass('?> Sender\'s Password: ')
y = raw_input('?> Do you want to include a predefined subject ? (y/n)')
set_sub = 0
if y=='y':
subject = raw_input('?> Subject: ')
set_sub = 1
message_body = raw_input('?> Message: ')
files = []
y3 = raw_input('?> Do you want to attach files ? (y/n) ')
if y3=='y':
no = input('?> Enter Number of Files to Attach ? ')
for i in range(1,no+1):
prompt = '?> Enter Filename#'+str(i)+' with path ? '
files.append(raw_input(prompt))
number = input('?> Number of messages to send: ')
spam_mail(reci,username,password,message_body,mlserve,number,set_sub,files)