Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[HOT][TUT] How to make a simple deface page [/TUT][/HOT]

How to make a simple Deface Page

Today I am going to show some of you guys how to make a simple deface page once gained admin access 🤝

Well guys this is my first tutorial so don't hate :p

So lets start.

▂ ▃ ▄ ▅ ▆ ▇ What is a Defacement █ ▇ ▆ ▅ ▄ ▃ ▂


What is a defacement?

A defacement is nothing else than the index of a website that you have changed to your like. If you deface a website, you simply upload your index.php (your defacement) to the site and than the site will be un-accessable for other people and they will just see your defacement.

What does a defacement contain?

A defacement mostly contains the credits of the hacker, a background picture and some fancy music 8). Sometimes it also redirects the site to a different site or it can even contain malware ect.

What do I have to know to make a deface page?

EVERY deface page is written in HTML, so you will need to know HTML. Some defacements also contain javascript or css for optimizing of the deface page.

If you want to learn HTML go here: HTML Tutorial
If you want to learn javascript go here: JavaScript Tutorial

▂ ▃ ▄ ▅ ▆ ▇ How to make a Defacement █ ▇ ▆ ▅ ▄ ▃ ▂


Well now since I know that not every one knows html 🤣 I am going to show you guys how to make a simple deface on your own.

1. Well now the really simplest defacement would be just a Text.

PHP Code

<?php 
<html>
    <
head>
  <
title>I likez de penis</title>
    </
head>
    <
body>
    </
body>
</
html> 

Now this is what it looks like:
[IMG]http://screensnapr.com/-/uploads/RCuSS9.png[/IMG]

This just simply changed the title of the tab.

PHP Code

<?php 
<title>I likez de penis</title> 
Change this to whatever you want to have as a message in the tab.

So this was the easiest way to make a bad defacement :p

2. A Defacement with text and background image.

PHP Code

<?php 
html
>
    <
head>
  <
title>YOUR TITLE</title>
    </
head>
<
center>
<
DIV align="center"><IMG src="http://i54.[censored].com/5nq1r9.jpg" width="" height=""><CENTER>
    <
body bgcolor="black"
    
</body>
<
center><font color=#00FFFF>Anonymous</font></center>
<center><font color=#00FFFF>xTrYiPiCz--</font></center>
</html> 

So it will look like: [img]http://screensnapr.com/-/uploads/df4qZy.png[/img]

You can change it to your liking, but I will go and explain you guys which party is what 🤫.

Spoiler (Click to View)

So right now we can make a defacement with text, picture and text in the tab.

Now we will make a defacement and add a picture, text and background music :)

PHP Code

<?php 
<html>
    <
head>
  <
title>I Likez penis</title>
    </
head>
<
embed src="http://www.youtube.com/v/IUGzY-ihqWc&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" 

width="1" height="1"></embed>
<
center>
<
DIV align="center"><IMG 

src
="http://files.myopera.com/hoacomay70/albums/2643831/933482_white_floral_design_on_blue_background.jpg" width="" 

height=""><CENTER>
    <
body bgcolor="black"
    
<body>
<
center><font color=#00FFFF>YOUR TEXT HERE</font></center>
</body>
</
html> 

So now it will look like:
Spoiler (Click to View)

Now I am going to explain you guys how to edit this defacement :dumb:

Spoiler (Click to View)

So now these were some simple defaces I showed you guys how to make. Remember, if you know learn html to make really good defacements, not simple defaces like the ones I showed you 🙃.

▂ ▃ ▄ ▅ ▆ ▇ How to secure site from script kiddies █ ▇ ▆ ▅ ▄ ▃ ▂


Do you know this situation if some you go to a defaced site and than you are like WTF that fuker stole my deface page/template.

Well lets stop that and lets make it harder for these script kiddies to steal your deface page and credits ✌

What we are going to do is to encrypt the whole html text of our deface page.

The program we will need for encrypting our html file is TrueBug PHP Obfuscator & Encoder. (Google for download link, trial version is also ok.)

Well what you have to do now is to save your deface page as index.php
Than open up TrueBug and go to "Files and Folders"
Source Folder - select folder containing your PHP scripts, click on the browse button beside the folder name box.
Target Folder - select folder where the obfuscated and encoded files will save to, click on the browse button beside the folder name box.
Select files to be obfuscated/encoded, click on check-box front of filename (index.php) in the file list-box

Now to go "Obfuscate & Encode" Set the output options as "Obfuscate & Encode" and check EVERYTHING and click "Process" then press "Close" button and also close program.

So now this is your encoded file that no one can steal 🤝

▂ ▃ ▄ ▅ ▆ ▇ Useful scripts for your deface page █ ▇ ▆ ▅ ▄ ▃ ▂


So here I will post useful codes for your deface pages. I will update this list every time I find new codes, so stay updated 🤗

Here is a list of HTML scripts/codes you might want to add to your deface page: http://www.netstrider.com/tutorials/HTML...index.html

Bouncy Text

PHP Code

<?php 
<marquee behavior=alternate width="190" scrollamount="7" scrolldelay="96" height="20" bgcolor="#E0FFFF"><font size="5">Your Text Here </font></marquee> 

Scrolling Text

PHP Code

<?php 
<marquee direction="right" bgcolor="#E0FFFF">Cool HTML Codes </marquee> 

Prevent your site source to be stolen/disable right clicking
PHP Code

<?php 
<script language=JavaScript>
[
b]<!--[/b]
var 
message="your message here";
function 
click(e) {
if (
document.all) {
if (
event.button==2||event.button==3) {
alert(message);
return 
false;
}
}
if (
document.layers) {
if (
e.which == 3) {
alert(message);
return 
false;
}
}
}
if (
document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
</script>

This Code Has to b in The <BODY> Section Of your page 

Fancy cursor colors
PHP Code

<?php 
code 
for 1st cursor-style="cursor:Pointer;cursor:hand"
code for 2nd cursor-style="cursor:crosshair"
code for 3rd cursor-style="cursor:text"
code for 4th cursor-style="cursor: wait"
code for 5th cursor-style="cursor:move"
code for 6th cursor-style="cursor:help"
code for 7th cursor-style="cursor:e-resize"

Post this code in the <body> Section,Example: <body style="cursor:crosshair"> 

Bomber Code
PHP Code

<?php 
<center><input type="button" value="Click And Your Gay" onclick="open4();"><center>

<
script language="JavaScript1.2">
function 
open4()
{
alert('Seriously?')
alert('No Like Seriously?')
alert('Im Serious Did You Like Click This Shit?')
alert('Oh Man I Feel Sorry For You...')
a= window.open("http://www.youtube.com/mspin_counter.swf","myName0",
"width=500,height=300,top='+screen.availTop+', left =0',status,toolbar=1,scrollbars,location");

}
</
script>

You Can Add this Code Anywhere 

WILL ADD MORE SOON GUYS JUST WAIT.

So this was my tutorial on how to make a deface page. I will add more to this as I have to go now sorry guys.

Part Credits to: D-ronaldo9


Peace out xxx 🤝
Still didn't read the whole tutorial , But it looks great =)
Nice work bro
thank u veryvery much bro!
This is a good tutorial for the beginners of defacing a website. I'm sure it'll go far!
(May 19, 2011 10:50 AM)Basics. Wrote:  This is a good tutorial for the beginners of defacing a website. I'm sure it'll go far!

Thanks to hear this from you :) It means alot

I just felt like I would have to make a post as I wasn't contributing to the forum at all 😧 so yh :P
Hey dude, do you know the code that looks like its writing itself?
Signature for sale!



huehuehuehue
Well now that's new a beginner making a tutorial for beginner's great tutorial for people that don't know what a deface page is.
Nice Tutorail, greate for beginners like me.
(May 19, 2011 10:57 AM)Hopeanuoli Wrote:  Hey dude, do you know the code that looks like its writing itself?

hmm I think it should be:
PHP Code

<?php 
<script language="Javascript">
[
b]<!--[/b]
var 
tl=new Array(
"xTrYiPiCz-- 1"
);
var 
tl=new Array(
"234536"
);
var 
speed=60;
var 
index=0; text_pos=0;
var 
str_length=tl[0].length;
var 
contents, row;

function 
type_text()
{
contents='';
row=Math.max(0,index-20);
while(
row<index)
contents += tl[row++] + '\r\n';
document.forms[0].elements[0].value = contents + tl[index].substring(0,text_pos) + "_";
if(
text_pos++==str_length)
{
text_pos=0;
index++;
if(
index!=tl.length)
{
str_length=tl[index].length;
setTimeout("type_text()",1500);
}
} else
setTimeout("type_text()",speed);
}
var 
tl=new Array(
"xTrYiPiCz--"
);
var 
speed=60;
var 
index=0; text_pos=0;
var 
str_length=tl[0].length;
var 
contents, row;

function 
type_text()
{
contents='';
row=Math.max(0,index-20);
while(
row<index)
contents += tl[row++] + '\r\n';
document.forms[0].elements[0].value = contents + tl[index].substring(0,text_pos) + "_";
if(
text_pos++==str_length)
{
text_pos=0;
index++;
if(
index!=tl.length)
{
str_length=tl[index].length;
setTimeout("type_text()",1500);
}
} else
setTimeout("type_text()",speed);
}
//-->
</script> 

Not sure though 🤮

(May 19, 2011 11:01 AM)Killerpop89 Wrote:  Well now that's new a beginner making a tutorial for beginner's great tutorial for people that don't know what a deface page is.

I explained what a deface page is at the top if you would have read the tutorial :)

And what is wrong with me making a tutorial with others? It means I want to help out the community, people that make tutorials don't have to be L33ts all the time (btw I donated already for L33T)

I think it should be alright with me making a tutorial for other people :)

Have a good day sir 🤝
WoW this is an OP tutorial. I really enjoyed reading.
Thanks!
I now know how to deface a page!
Nice tut. Good to look at to exersise my HTML skills. Havn't coded in yonks!
Thanks alot man I really needed this thread!
Always nice to help other HF members :)

I actually had to made a thread as I wasn't contributing to the forum at all :I
Good for beginners, thx for this tut :)

Best: view->source->copy code, change names,title and done :D


Possibly Related Threads...
Thread / Author Replies Views Last Post
by lilrashad11Feb 19, 2013 11:48 AM 9 526 Feb 19, 2013 11:48 AM
Last Post: gon4eva
by TurbulenceApr 17, 2012 10:12 AM 0 107 Apr 17, 2012 10:12 AM
Last Post: Turbulence
by einstijnApr 13, 2012 07:40 AM 5 254 Apr 13, 2012 07:40 AM
Last Post: Canada