Monday, June 20, 2016

How to Deface 404 pages Using Shell 2016

How to Deface 404 pages Using Shell: Hello guys so today we will be talking about How to Deface 404 pages Using Shell, means if you have defaced index.html and if you open any directory which is not present in the site you will get your defaced page for example I have defaced www.site.com/index.html and if I open www.site.com/blahblah I will get my deface page!

NOTE: THIS IS ONLY FOR EDUCATION PURPOSES, AND FOR SAFETY PURPOSE. WE ARE NOT RESPONSIBLE ANY HARM DONE BY YOU.

What are 404 Error Pages?


ok for those who don't know about 404 pages, let me tell you.. If you get 404 Error pages then it  means that the file like you are looking for does not exists on the website! for example, I look for
www.site.com/blahblah now the file name or directory blahblah is not there on the website so it will show 404 error.

Common Names for 404 Error pages:
  • 404 error page not found
  • 404 error file not found
  • 404 invalid directory etc...
  • Not Found

How to Deface 404 pages Using Shell


Advantages of 404 pages in website hacking:

If someone try to find or access your shell by guessing like (c99.php, r57.php etc), if not found then it will show your custom 404 error page on Not found Link. In most of the cases we usually upload our deface page as index.html or anyname.html on hacked websites.and we can see our deface page on That custom link only where we uploaded our deface page 
For example : site.com/index.html, site.com/r00t.html site.com/r00t.php

by adding deface page's code in 404 page you can see your deface page on every link 
like site.com/xyz.php site.com/x.html site.com/xyz/, 

How to Deface 404 pages Using Shell

All you have to do is just copy and paste the code given below in a notepad(or you can use your deface page's code)  and save as 404.shtml and upload to public_html/ directory using shell..
now check any error link !! :) simple

Code for 404 Pages :
<style type="text/css">body { background-color: #000;}</style>
<img src="http://4.bp.blogspot.com/-4ucOQZAglWc/UyVEBO9tT5I/AAAAAAAAAt0/HkEbQ8zAnFQ/s1600/935389_169429133221158_1802310639_n.jpg" width="1198" height="765" />
(replace image link with your own image in this code)

0 on: "How to Deface 404 pages Using Shell 2016"