caesarevan

Untitled

Nov 19th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.86 KB | None | 0 0
  1.  
  2.  
  3.  
  4. <html>
  5. <link rel="icon" type="image/gif" href="https://image.ibb.co/jgdaU9/FB_IMG_15376310821308019_1.jpg">
  6. <head>
  7. <title>Hacked By Cl4yZero</title>
  8. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  9. <style type="text/css">*{margin:0;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-lsizing:border-box}body,html{margin:0;padding:0;font:16px/1.4 Lato,sans-serif;color:#fefeff;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;font-family:Comic Sans MS}body{background:#080510;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}h1{font:2.75em Cinzel,serif;font-weight:400;letter-spacing:.35em;text-shadow:0 0 25px rgba(254,254,255,.85)}h2{font:1.45em Cinzel,serif;font-weight:400;letter-spacing:.5em;text-shadow:0 0 25px rgba(254,254,255,.85);text-transform:lowercase}[class^=letter]{-webkit-transition:opacity 3s ease;-moz-transition:opacity 3s ease;transition:opacity 3s ease}.letter-0{transition-delay:.2s}.letter-1{transition-delay:.4s}.letter-2{transition-delay:.6s}.letter-3{transition-delay:.8s}.letter-4{transition-delay:1s}.letter-5{transition-delay:1.2s}.letter-6{transition-delay:1.4s}.letter-7{transition-delay:1.6s}.letter-8{transition-delay:1.8s}.letter-9{transition-delay:2s}.letter-10{transition-delay:2.2s}.letter-11{transition-delay:2.4s}.letter-12{transition-delay:2.6s}.letter-13{transition-delay:2.8s}.letter-14{transition-delay:3s}h1,h2{visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}h1.transition-in,h2.transition-in{visibility:visible}h1 [class^=letter],h2 [class^=letter]{opacity:0}h1.transition-in [class^=letter],h2.transition-in [class^=letter]{opacity:1}#container{display:table;position:absolute;z-index:20;width:100%;height:100%;text-align:center;cursor:none}#container>div{display:table-cell;vertical-align:middle}#container p{position:absolute;width:100%;left:0;bottom:25px;font-size:.8em;letter-spacing:.1em;font-weight:300;color:#76747a;-webkit-font-smoothing:subpixel-antialiased;font-smoothing:subpixel-antialiased}#container p strong{color:#b3abc5}#container p span{font-size:.75em;padding:0 2px}#canvas{position:absolute;z-index:10;top:0;left:0;width:100%;height:100%;cursor:none}#stats{position:absolute;z-index:10;left:10px;top:10px}.dg.ac{z-index:100!important}.STYLE4{color:#FFF}
  10. </style>
  11. </head>
  12. <body>
  13. <body ondragstart="window.event.returnValue=false" oncontextmenu="window.event.returnValue=false" onselectstart="event.returnValue=false">
  14. <div id="container">
  15. <div><br><br><br><br><br><br><br><br>
  16. <h1 id="h2">HackeD By Cl4yZero</h2>
  17. </br>
  18. <h2 id="h1">Error People Squad</h1>
  19. <br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  20. <h3></h3>
  21. <h3 id="h3">&nbsp; </h3>
  22. </div>
  23. </div>
  24. <canvas id="canvas"></canvas>
  25. <script>
  26. var Stats=function(){var e=Date.now(),t=e,i=0,n=1/0,r=0,s=0,o=1/0,a=0,l=0,h=0,c=document.createElement("div");c.id="stats",c.addEventListener("mousedown",function(e){e.preventDefault(),v(++h%2)},!1),c.style.cssText="width:80px;opacity:0.9;cursor:pointer";var u=document.createElement("div");u.id="fps",u.style.cssText="padding:0 0 3px 3px;text-align:left;background-color:#002",c.appendChild(u);var d=document.createElement("div");d.id="fpsText",d.style.cssText="color:#0ff;font-family:Comic Sans MS;font-size:9px;font-weight:bold;line-height:15px",d.innerHTML="FPS",u.appendChild(d);var p=document.createElement("div");for(p.id="fpsGraph",p.style.cssText="position:relative;width:74px;height:30px;background-color:#0ff",u.appendChild(p);74>p.children.length;){var f=document.createElement("span");f.style.cssText="width:1px;height:30px;float:left;background-color:#113",p.appendChild(f)}var m=document.createElement("div");m.id="ms",m.style.cssText="padding:0 0 3px 3px;text-align:left;background-color:#020;display:none",c.appendChild(m);var g=document.createElement("div");g.id="msText",g.style.cssText="color:#0f0;font-family:Comic Sans MS;font-size:9px;font-weight:bold;line-height:15px",g.innerHTML="MS",m.appendChild(g);var y=document.createElement("div");for(y.id="msGraph",y.style.cssText="position:relative;width:74px;height:30px;background-color:#0f0",m.appendChild(y);74>y.children.length;){var f=document.createElement("span");f.style.cssText="width:1px;height:30px;float:left;background-color:#131",y.appendChild(f)}var v=function(e){switch(h=e){case 0:u.style.display="block",m.style.display="none";break;case 1:u.style.display="none",m.style.display="block"}},b=function(e,t){var i=e.appendChild(e.firstChild);i.style.height=t+"px"};return{REVISION:11,domElement:c,setMode:v,begin:function(){e=Date.now()},end:function(){var h=Date.now();return i=h-e,n=Math.min(n,i),r=Math.max(r,i),g.textContent=i+" MS ("+n+"-"+r+")",b(y,Math.min(30,30-30*(i/200))),l++,h>t+1e3&&(s=Math.round(1e3*l/(h-t)),o=Math.min(o,s),a=Math.max(a,s),d.textContent=s+" FPS ("+o+"-"+a+")",b(p,Math.min(30,30-30*(s/100))),t=h,l=0),h},update:function(){e=this.end()}}};
  27. </script>
  28. <script>
  29. ;(function(window) {
  30. var ctx,
  31. hue,
  32. logo,
  33. form,
  34. buffer,
  35. target = {},
  36. tendrils = [],
  37. settings = {};
  38. settings.debug = true;
  39. settings.friction = 0.5;
  40. settings.trails = 20;
  41. settings.size = 50;
  42. settings.dampening = 0.25;
  43. settings.tension = 0.98;
  44. Math.TWO_PI = Math.PI * 2;
  45. // ========================================================================================
  46. // Oscillator
  47. // ----------------------------------------------------------------------------------------
  48. function Oscillator(options) {
  49. this.init(options || {});
  50. }
  51. Oscillator.prototype = (function() {
  52. var value = 0;
  53. return {
  54. init: function(options) {
  55. this.phase = options.phase || 0;
  56. this.offset = options.offset || 0;
  57. this.frequency = options.frequency || 0.001;
  58. this.amplitude = options.amplitude || 1;
  59. },
  60. update: function() {
  61. this.phase += this.frequency;
  62. value = this.offset + Math.sin(this.phase) * this.amplitude;
  63. return value;
  64. },
  65. value: function() {
  66. return value;
  67. }
  68. };
  69. })();
  70. // ========================================================================================
  71. // Tendril
  72. // ----------------------------------------------------------------------------------------
  73. function Tendril(options) {
  74. this.init(options || {});
  75. }
  76. Tendril.prototype = (function() {
  77. function Node() {
  78. this.x = 0;
  79. this.y = 0;
  80. this.vy = 0;
  81. this.vx = 0;
  82. }
  83. return {
  84. init: function(options) {
  85. this.spring = options.spring + (Math.random() * 0.1) - 0.05;
  86. this.friction = settings.friction + (Math.random() * 0.01) - 0.005;
  87. this.nodes = [];
  88. for(var i = 0, node; i < settings.size; i++) {
  89. node = new Node();
  90. node.x = target.x;
  91. node.y = target.y;
  92. this.nodes.push(node);
  93. }
  94. },
  95. update: function() {
  96. var spring = this.spring,
  97. node = this.nodes[0];
  98. node.vx += (target.x - node.x) * spring;
  99. node.vy += (target.y - node.y) * spring;
  100. for(var prev, i = 0, n = this.nodes.length; i < n; i++) {
  101. node = this.nodes[i];
  102. if(i > 0) {
  103. prev = this.nodes[i - 1];
  104. node.vx += (prev.x - node.x) * spring;
  105. node.vy += (prev.y - node.y) * spring;
  106. node.vx += prev.vx * settings.dampening;
  107. node.vy += prev.vy * settings.dampening;
  108. }
  109. node.vx *= this.friction;
  110. node.vy *= this.friction;
  111. node.x += node.vx;
  112. node.y += node.vy;
  113. spring *= settings.tension;
  114. }
  115. },
  116. draw: function() {
  117. var x = this.nodes[0].x,
  118. y = this.nodes[0].y,
  119. a, b;
  120. ctx.beginPath();
  121. ctx.moveTo(x, y);
  122. for(var i = 1, n = this.nodes.length - 2; i < n; i++) {
  123. a = this.nodes[i];
  124. b = this.nodes[i + 1];
  125. x = (a.x + b.x) * 0.5;
  126. y = (a.y + b.y) * 0.5;
  127. ctx.quadraticCurveTo(a.x, a.y, x, y);
  128. }
  129. a = this.nodes[i];
  130. b = this.nodes[i + 1];
  131. ctx.quadraticCurveTo(a.x, a.y, b.x, b.y);
  132. ctx.stroke();
  133. ctx.closePath();
  134. }
  135. };
  136. })();
  137. // ----------------------------------------------------------------------------------------
  138. function init(event) {
  139. document.removeEventListener('mousemove', init);
  140. document.removeEventListener('touchstart', init);
  141. document.addEventListener('mousemove', mousemove);
  142. document.addEventListener('touchmove', mousemove);
  143. document.addEventListener('touchstart', touchstart);
  144. mousemove(event);
  145. reset();
  146. loop();
  147. }
  148. function reset() {
  149. tendrils = [];
  150. for(var i = 0; i < settings.trails; i++) {
  151. tendrils.push(new Tendril({
  152. spring: 0.45 + 0.025 * (i / settings.trails)
  153. }));
  154. }
  155. }
  156. function loop() {
  157. if(!ctx.running) return;
  158. ctx.globalCompositeOperation = 'source-over';
  159. ctx.fillStyle = 'rgba(8,5,16,0.4)';
  160. ctx.fillRect(0, 0, ctx.canvas.width, ctx.canvas.height);
  161. ctx.globalCompositeOperation = 'lighter';
  162. ctx.strokeStyle = 'hsla(' + Math.round(hue.update()) + ',90%,50%,0.25)';
  163. ctx.lineWidth = 1;
  164. if(ctx.frame % 60 == 0) {
  165. console.log(hue.update(), Math.round(hue.update()), hue.phase, hue.offset, hue.frequency, hue.amplitude);
  166. }
  167. for(var i = 0, tendril; i < settings.trails; i++) {
  168. tendril = tendrils[i];
  169. tendril.update();
  170. tendril.draw();
  171. }
  172. ctx.frame++;
  173. ctx.stats.update();
  174. requestAnimFrame(loop);
  175. }
  176. function resize() {
  177. ctx.canvas.width = window.innerWidth;
  178. ctx.canvas.height = window.innerHeight;
  179. }
  180. function start() {
  181. if(!ctx.running) {
  182. ctx.running = true;
  183. loop();
  184. }
  185. }
  186. function stop() {
  187. ctx.running = false;
  188. }
  189. function mousemove(event) {
  190. if(event.touches) {
  191. target.x = event.touches[0].pageX;
  192. target.y = event.touches[0].pageY;
  193. } else {
  194. target.x = event.clientX
  195. target.y = event.clientY;
  196. }
  197. event.preventDefault();
  198. }
  199. function touchstart(event) {
  200. if(event.touches.length == 1) {
  201. target.x = event.touches[0].pageX;
  202. target.y = event.touches[0].pageY;
  203. }
  204. }
  205. function keyup(event) {
  206. switch(event.keyCode) {
  207. case 32:
  208. save();
  209. break;
  210. default:
  211. // console.log(event.keyCode);
  212. }
  213. }
  214. function letters(id) {
  215. var el = document.getElementById(id),
  216. letters = el.innerHTML.replace('&amp;', '&').split(''),
  217. heading = '';
  218. for(var i = 0, n = letters.length, letter; i < n; i++) {
  219. letter = letters[i].replace('&', '&amp');
  220. heading += letter.trim() ? '<span class="letter-' + i + '">' + letter + '</span>' : '&nbsp;';
  221. }
  222. el.innerHTML = heading;
  223. setTimeout(function() {
  224. el.className = 'transition-in';
  225. }, (Math.random() * 500) + 500);
  226. }
  227. function save() {
  228. if(!buffer) {
  229. buffer = document.createElement('canvas');
  230. buffer.width = screen.availWidth;
  231. buffer.height = screen.availHeight;
  232. buffer.ctx = buffer.getContext('2d');
  233. form = document.createElement('form');
  234. form.method = 'post';
  235. form.input = document.createElement('input');
  236. form.input.type = 'hidden';
  237. form.input.name = 'data';
  238. form.appendChild(form.input);
  239. document.body.appendChild(form);
  240. }
  241. buffer.ctx.fillStyle = 'rgba(8,5,16)';
  242. buffer.ctx.fillRect(0, 0, buffer.width, buffer.height);
  243. buffer.ctx.drawImage(canvas,
  244. Math.round(buffer.width / 2 - canvas.width / 2),
  245. Math.round(buffer.height / 2 - canvas.height / 2)
  246. );
  247. buffer.ctx.drawImage(logo,
  248. Math.round(buffer.width / 2 - logo.width / 4),
  249. Math.round(buffer.height / 2 - logo.height / 4),
  250. logo.width / 2,
  251. logo.height / 2
  252. );
  253. window.open(buffer.toDataURL(), 'wallpaper', 'top=0,left=0,width=' + buffer.width + ',height=' + buffer.height);
  254. // form.input.value = buffer.toDataURL().substr(22);
  255. // form.submit();
  256. }
  257. window.requestAnimFrame = (function() {
  258. return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(fn) { window.setTimeout(fn, 1000 / 60) };
  259. })();
  260. window.onload = function() {
  261. ctx = document.getElementById('canvas').getContext('2d');
  262. ctx.stats = new Stats();
  263. ctx.running = true;
  264. ctx.frame = 1;
  265. logo = new Image();
  266. logo.src = 'http://labs.nikrowell.com/lightsandmotion/ultraviolet/images/logo.png';
  267. hue = new Oscillator({
  268. phase: Math.random() * Math.TWO_PI,
  269. amplitude: 85,
  270. frequency: 0.0015,
  271. offset: 285
  272. });
  273. letters('h1');
  274. letters('h2');
  275. document.addEventListener('mousemove', init);
  276. document.addEventListener('touchstart', init);
  277. document.body.addEventListener('orientationchange', resize);
  278. window.addEventListener('resize', resize);
  279. window.addEventListener('keyup', keyup);
  280. window.addEventListener('focus', start);
  281. window.addEventListener('blur', stop);
  282. resize();
  283. if(window.DEBUG) {
  284. var gui = new dat.GUI();
  285. // gui.add(settings, 'debug');
  286. settings.gui.add(settings, 'trails', 1, 30).onChange(reset);
  287. settings.gui.add(settings, 'size', 25, 75).onFinishChange(reset);
  288. settings.gui.add(settings, 'friction', 0.45, 0.55).onFinishChange(reset);
  289. settings.gui.add(settings, 'dampening', 0.01, 0.4).onFinishChange(reset);
  290. settings.gui.add(settings, 'tension', 0.95, 0.999).onFinishChange(reset);
  291. document.body.appendChild(ctx.stats.domElement);
  292. }
  293. };
  294. })(window);
  295. </script>
  296. <script type="text/javascript">
  297. //form tags to omit in NS6+:
  298. var omitformtags=["input", "textarea", "select"]
  299. omitformtags=omitformtags.join("|")
  300. function disableselect(e){
  301. if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
  302. return false
  303. }
  304. function reEnable(){
  305. return true
  306. }
  307. if (typeof document.onselectstart!="undefined")
  308. document.onselectstart=new Function ("return false")
  309. else{
  310. document.onmousedown=disableselect
  311. document.onmouseup=reEnable
  312. }
  313. </body>
  314. </html>
Add Comment
Please, Sign In to add comment