By reading this name many of us get misunderstand like we are going to hack Google.Google hacking does not mean hacking Google as google is very Big Enterprise we cannot hack google but in true sense Google Hacking means:
"Finding Accurate Result for our Search Query or Finding Exact Answer to our question using search engines like google,altavista,bing etc."
Now this does not mean we are not going to learn hacking in this chapter.Google Hacking is the first and basic thing for learning hacking
Before starting google Hacking you should see how google works here is the video which show how google works:
In this video you can see how google works like this all other search engines also works. When crawlers or spider go and get information from server many time they take passwords and confidential information from server and save it to there(search engine) database by which that confidential information of the server is open for the world through the search engine.We do not get that confidential information directly we can get it by adding query to our question.Getting this type result through search engine is called google hacking.
Let start basic of google hacking:
First you should know how result are displayed:
In this picture you can see google section of google that are Title,Text and URL.
When you type a word in google.Google see that world in all the three section in google and give result.We can less the number of result if we know in which section the word is there.
We can do it by the advanced query.The following are the some of basic query.
intitle: -returns pages with that keyword in the title and the other
terms on the page somewhere eg intitle:hackesandcodes
allintitle: -only returns results that include all of your terms in the title eg allintitle:hacksandcodes
intext: -returns pages with that keyword in the text and the other
terms on the page somewhere eg intext:hacksandcodes
inurl: -returns pages with that keyword in the url and the other
terms on the page somewhere eg inurl:hacksandcodes
site: -allows you to narrow your search by either a site or a top-level domain. eg.site:loc.gov,site:hacksandcode.in
filetype: -search for a particular filetype eg ipod OR mp3 filetype:pdf ,password filetype:.xls;
cache: -find a copy of the page that google indexed even if that page does not exist.eg- cache:www.yahoo.com
“phrase searching”- When we type google hacking in search box of google.Google take "google" as one question "hacking" as second question and "google hacking" as third question and join the answer of this three question and give result and the number of result increase insted of that if we write "google hacking" in double quads it is consider as one question and we get less and accurate result
OR - returns results that include either of your search terms
eg ‘ipod OR mp3’ (NB: ‘OR’ must be UPPERCASE)
synonyms ~ -find alternative keywords eg ‘~deaf’ returns deaf, deafness, blindness, impairment etc.
define: -find definitions from web pages and online glossaries etc eg ‘define:mp3’
exclude use ‘-‘ -immediately before a word you wish to exclude from your search eg Iraq -war
info: -provides a page of links to more information about specified url.
There is a software for advanced searching google hack you can downlod it at this link
Google hacks
There is the Google Hacking Database to get passwords,confidential information on web you can go to there by this link
Google hacking database
You can download Advanced Google Hacking pdf at this link
AdvancedGoogleHacking
Thank you,