Google Dorks: Utilizing Search Engines

Hengky Sanjaya
Hengky Sanjaya Blog
2 min readMay 31, 2020

--

This tutorial is 100% for Education Purpose only. Any time the word “Hacking” that is used on this site shall be regarded as Ethical Hacking. Do not attempt to violate the law with anything contained here. If you planned to use the content for illegal purposes, then please leave this site immediately! We will not be responsible for any illegal actions.

Definition

It is an act of searching using google.com to find anything that is left behind by sys-admin or web developer, which is not meant to be public consumption.

Special google search operators

Before starting with google dorks, you need to have a basic understanding of a few special google search operators and also how it functions.

  1. intitle:

This will ask google to show pages that have the term in their HTML title.

2. inurl:

Searches for specified term in the URL. For example: inurl:register.php

3. filetype:

Searched for a certain file type. Example: filetype:pdf will search for all the pdf files on the websites.

4. ext:

It works similar to filetype. Example: ext:pdf finds pdf extension files.

5. intext:

This will search the content of the page. This works somewhat like plain google search

6. site:

This limits the search to a specific site only. Example: site:abc@d.com will limit search to only abc@d.com.

7. Cache:

This will show you cached version of any website. Example: cache: aa.com

8. *

This works like a wildcard. Example: How to * sites, will show you all the results like “how to…” design/create/hack, etc… “sites”

Basic Formula of Dork

"inurl:."domain"/"dorks" "

Here,
“inurl” = input URL
“domain” = your desired domain ex. .gov
“dorks” = your dork of your choice

Useful Google Dorks Example

  • “Index of /admin”
  • “Index of /cgi-bin”
  • “Index of /credit-card”
  • “Index of /logs”
  • “Index of /config”
  • “Index of /admin.asp”
  • “Index of /login.asp”
  • “Index of /passwd”
  • “Index of /password”
  • “Index of /” + passwd
  • “Index of /” + password.txt
  • “Index of /secret”
  • “Index of /confidential”
  • “Index of /root”

Syntax “intitle:”, “allintitle:” combination:

  • intitle: “Index of” .sh_history
  • intitle: “Index of”.bash_history
  • intitle: “Index of” passwd
  • intitle: “Index of” people.lst
  • intitle: “Index of” pwd.db
  • intitle: “Index of” etc/shadow
  • intitle: “Index of” htpasswd
  • allintitle: sensitive filetype:doc
  • allintitle: restricted filetype :mail
  • allintitle: *.php?filename=*
  • allintitle:*.php?page=*
  • allintitle: *.php?logon=*

Thank you

--

--