Making Defacement Tut For Beginners 11-21-2012, 11:53 PM
#1
Making a scrolling text defacement page:
1:Copy the code below into notepad
2.Replace These lines and input the message you want below
<title>Kris Pro Hacks</title> change krisprohacks to you title this will be your title
<embed src="http://www.youtube.com/watch?v=D3-vBBQKOYU&autoplay=1"
Replace the youtube link with your link
and also replace the messages between all these codes with your own messages
Then afterwards it should look like this
Now save the file as all file types and utf8 and save as yourname.html and then you have your deface page you can test your code on pastehtml.com to see if it works
======================================================
Making a basic defacepage beginner tut
1.Copy and paste the code below into notepad.
2.edit these lines the messages between each code with your text
3.Edit this line and replace with your youtube link
4.Edit this line and replace with you image link
then your all done click save as on your note pad choose all files and change coding
to utf 8 and save as index.html and your all done you now have your defaced page![Smile Smile](https://sinister.ly/images/smilies/set/smile.png)
=====================================================================
1:Copy the code below into notepad
Code:
<html>
<head>
<embed src="http://www.youtube.com/watch?v=D3-vBBQKOYU&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="1" height="1"></embed>
<title>Kris Pro Hacks</title>
<style type="text/css">
body {
background-color:#0;
background-attachment: fixed;
font-family:sans-serif;
}
#content {
margin:auto;
background:url() #000;
width:700px;
text-align:center;
color:green;
}
#footer {
height:100px;
width:500px;
}
</style>
</head>
<body onload=writetext() onLoad="setTimeout('delayer()', 2000)">
<div id="content">
<SCRIPT language=JavaScript>
msg = new Array();
msg[0] = "<h1>+*¨^¨*+ Hacked By Kris Pro Hacks AKA TheArmyKid +*¨^¨*+</h1>";
msg[1] = "<br/><br/>°º¤ø,¸¸,ø¤º°`°º¤ø,¸ HaHaHaHaHa °º¤ø,¸¸,ø¤º°`°º¤ø,¸<br/><br/>";
msg[2] = "<br/><br/>°º¤ø,¸¸,ø¤º°`°º¤ø,¸ Site-Down-! °º¤ø,¸¸,ø¤º°`°º¤ø,¸<br/><br/>";
msg[3] = "<br/><br/>»-(¯`v´¯)-» We All Love Hacking »-(¯`v´¯)-»<br/><br/>";
msg[4] = "<br/><br/>°l||l° If I was You Id Consider Upgrading Your Security Cause Ill Be Back :P °l||l°<br/><br/> ";
msg[5] = "<br/><br/>Hacked By Kris Pro Hacks AKA TheArmyKid<br/><br/>";
msg[6] = "<br/><br/>!!!!!!!!--Expect more from us--!!!!!!!!";
msg[7] = "<br/><br/>We Are Hackers And As You Know We Dont Obey The Law ";
msg[7] = "<br/><br/>Why Your There Watching This Please Like My FaceBook Page http://www.facebook.com/thehackerscrib<br/><br/>";
text1 = "";
text2 = "";
count = 0;
count2 = 0;
text = msg[0].split("");
function writetext() {
text1 = text2 + "<font color='#FFFFFF'>" + text[count] + "</font>";
text2 += text[count];
document.all["nothing"].innerHTML = text1;
if (count < text.length-1){
count++;
setTimeout('writetext()', 35);
}
else {
count = 0;
if (count2 != 15) {
count2++;
text2 += "";
text = eval('msg['+count2+'].split("")');
setTimeout('writetext()', 1);
}
}
}
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!-- Disable
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
document.oncontextmenu=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
//-->
</script>
<DIV id=nothing style="FONT-FAMILY: 'Courier'">
<P>©©©©©©©© Kris ProHacks/TheArmyKid ©©©©©©©©</P>
<div id="footer">
</div>
</body>
</head>
</html>
2.Replace These lines and input the message you want below
<title>Kris Pro Hacks</title> change krisprohacks to you title this will be your title
<embed src="http://www.youtube.com/watch?v=D3-vBBQKOYU&autoplay=1"
Replace the youtube link with your link
and also replace the messages between all these codes with your own messages
Code:
msg[0] = "<h1>+*¨^¨*+ Hacked By Kris Pro Hacks AKA TheArmyKid +*¨^¨*+</h1>";
msg[1] = "<br/><br/>°º¤ø,¸¸,ø¤º°`°º¤ø,¸ HaHaHaHaHa °º¤ø,¸¸,ø¤º°`°º¤ø,¸<br/><br/>";
msg[2] = "<br/><br/>°º¤ø,¸¸,ø¤º°`°º¤ø,¸ Site-Down-! °º¤ø,¸¸,ø¤º°`°º¤ø,¸<br/><br/>";
msg[3] = "<br/><br/>»-(¯`v´¯)-» We All Love Crack Hack Forum »-(¯`v´¯)-»<br/><br/>";
msg[4] = "<br/><br/>°l||l° If I was You Id Consider Upgrading Your Security Cause Ill Be Back :P °l||l°<br/><br/> ";
msg[5] = "<br/><br/>Hacked By Kris Pro Hacks AKA TheArmyKid<br/><br/>";
msg[6] = "<br/><br/>!!!!!!!!--Expect more from us--!!!!!!!!";
msg[7] = "<br/><br/>We Are Hackers And As You Know We Dont Obey The Law ";
msg[7] = "<br/><br/>Why Your There Watching This Please Like My FaceBook Page http://www.facebook.com/thehackerscrib<br/><br/>";
Then afterwards it should look like this
Code:
<html>
<head>
<embed src="http://www.youtube.com/watch?v=D3-vBBQKOYU&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="1" height="1"></embed>
<title>Kris Pro Hacks</title>
<style type="text/css">
body {
background-color:#0;
background-attachment: fixed;
font-family:sans-serif;
}
#content {
margin:auto;
background:url() #000;
width:700px;
text-align:center;
color:green;
}
#footer {
height:100px;
width:500px;
}
</style>
</head>
<body onload=writetext() onLoad="setTimeout('delayer()', 2000)">
<div id="content">
<SCRIPT language=JavaScript>
msg = new Array();
msg[0] = "<h1>+*¨^¨*+ Hacked By Kris Pro Hacks AKA TheArmyKid +*¨^¨*+</h1>";
msg[1] = "<br/><br/>°º¤ø,¸¸,ø¤º°`°º¤ø,¸ HaHaHaHaHa °º¤ø,¸¸,ø¤º°`°º¤ø,¸<br/><br/>";
msg[2] = "<br/><br/>°º¤ø,¸¸,ø¤º°`°º¤ø,¸ Site-Down-! °º¤ø,¸¸,ø¤º°`°º¤ø,¸<br/><br/>";
msg[3] = "<br/><br/>»-(¯`v´¯)-» We All Love Crack Hack Forum »-(¯`v´¯)-»<br/><br/>";
msg[4] = "<br/><br/>°l||l° If I was You Id Consider Upgrading Your Security Cause Ill Be Back :P °l||l°<br/><br/> ";
msg[5] = "<br/><br/>Hacked By Kris Pro Hacks AKA TheArmyKid<br/><br/>";
msg[6] = "<br/><br/>!!!!!!!!--Expect more from us--!!!!!!!!";
msg[7] = "<br/><br/>We Are Hackers And As You Know We Dont Obey The Law ";
msg[7] = "<br/><br/>Why Your There Watching This Please Like My FaceBook Page http://www.facebook.com/thehackerscrib<br/><br/>";
text1 = "";
text2 = "";
count = 0;
count2 = 0;
text = msg[0].split("");
function writetext() {
text1 = text2 + "<font color='#FFFFFF'>" + text[count] + "</font>";
text2 += text[count];
document.all["nothing"].innerHTML = text1;
if (count < text.length-1){
count++;
setTimeout('writetext()', 35);
}
else {
count = 0;
if (count2 != 15) {
count2++;
text2 += "";
text = eval('msg['+count2+'].split("")');
setTimeout('writetext()', 1);
}
}
}
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!-- Disable
function disableselect(e){
return false
}
function reEnable(){
return true
}
//if IE4+
document.onselectstart=new Function ("return false")
document.oncontextmenu=new Function ("return false")
//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}
//-->
</script>
<DIV id=nothing style="FONT-FAMILY: 'Courier'">
<P>©©©©©©©© Kris ProHacks/TheArmyKid ©©©©©©©©</P>
<div id="footer">
</div>
</body>
</head>
</html>
Now save the file as all file types and utf8 and save as yourname.html and then you have your deface page you can test your code on pastehtml.com to see if it works
======================================================
Making a basic defacepage beginner tut
1.Copy and paste the code below into notepad.
Code:
<html>
<head>
<!-- Deface page was created by HaCkEd By KriS PRoHaCkS-->
<title>YOUBEENOWNED</title>
</head><center>
<body onLoad="type_text()" ; bgColor=#FF0000">
<a href=><img src=http://techietake.com/wp-content/uploads/2012/09/How-to-Find-out-if-My-ComputerLaptop-has-Been-Hacked.jpg></a>
<center><B><Big><font color=#FFFFFF>UNFORTUNETLY YOUR WEBSITE HAS BEEN HACKED</font></h></B></center>
<center><B><Normal><font color=#FFFFFF>BY KRIS PROHACKS</font></h></B></center>
<center><B><Small><font color=#FFFFFF>HAHAHAHAHAHAHAHA</font></h></B></center>
<center><B><Small><font color=#FFFFFF>PLEASE UPDATE YOUR HORRIBLE SECURITY</font></h></B></center>
<style type="text/css">
<!--
body,td,th {
font-size: 36px;
color: #FF0000;
}
body {
background-color: #FF0000;
}
.variante1 {
color: #FF0000;
font-size: 36px;
font-weight: bold;
}
.variante2 {font-size: 24px}
a:link {
color: #FFFFFF;
}
.variante3 {font-size: 56px; color: #FFFFFF; }
-->
</style></head>
<embed src="http://www.youtube.com/v/EcSvVNgDxM0&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="1" height="1"></embed>
<script type="text/javascript" language="JavaScript">
<!--
var rows=11; // must be an odd number
var speed=50; // lower is faster
var reveal=2; // between 0 and 2 only. The higher, the faster the word appears
var effectalign="default" //enter "center" to center it.
var w3c=document.getElementById && !window.opera;;
var ie45=document.all && !window.opera;
var ma_tab, matemp, ma_bod, ma_row, x, y, columns, ma_txt, ma_cho;
var m_coch=new Array();
var m_copo=new Array();
window.onload=function() {
if (!w3c && !ie45) return
var matrix=(w3c)?document.getElementById("matrix"):document.all["matrix"];
ma_txt=(w3c)?matrix.firstChild.nodeValue:matrix.innerHTML;
ma_txt=" "+ma_txt+" ";
columns=ma_txt.length;
if (w3c) {
while (matrix.childNodes.length) matrix.removeChild(matrix.childNodes[0]);
ma_tab=document.createElement("table");
ma_tab.setAttribute("border", 0);
ma_tab.setAttribute("align", effectalign);
ma_tab.style.backgroundColor="#FF0000";
ma_bod=document.createElement("tbody");
for (x=0; x<rows; x++) {
ma_row=document.createElement("tr");
for (y=0; y<columns; y++) {
matemp=document.createElement("td");
matemp.setAttribute("id", "Mx"+x+"y"+y);
matemp.className="matrix";
matemp.appendChild(document.createTextNode(String.fromCharCode(160)));
ma_row.appendChild(matemp);
}
ma_bod.appendChild(ma_row);
}
ma_tab.appendChild(ma_bod);
matrix.appendChild(ma_tab);
} else {
ma_tab='<ta'+'ble align="'+effectalign+'" border="0" style="background-color:#FF0000">';
for (var x=0; x<rows; x++) {
ma_tab+='<t'+'r>';
for (var y=0; y<columns; y++) {
ma_tab+='<t'+'d class="matrix" id="Mx'+x+'y'+y+'"> </'+'td>';
}
ma_tab+='</'+'tr>';
}
ma_tab+='</'+'table>';
matrix.innerHTML=ma_tab;
}
ma_cho=ma_txt;
for (x=0; x<columns; x++) {
ma_cho+=String.fromCharCode(32+Math.floor(Math.random()*94));
m_copo[x]=0;
}
ma_bod=setInterval("mytricks()", speed);
}
function mytricks() {
x=0;
for (y=0; y<columns; y++) {
x=x+(m_copo[y]==100);
ma_row=m_copo[y]%100;
if (ma_row && m_copo[y]<100) {
if (ma_row<rows+1) {
if (w3c) {
matemp=document.getElementById("Mx"+(ma_row-1)+"y"+y);
matemp.firstChild.nodeValue=m_coch[y];
}
else {
matemp=document.all["Mx"+(ma_row-1)+"y"+y];
matemp.innerHTML=m_coch[y];
}
matemp.style.color="#33ff66";
matemp.style.fontWeight="bold";
}
if (ma_row>1 && ma_row<rows+2) {
matemp=(w3c)?document.getElementById("Mx"+(ma_row-2)+"y"+y):document.all["Mx"+(ma_row-2)+"y"+y];
matemp.style.fontWeight="normal";
matemp.style.color="#00ff00";
}
if (ma_row>2) {
matemp=(w3c)?document.getElementById("Mx"+(ma_row-3)+"y"+y):document.all["Mx"+(ma_row-3)+"y"+y];
matemp.style.color="#009900";
}
if (ma_row<Math.floor(rows/2)+1) m_copo[y]++;
else if (ma_row==Math.floor(rows/2)+1 && m_coch[y]==ma_txt.charAt(y)) zoomer(y);
else if (ma_row<rows+2) m_copo[y]++;
else if (m_copo[y]<100) m_copo[y]=0;
}
else if (Math.random()>0.9 && m_copo[y]<100) {
m_coch[y]=ma_cho.charAt(Math.floor(Math.random()*ma_cho.length));
m_copo[y]++;
}
}
if (x==columns) clearInterval(ma_bod);
}
function zoomer(ycol) {
var mtmp, mtem, ytmp;
if (m_copo[ycol]==Math.floor(rows/2)+1) {
for (ytmp=0; ytmp<rows; ytmp++) {
if (w3c) {
mtmp=document.getElementById("Mx"+ytmp+"y"+ycol);
mtmp.firstChild.nodeValue=m_coch[ycol];
}
else {
mtmp=document.all["Mx"+ytmp+"y"+ycol];
mtmp.innerHTML=m_coch[ycol];
}
mtmp.style.color="#33ff66";
mtmp.style.fontWeight="bold";
}
if (Math.random()<reveal) {
mtmp=ma_cho.indexOf(ma_txt.charAt(ycol));
ma_cho=ma_cho.substring(0, mtmp)+ma_cho.substring(mtmp+1, ma_cho.length);
}
if (Math.random()<reveal-1) ma_cho=ma_cho.substring(0, ma_cho.length-1);
m_copo[ycol]+=199;
setTimeout("zoomer("+ycol+")", speed);
}
else if (m_copo[ycol]>200) {
if (w3c) {
mtmp=document.getElementById("Mx"+(m_copo[ycol]-201)+"y"+ycol);
mtem=document.getElementById("Mx"+(200+rows-m_copo[ycol]--)+"y"+ycol);
}
else {
mtmp=document.all["Mx"+(m_copo[ycol]-201)+"y"+ycol];
mtem=document.all["Mx"+(200+rows-m_copo[ycol]--)+"y"+ycol];
}
mtmp.style.fontWeight="normal";
mtem.style.fontWeight="normal";
setTimeout("zoomer("+ycol+")", speed);
}
else if (m_copo[ycol]==200) m_copo[ycol]=100+Math.floor(rows/2);
if (m_copo[ycol]>100 && m_copo[ycol]<200) {
if (w3c) {
mtmp=document.getElementById("Mx"+(m_copo[ycol]-101)+"y"+ycol);
mtmp.firstChild.nodeValue=String.fromCharCode(160);
mtem=document.getElementById("Mx"+(100+rows-m_copo[ycol]--)+"y"+ycol);
mtem.firstChild.nodeValue=String.fromCharCode(160);
}
else {
mtmp=document.all["Mx"+(m_copo[ycol]-101)+"y"+ycol];
mtmp.innerHTML=String.fromCharCode(160);
mtem=document.all["Mx"+(100+rows-m_copo[ycol]--)+"y"+ycol];
mtem.innerHTML=String.fromCharCode(160);
}
setTimeout("zoomer("+ycol+")", speed);
}
}
</script>
<style type="text/css">
/* Circle Text Styles */
#outerCircleText {
/* Optional - DO NOT SET FONT-SIZE HERE, SET IT IN THE SCRIPT */
font-style: italic;
font-weight: bold;
font-family: 'comic sans ms', verdana, arial;
color: #FFF;
/* End Optional */
/* Start Required - Do Not Edit */
position: absolute;top: 0;left: 0;z-index: 3000;cursor: default;}
#outerCircleText div {position: relative;}
#outerCircleText div div {position: absolute;top: 0;left: 0;text-align: center;}
/* End Required */
/* End Circle Text Styles */
</style>
<script type="text/javascript">
;(function(){
var msg = "Hacked by HaCkEd By KriS PRoHaCkS";
var size = 24;
var circleY = 0.75; var circleX = 2;
var letter_spacing = 5;
var diameter = 10;
var rotation = 0.4;
var speed = 0.3;
////////////////////// Stop Editing //////////////////////
if (!window.addEventListener && !window.attachEvent || !document.createElement) return;
msg = msg.split('');
var n = msg.length - 1, a = Math.round(size * diameter * 0.208333), currStep = 20,
ymouse = a * circleY + 20, xmouse = a * circleX + 20, y = [], x = [], Y = [], X = [],
o = document.createElement('div'), oi = document.createElement('div'),
b = document.compatMode && document.compatMode != "BackCompat"? document.documentElement : document.body,
mouse = function(e){
e = e || window.event;
ymouse = !isNaN(e.pageY)? e.pageY : e.clientY; // y-position
xmouse = !isNaN(e.pageX)? e.pageX : e.clientX; // x-position
},
makecircle = function(){ // rotation/positioning
if(init.nopy){
o.style.top = (b || document.body).scrollTop + 'px';
o.style.left = (b || document.body).scrollLeft + 'px';
};
currStep -= rotation;
for (var d, i = n; i > -1; --i){ // makes the circle
d = document.getElementById('iemsg' + i).style;
d.top = Math.round(y[i] + a * Math.sin((currStep + i) / letter_spacing) * circleY - 15) + 'px';
d.left = Math.round(x[i] + a * Math.cos((currStep + i) / letter_spacing) * circleX) + 'px';
};
},
drag = function(){ // makes the resistance
y[0] = Y[0] += (ymouse - Y[0]) * speed;
x[0] = X[0] += (xmouse - 20 - X[0]) * speed;
for (var i = n; i > 0; --i){
y[i] = Y[i] += (y[i-1] - Y[i]) * speed;
x[i] = X[i] += (x[i-1] - X[i]) * speed;
};
makecircle();
},
init = function(){ // appends message divs, & sets initial values for positioning arrays
if(!isNaN(window.pageYOffset)){
ymouse += window.pageYOffset;
xmouse += window.pageXOffset;
} else init.nopy = true;
for (var d, i = n; i > -1; --i){
d = document.createElement('div'); d.id = 'iemsg' + i;
d.style.height = d.style.width = a + 'px';
d.appendChild(document.createTextNode(msg[i]));
oi.appendChild(d); y[i] = x[i] = Y[i] = X[i] = 0;
};
o.appendChild(oi); document.body.appendChild(o);
setInterval(drag, 25);
},
ascroll = function(){
ymouse += window.pageYOffset;
xmouse += window.pageXOffset;
window.removeEventListener('scroll', ascroll, false);
};
o.id = 'outerCircleText'; o.style.fontSize = size + 'px';
if (window.addEventListener){
window.addEventListener('load', init, false);
document.addEventListener('mouseover', mouse, false);
document.addEventListener('mousemove', mouse, false);
if (/Apple/.test(navigator.vendor))
window.addEventListener('scroll', ascroll, false);
}
else if (window.attachEvent){
window.attachEvent('onload', init);
document.attachEvent('onmousemove', mouse);
};
})();
</script>
<SCRIPT> alert("Hacked by HaCkEd By KriS PRoHaCkS")</SCRIPT>
</body>
</html>
2.edit these lines the messages between each code with your text
Code:
<title>YOUBEENOWNED</title>
</head><center>
<body onLoad="type_text()" ; bgColor=#FF0000">
<a href=><img src=http://techietake.com/wp-content/uploads/2012/09/How-to-Find-out-if-My-ComputerLaptop-has-Been-Hacked.jpg></a>
<center><B><Big><font color=#FFFFFF>UNFORTUNETLY YOUR WEBSITE HAS BEEN HACKED</font></h></B></center>
<center><B><Normal><font color=#FFFFFF>BY KRIS PROHACKS</font></h></B></center>
<center><B><Small><font color=#FFFFFF>HAHAHAHAHAHAHAHA</font></h></B></center>
<center><B><Small><font color=#FFFFFF>PLEASE UPDATE YOUR HORRIBLE SECURITY</font></h></
3.Edit this line and replace with your youtube link
Code:
<embed src="http://www.youtube.com/v/EcSvVNgDxM0&autoplay=1"
4.Edit this line and replace with you image link
Code:
<a href=><img src=http://techietake.com/wp-content/uploads/2012/09/How-to-Find-out-if-My-ComputerLaptop-has-Been-Hacked.jpg></a>
then your all done click save as on your note pad choose all files and change coding
to utf 8 and save as index.html and your all done you now have your defaced page
![Smile Smile](https://sinister.ly/images/smilies/set/smile.png)
=====================================================================
![[Image: gangstathugbling6.gif]](http://www.graphicsgrotto.com/animatedgifs/gangstathugbling/images/gangstathugbling6.gif)