top of page
Programming

Finding Vulnerable Info Using Google Dorks — Ethical Hacking

Jul 18, 2022
3 min read

Updated: Oct 13, 2022

Google Dorking is a technique that hackers use to find information that may have been accidentally exposed to the internet.


What is Google Dorking?

Advanced use of Google Search Operator is called Google Dorking. In simple terms, it is using Google to run targeted search queries using specific keywords or commands. Basically narrowing down the search to find what we are looking for.


Google Dorking uses some of google’s inherent abilities to find things on the internet that we can find via specific search strings. These can be log files, error files, webcams opened to the internet, and even internal pages or admin that allow us to get into a device. In some cases, you can also find passwords in error logs. Sometimes even the administration config files are exposed to the internet due to the server being incorrectly set up.


Google Dorking is done by Google Search Operators. A few of them are :

  1. site:<keyword> — used to limit the search results to a particular site. For eg., to google for hacking-related blogs on my website https://gourav-dhar.com. I would write :

hacking site:gourav-dhar.com
  1. inurl:<keyword> — used to specify which keyword should be present in the URL. For the above query if I want to add a filter saying the URL should contain the string ethical I can write it as

hacking site:gourav-dhar.com inurl:ethical

You will get the following result :

  1. intext:<keyword> — This filter will check for the parameters being present in the meta-information of the website(i.e. the information you see on the title and description of a google search).

  2. intitle:<keyword> — Result will return only those pages having the keyword in their HTML title

  3. allintitle :<keyword>— searches for all the specified terms in the title.

  4. allinurl :<keyword> — searches for all terms in the url.

  5. filetype:<keyword> — Looks for explicit document types. filetype:pdf will searches for pdf files in sites

  6. ext:<keyword> — Like filetype. ext:pdf finds pdf extension.

  7. cache :<keyword> — Used to see Google’s cached version of a site


And there are a few other Search Operators as well which can be found via Google Search. Let me show you some of the cool stuff you can do with it.

Let’s look at some of the cool things we can do with it.


1. Checking logs for credentials

allintext:username filetype:log

We will get a list of log files that contain the text “username”. This can be useful (for hackers) if the log by mistake contains the user credentials. If you explore the results a little bit and apply filters, you will be able to find usernames or passwords for further exploitation.


2. Webcamas are super safe right — — Naaaah!

Google — intitle:”webcamxp 5" and you will find a list of webcams you can dive right into.


Look at this, live preview of some random lab it seems. Does anyone happen to know which place this is 😆


A good point to start is the Google Hacking Database. https://www.exploit-db.com/google-hacking-database. If you are not sure about the query strings and how to frame them. Go to this site and search for it. Several people have done it before so you can use their search queries. The Google Hacking Database or the Exploit Database looks like this and you can enter your queries on the top right.


Summarising Google Dorks

Doing whatever I did above is not illegal. We are fetching information that has already been made public. Hackers make use of google dorks to find information that might have accidentally been made public. However, using the information that has been presented to do something which can be troublesome for someone is crossing the line.


This blog was originally published in the personal blog website of Gourav : https://gourav-dhar.com

65 Comments


Ultraguard PPF
Ultraguard PPF
4 days ago

This was a great read! I like how you’ve covered the topic from a practical perspective instead of making it overly complicated. These kinds of insights are useful for car owners who want to understand how regular care can help maintain both the appearance and value of their vehicles. For additional protection against scratches, road debris, and daily wear, Paint Protection Film can be a practical option worth considering. Brands such as Ultraguard are also making automotive protection more accessible with modern film technologies and different protection solutions. Overall, a useful article with plenty of points that vehicle owners can relate to.


Like

Promotional graphic for Law Essay Pros advertising law essay writing help. Features a stack of law books topped with a wooden gavel and golden scales of justice against a brown backdrop with geometric line accents, set beside a navy blue rectangular panel. Text reads: 'Law Essay Help' with descriptions of comprehensive essay writing service, original well-researched content, and tailored assistance. Highlights include Money-Back Guarantee, Confidentiality, Affordable Pricing, and Free Plagiarism checks. Website www.lawessaypros.co.uk and social media icons (Facebook, Instagram, X, LinkedIn, Pinterest, Behance) appear at the bottom, alongside the Law Essay Pros logo in the top corner

Like

Jawai
Jawai
Jun 20
This is a very clear explanation of how Google Dorking works and why targeted search operators matter. It is surprising how much sensitive information can be accidentally exposed online due to simple server misconfigurations, something many website owners are completely unaware of. The ethical hacking angle here is really important because it highlights that the same tool can either protect or cause harm depending on how it is used. Just like exploring the wilderness of Rajasthan, where having the right guidance makes all the difference between a safe, memorable adventure and a risky one, using Google dorks also demands responsible and mindful usage to ensure you are using the information for the right reasons. If you have never experienced that…

Like

Priya Sharma
Priya Sharma
Dec 06, 2025

This is a very clear explanation of how Google Dorking works and why targeted search operators matter. It’s surprising how much sensitive information can appear online due to simple server misconfigurations. Just like planning a Jawai Safari requires careful guidance to explore safely, using Google dorks also demands responsible and mindful usage to avoid misusing the information you find. Great insights!

Like

Katherine Salvator
Katherine Salvator
Aug 28, 2025

Balancing exams and projects was tough until I found a service to Do my Computer Science Assignment. Rapid Assignment Help has skilled writers who simplify complex topics. If you’re looking for the best assignment writing help service, this is the place to go.

Like
download (7)_edited.png
Subscribe to my Youtube Channel @codewithgd

Related Articles

Videos you might like

Let's Get
Social

  • alt.text.label.Twitter
  • alt.text.label.LinkedIn
  • 25231
Subscribe to our NewsLetter

Join our mailing list to get a notification whenever a new blog is published. Don't worry we will not spam you.

bottom of page