Thursday, March 29, 2012

Advanced Google search operators

There is probably a reason that Google do not publish these commands as they, while being very useful for the webmaster to secure their  sites, can also be used by hackers to find information that is purposely hidden from "normal" searches.

A screen-shot from the www.googleguide.com website
An example of things that are normally hidden from a "normal" search are the location of data directories. The use of the inurl: operator with an argument of "index of" will reveal directories on the webserver that not been protected by turning off indexes.

This indexing behaviour can be turned off by a server directive:

       <Directory /var/www/sitewatch>
          Options FollowSymLinks MultiViews
          AllowOverride All
          # Indexes (in Options line) removed 10 Jan 2012
          Order allow,deny
          allow from all
       </Directory>

Links:

No comments:

Post a Comment

Please do not enter links that are just promoting your own website or ones to those that you are shilling.
Comments with hyperlinks (that are not relevant to the original post) will be re-posted or deleted.
Sorry, this is to discourage "blog spam"