Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

Text Message via Gmail+Python - Python Code Bank


Text Message via Gmail+Python
I found this function on another forum site and thought I would share it. Requires a Gmail account. Could be used for text bombing someones cell phone. I use it with an IRC bot I wrote.
                carriers = {"Alltel":"@message.alltel.com",
"ATT":"@txt.att.net",
"NEXTEL":"@messaging.nextel.com",
"SPRI":"@messaging.sprintpcs.com",
"TMOBILE":"@tmomail.net",
"VERIS":"@vtext.com",
"VERGIN":"@vmobl.com"}

#replace 5555555555 with a working number
def sendText(body, to = "5555555555@txt.att.net", username = "yourAccount@gmail.com", password = "Your password"):
    """Sends a text via Gmail"""
    mail_server = smtplib.SMTP("smtp.gmail.com", 587)
    mail_server.ehlo()
    mail_server.starttls()
    mail_server.ehlo()
    mail_server.login(username, password)
    mail_server.sendmail(username, to, body)
    mail_server.close()
            
Comments
techb's avatar
techb 13 years ago

ntelos = @pcs.ntelos.com