Friday, 31 May 2013

How To Deface Any website with Cross Site Scripting ? Complete XSS Tutorial Free

Deface Any website with Cross Site Scripting


Hi Guys.Today i tell you about How to Deface any website with cross site scripting.It's very simple and easy Trick.First I tell you about Deface.Defacing is one of the most common thing when the hacker found the vulnerability in website. Defacing is changing the content the website hacker content. Most of time, attacker use this technique to inform about the vulnerability to Admin. But it's bad idea..! I'm just explaining it for educational purpose only.
1. Script for chaning the background Color of a website.

if you want to chenge backgroud color of website that you hacked Follow This Step

<script>document.body.bgColor="red";</script>

2. Script for chaning the background image of a website.

If you want change website background image that you hacked follow this step

<script>document.body.background="http://your_image.jpg";</script>

Defacement Page with Pastehtml.

First of all upload some defacement page(html) to pastehtml.com and get the link.

When you find a XSS vulnerable site, then insert the script as :
<script>window.location="http://www.pastehtml.com/Your_Defacement_link";</script>

This script will redirect the page to your pastehtml defacement page.

Note: You can deface only persistent XSS vulnerable sites.


For More Website Hacking Tricks

0 comments: