11-05-2013, 19:22
|
|
Juicy
Don Juicy D
|
Indlæg: 1.034
Registreret: Feb 2013
Omdømme:
25
|
|
HTML Deface - Source + Review
Preview: http://pastehtml.com/view/d1zb030dr.html
Code:
Kode: <!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<title>Hacked by Ha</title>
<meta name="description" content="HTML5/canvas demo, 500 particles to play around with." />
<meta name="keywords" content="html5,canvas,javascript,particles,interactive,velocity,programming,flash" />
<script type="text/javascript">
(function(){function C(){e.globalCompositeOperation="source-over";e.fillStyle="rgba(8,8,12,0.65)";e.fillRect(0,0,f,p);e.globalCompositeOperation="lighter";x=q-u;y=r-v;u=q;v=r;for(var d=0.86*f,l=0.125*f,m=0.5*f,t=Math.random,n=Math.abs,o=z;o--;){var h=A[o],i=h.x,j=h.y,a=h.a,b=h.b,c=i-q,k=j-r,g=Math.sqrt(c*c+k*k)||0.001,c=c/g,k=k/g;if(w&&g<m)var s=14*(1-g/m),a=a+(c*s+0.5-t()),b=b+(k*s+0.5-t());g<d&&(s=0.0014*(1-g/d)*f,a-=c*s,b-=k*s);g<l&&(c=2.6E-4*(1-g/l)*f,a+=x*c,b+=y*c);a*=B;b*=B;c=n(a);k=n(b);g=
0.5*(c+k);0.1>c&&(a*=3*t());0.1>k&&(b*=3*t());c=0.45*g;c=Math.max(Math.min(c,3.5),0.4);i+=a;j+=b;i>f?(i=f,a*=-1):0>i&&(i=0,a*=-1);j>p?(j=p,b*=-1):0>j&&(j=0,b*=-1);h.a=a;h.b=b;h.x=i;h.y=j;e.fillStyle=h.color;e.beginPath();e.arc(i,j,c,0,D,!0);e.closePath();e.fill()}}function E(d){d=d?d:window.event;q=d.clientX-m.offsetLeft-n.offsetLeft;r=d.clientY-m.offsetTop-n.offsetTop}function F(){w=!0;return!1}function G(){return w=!1}function H(){this.color="rgb("+Math.floor(255*Math.random())+","+Math.floor(255*
Math.random())+","+Math.floor(255*Math.random())+")";this.b=this.a=this.x=this.y=0;this.size=1}var D=2*Math.PI,f=1E3,p=560,z=600,B=0.96,A=[],o,e,n,m,q,r,x,y,u,v,w;window.onload=function(){o=document.getElementById("mainCanvas");if(o.getContext){m=document.getElementById("outer");n=document.getElementById("canvasContainer");e=o.getContext("2d");for(var d=z;d--;){var l=new H;l.x=0.5*f;l.y=0.5*p;l.a=34*Math.cos(d)*Math.random();l.b=34*Math.sin(d)*Math.random();A[d]=l}q=u=0.5*f;r=v=0.5*p;document.onmousedown=
F;document.onmouseup=G;document.onmousemove=E;setInterval(C,33);document.getElementById("output").innerHTML='<font color="lime">©Muzikal St0rm. muzikalst0rm@gmail.com <br/>My Style>> No Dumping Database, No Deletion of files.<br/>My Alert for you>> Your Security is not so good enough! You need more buddy!!<br/>With love and respect to all the Hackers around the world</font>'}else document.getElementById("output").innerHTML="Sorry, needs a recent version of Chrome, Firefox, Opera, Safari, or Internet Explorer 9."}})();
</script>
<link rel="stylesheet" type="text/css" href="http://spielzeugz.de/html5/experiment-pages.css" />
</head>
<body>
<div align="center"><font color="red"><h1>Hacked by Muzikal_St0rm</h1></font></div>
<div id="outer">
<div align="left"><font color="red"><h1>©Muzikal St0rm</h1></font></div>
<div id="canvasContainer">
<canvas id="mainCanvas" width="1000" height="500"></canvas>
<div id="output"></div>
</div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-11054609-1");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
</html>
Credits:
Aner ikke hvor jeg har den fra, fandt den bare i en txt på min bærbare. Men der står navne osv i selve sourcen, så creds til de gutter der!
|
|
29-10-2013, 20:39
|
|
0x0001
Medlem
|
Indlæg: 24
Registreret: Oct 2013
Omdømme:
0
|
|
RE: HTML Deface - Source + Review
Kilden til dette er her: http://spielzeugz.de/html5/liquid-particles.html
Det en ret dårlig måde at vise sine evner på, at tage kode fra nogle andre endda uden at modificere den.
Hvis man ville lave noget som dette super let kunne man bare benytte three.js som gør ting som dette ret så let.
Er simpelt at lave hvis man har bare lidt forståelse for JavaScript.
|
|
30-10-2013, 10:39
|
|
0x0001
Medlem
|
Indlæg: 24
Registreret: Oct 2013
Omdømme:
0
|
|
RE: HTML Deface - Source + Review
(29-10-2013, 21:49)danbirk Skrev: Læs lige hele tråden engang til mester... har givet creds osv ;)
Var ikke kritik til dig, mere til hackeren som snuppede det i første omgang. :)
|
|
|