Hello, aspiring Ethical Hackers. In our previous blogpost on Footprinting, you learnt that hackers gather information about their targets using search engines. In this blogpost you will learn about Google Hacking or Google Dorking. Who doesn’t know what Google is. Just for this article’s sake, let me define what it is. Google is the most popular Search Engine that provides answers for anything we want, almost anything. Just a click away.
Google is already an awesome search engine but to make the search engine more precise it has some advanced operators. In other words, searching with some special operators allows Google to provide exact information we want. These are known as Google Dorks. The basic syntax of a Google Dork is,
Operator : term to search or URL
Some of the important Google operators are.
Let’s learn about each of them in detail.
This query will return all the webpages which have term “hackercool” in the title of the webpage.
Same as “intitle” but will show pages containing all the multiple keywords specified.
The “inurl” query returns all the webpages containing the specified keywords in their URL.
Same as “inurl” but can be used to search for multiple keywords in the URL.
The “define” query can be used to search for a definition of any keyword you specify. For example, let’s search for the definition of hackercoolmagazine.
The “related” dork of Google is used to search for a website similar to the site you specify.
For example, in the above image, we search for sites related to Facebook and Google has returned similar networking sites like Twitter, Pinterest, LinkedIN. Note that this google dorks only takes websites as keywords.
The cache query returns the latest cached version of the website Google has stored. This dork too needs website as keyword.
The “intext” query returns all the webpages having like specified “text” in their content.
The “allintext” query is same as “intext” but can be used to search webpages having multiple keywords in their content.
The “site” query is useful in limiting your search to a particular website.
Part 2 of Google Hacking is coming soon.Follow Us