|
6 | 6 | print(' (__)\ )\/\ ') |
7 | 7 | print(' ||----w | ') |
8 | 8 | print(' || || ') |
9 | | -#we could used multiline strip but it was not preserving cowsay |
| 9 | +# we could used multiline strip but it was not preserving cowsay |
10 | 10 | print() |
11 | 11 | print(''' source code available at : linktr.ee/programmeratul ''') |
12 | 12 | print( ''' email bomber v1.0 ''') |
|
18 | 18 | ''') |
19 | 19 | print('Author : coderatul') |
20 | 20 | print('Author is not responsible for any kind of unethical act performed using this script') |
21 | | -print('visit smtplib documentation to know more about this project : https://docs.python.org/3/library/smtplib.html') |
22 | | -print('initialising program ..........') |
| 21 | +print('Visit smtplib documentation to know more about this project : https://docs.python.org/3/library/smtplib.html') |
| 22 | +print('Initialising program ..........') |
23 | 23 | num_count = 0 |
24 | 24 | #importing simple Mail Transfer Protocol(smtp) module |
25 | 25 | import smtplib |
26 | 26 | #getting number of mail's to be sent |
27 | 27 | try: |
28 | | - nos = int(input("Enter the number of Mails to be sent :")) |
| 28 | + nos = int(input("Enter the number of Mails to be sent : ")) |
29 | 29 | except: |
30 | | - print("Pls enter a valid character(only number!)") |
| 30 | + print("Please enter a valid character(only number!)") |
31 | 31 | #printing number of mails to be sent |
32 | 32 | print("Number of mail's to be sent is",nos) |
33 | 33 | #getting sender's gmail ID from end user |
34 | | -sender_email = input("Enter you gmail/sender's ID :") |
| 34 | +sender_email = input("Enter you gmail/sender's ID : ") |
35 | 35 | #printing sender's gmail ID |
36 | | -print("sender's gmail ID is : ",sender_email) |
| 36 | +print("Sender's gmail ID is : ",sender_email) |
37 | 37 | #inputing password for login into smtp server |
38 | 38 | password = input("Please enter your password : ") |
39 | 39 | #printing password entered by the end user |
40 | | -print("sender's gmail ID password is :",password) |
| 40 | +print("Sender's gmail ID password is : ",password) |
41 | 41 | #inputing receivers gamil ID |
42 | 42 | rec_email = input("Enter receiver's gmail id :") |
43 | 43 | #printing receiver's gmail ID |
44 | | -print("receiver's gmail Id is :",rec_email) |
| 44 | +print("Receiver's gmail Id is : ",rec_email) |
45 | 45 | #inputing message from the end user |
46 | 46 | message = input("Enter your message:") |
47 | 47 | #printing message to be sent |
48 | | -print('message to be sent is :',message) |
| 48 | +print('Message to be sent is :',message) |
49 | 49 | #using for loop for sending desired nos of mails |
50 | 50 | #using try to check whether info given is correct or not and if not the printing solution |
51 | | -print('login successfuly !!!') |
| 51 | +print('Login successfuly !!!') |
52 | 52 | print('encrytping traffic.....') |
53 | 53 | try: |
54 | 54 | for i in range(nos): |
|
68 | 68 | print('This script is powerful use wisely!!!') |
69 | 69 | except: |
70 | 70 | print(''' {{{script Ended}}} |
71 | | -1. the info you entered is incorrect |
| 71 | +1. The info you entered is incorrect |
72 | 72 | solution : re - run script and enter info carefully |
73 | | -2. if issue not resolved switch on this : |
| 73 | +2. If issue not resolved switch on this : |
74 | 74 | myaccount.google.com/lesssecureapps |
75 | 75 | disable 2FA if enabled''') |
76 | 76 |
|
|
0 commit comments