Engadget

How To View Hidden Directories In A Website Using Robots.txt

 tháng 11 16, 2009     Hacking, Pro Hacks     No comments   

Many a times in hacking you need to know the web directories. But its hard to find it out as a server might contain uncountable no. of Directories in it.
But a major hole in this security is the Robots.txt
google-bot

What is Robots.txt


Robot.txt is the file in the [ wwwroot ]of a server to define the Bots the Functionality on the website.

There are many Bots on the internet like the most famous are Google Search Engine BOT aka Google Spider , Yahoo Search Engine Bot and many others.
What robots.txt do is that it gives orders to the Bot on how to spider on the website….

Now you may ask what’s the use of Robots.txt file.
Well it is used by webmasters to add functionality to the upcoming bots on there website and also to hide the directories in the website and where the Bot should not go and spider.


Analyzing Robots.txt For Hacking Stuff


Well its really simple, the first question you would ask is Where is robots.txt Located ?
The answer is its in the [ WWWROOT ].

Don't Understand till yet , its in the main Directory.
Lets take the example of Hacker The Dude Website ;)

 

http://www.hackerthedude.blogspot.com/robots.txt

 

Go Ahead and type it in the Address bar of your Browser then what do you see,


2009-11-16_215602

 

Do you see that , this is the Robots.txt for the Hacker the dude website Now lets first Analyze this Robots.txt

First Line :-

User-agent: Mediapartners-Google

This means that the above statements are given for the Google Search Engine Bot i.e. Google Spider.

Second Line :-

Disallow:

This mean that nothing is disallowed to the Google Bot, Remember these Orders are given to the Google bot only not other bots.

Third Line :-

User-agent: *

This means that now all the bots coming to the blog will follow these rules.note that previous rules were for only Google Bot.

Fourth Line :-

Disallow: /search

This means that all the bots will not spider the files under the directory /search in the following Blog.

Fifth Line :-

Sitemap: http://hackerthedude.blogspot.com/feeds/posts/default?orderby=updated

This is basically my blogs sitemap. Not very important.

Working Demo


Now lets test Robots.txt files of various well known websites.

1. Mine Favorite = Google !!

LINK

Now you would see some very useful links in it for example, in termas of the hacking its very useful to know more about our Victim.

Allow: /profiles
Disallow: /katrina?
Disallow: /tbproxy/

Hell, Google Knows Katrina Kaif :D

 

Conclusion

Now that you have seen the working demo and the uses and the read the whole article then you would be pretty sure on how we are going to find the vulnerability in a website without even first hacking it.

btw I Love Robos.txt

Happy Hacking @hackerthedude
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Gửi email bài đăng nàyBlogThis!Chia sẻ lên XChia sẻ lên Facebook
Bài đăng Mới hơn Bài đăng Cũ hơn Trang chủ

0 nhận xét:

Đăng nhận xét

Popular Posts

  • Proper use of English could get a virus past security
    “ Hackers evade most existing antivirus protection by hiding malicious code in texts, according to security researchers. ”
  • How to Rename Recycle Bin
    You can change the name of Recycle Bin Desktop Icon . 1-Click Start menu > Run > and type “regedit” (without quotes), to ru...
  • New BIOS Virus Which Can Make Your Anti-Virus Useless
    Hackers Have once again launched a Root kit Virus which loads directly into the BIOS memory of the computer and makes it prone . W...
  • Should You Use Hubitat to Automate Your Smarthome?
    The first step in building a smarthome is often choosing a hub, and there are many options. Hubitat is a unique cloud-independent hub. It...
  • 35+ Nokia Cheat Codes
    Nokia is a cell phone marketing company which is currently comes in world top rates mobile phones. Now its obvious that a company like No...
  • What’s the Difference Between Canon’s Regular and L-Series Lenses and Which Should You Buy
    Canon sells regular and L-series lenses (the "L" stands for luxury). While the lenses may have similar specs, you can usually exce...
  • Instructions to earn $ 10 / day to get Amazon Gift Card, Paypal
    You follow the steps below as well as for your Ref, please comment on how to make and receive money. The sponsor of this site is also Am...
  • Autodesk 3ds Max 2017 full + KeyGen - Professional 3D graphics
    Autodesk 3ds Max, formerly 3D Studio, then 3D Studio Max is a professional 3D graphics program for 3D animation, models, games and i...
  • INTRODUCTION AND GUIDANCE TO REGISTER VPS IN VULTR
    I. REGISTER VPS SERVER VULTR First we access the homepage of Vultr. Create a VPS account Here you need to enter email information to create ...
  • Download Adobe Photoshop PTS CS6 Full + Installation Guide
    As a designer, a photographer, or just a photo-editing enthusiast, no one is aware of adobe photoshop.  Adobe Photoshop CS6 was born long ag...

The Best Penlights for Pocket-Friendly Illumination

Your phone may have a built-in flashlight, but do you really feel comfortable propping your phone inside of your car's engine bay, or ag...

Được tạo bởi Blogger.

Copyright © Engadget | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates