Advertisement
HackerRIZLA

[HTML]How to make a Deface Page.

Sep 21st, 2012
987
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. Hello today i'm making a short tutorial on how to make a very simple deface page.
  2.  
  3. We will do this in notepad. So open notepad.
  4.  
  5. First of we start off with our title.
  6.  
  7. Code:
  8. <html>
  9. <title> Hacked by V </title>
  10.  
  11. Then we should add something like a picture.
  12.  
  13. Code:
  14. <center>
  15. <img src="http://www.sociallyencrypted.net/images/g/se_logo_SH_w1_big_origclr_blue_texture.png"/>
  16.  
  17. Then we add our moving text.
  18.  
  19. Code:
  20. <body onLoad="type_text()" ; bgColor=black text=#00FFFF>
  21. <div style="width: 600px;height: 100px;" align="center">
  22. <script language="Javascript">
  23.  
  24. To make our writing show it is important you do it in this format.
  25.  
  26. Code:
  27. "Hello there, you can call me V",
  28. "This is my deface page tutorial",
  29. "I hope this tutorial is useful"
  30.  
  31. After every line we write you have to add the , for every new line. It is important you don't do it for your last line of text though.
  32.  
  33. After we have written all our text we use this piece of code.
  34.  
  35. );
  36. );
  37. var speed=100;
  38. var index=0; text_pos=0;
  39. var str_length=tl[0].length;
  40. var contents, row;
  41.  
  42. function type_text()
  43. {
  44. contents='';
  45. row=Math.max(0,index-40);
  46. while(row<index)
  47. contents += tl[row++] + '\r\n';
  48. document.forms[0].elements[0].value = contents + tl[index].substring(0,text_pos) + "_";
  49. if(text_pos++==str_length)
  50. {
  51. text_pos=0;
  52. index++;
  53. if(index!=tl.length)
  54. {
  55. str_length=tl[index].length;
  56. setTimeout("type_text()",300);
  57. }
  58. } else
  59. setTimeout("type_text()",speed);
  60. }
  61.  
  62.  
  63. Now we add our music to make it a little more interesting.
  64.  
  65. Code:
  66. <p align="center">
  67. <form><textarea style="width:400px; height:400px; border:0px solid gray; resize:none; background-color:black;color:red; outline:0; padding:50px; border-radius:30px; -webkit-box-shadow:0px 0px 20px 1px gray;" name="about" readonly="readonly"
  68. wrap="soft"></textarea></form></p>
  69. </div>
  70. <br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  71. <center><font color=#00FFFF></font></center>
  72. <center><font color=#00FFFF></font></center>
  73. <embed src="http://www.youtube.com/v/8pybAiBOupw&feature=plcp&context=C327ab00UDOEgsToPDskLGfjUZBwtQyDiT-NOUqQ8i&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="1" height="1"></embed>
  74. </center>
  75.  
  76. Now for our finished piece we have.
  77.  
  78. <html>
  79. <head>
  80. <title>Hacked by V</title>
  81. <center>
  82. <img src="http://www.sociallyencrypted.net/images/g/se_logo_SH_w1_big_origclr_blue_texture.png"/>
  83. <body onLoad="type_text()" ; bgColor=black text=#00FFFF>
  84. <div style="width: 600px;height: 100px;" align="center">
  85. <script language="Javascript">
  86. var tl=new Array(
  87. "Hello there, you can call me V",
  88. "This is my deface page tutorial",
  89. "I hope this tutorial is useful"
  90. );
  91. var speed=100;
  92. var index=0; text_pos=0;
  93. var str_length=tl[0].length;
  94. var contents, row;
  95.  
  96. function type_text()
  97. {
  98. contents='';
  99. row=Math.max(0,index-40);
  100. while(row<index)
  101. contents += tl[row++] + '\r\n';
  102. document.forms[0].elements[0].value = contents + tl[index].substring(0,text_pos) + "_";
  103. if(text_pos++==str_length)
  104. {
  105. text_pos=0;
  106. index++;
  107. if(index!=tl.length)
  108. {
  109. str_length=tl[index].length;
  110. setTimeout("type_text()",300);
  111. }
  112. } else
  113. setTimeout("type_text()",speed);
  114. }
  115. </script>
  116. <p align="center">
  117. <form><textarea style="width:400px; height:400px; border:0px solid gray; resize:none; background-color:black;color:red; outline:0; padding:50px; border-radius:30px; -webkit-box-shadow:0px 0px 20px 1px gray;" name="about" readonly="readonly"
  118. wrap="soft"></textarea></form></p>
  119. </div>
  120. <br><br><br><br><br><br><br><br><br><br><br><br><br><br>
  121. <center><font color=#00FFFF></font></center>
  122. <center><font color=#00FFFF></font></center>
  123. <embed src="http://www.youtube.com/v/8pybAiBOupw&feature=plcp&context=C327ab00UDOEgsToPDskLGfjUZBwtQyDiT-NOUqQ8i&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="1" height="1"></embed>
  124. </center>
  125. </body>
  126. </html>
  127.  
  128.  
  129.  
  130. Save it as .html and voila you have finished
  131.  
  132. Our finished piece. http://pastehtml.com/view/boom4o7vj.html
  133.  
  134. Thank you for reading my tutorial and good luck on making your deface page.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement