Disclosure: Hackr.io is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission.
Download Google Dorks Cheat Sheet PDF for Quick References
Table of Contents
Ever wondered how you could find information that isn’t displayed on Google’s search engine results?
Many search engines work on an algorithm that sorts the pieces of information that can harm the user’s safety. But there is always a backdoor to bypass the algorithm — in Google’s case, Google Dorking.
Google Dorks is a search string that leverages advanced search operators to find information that isn’t readily available on a particular website.
If you face a similar issue of not being able to find the desired information and want to go with Google Dorking, this cheat sheet is for you. We have curated this Google Dorks cheat sheet to help you understand how different Google Dorking commands work.
Click here to download Hackr.io’s Google Dorks Cheat Sheet PDF.
Google Dorks Cheat Sheet
In this Google Dorking cheat sheet, we’ll walk you through different commands to implement Google Dorking. But first, let’s cover a brief introduction to Google Dorking.
What is a Google Dork?
Ethical barriers protect crucial information on the internet. But, sometimes, accessing such information is necessary, and you need to cross that barrier. This is where Google Dorking comes into the picture and helps you access that hidden information.
Google Dorking, also known as Google hacking, is the method capable of returning the information difficult to locate through simple search queries by providing a search string that uses advanced search operators.
Primarily, ethical hackers use this method to query the search engine and find crucial information. This Google hacking cheat sheet will help you carry out Google Dorking commands and access hidden information.
Google Dorking Commands
A cache is a metadata that speeds up the page search process. Google stores some data in its cache, such as current and previous versions of the websites. This cache holds much useful information that the developers can use. Some developers use cache to store information for their testing purpose that can be changed with new changes to the website.
You can use the following syntax for any random website to check the data. The result may vary depending on the updates from Google.
Once you run the command, you may find multiple results related to that. You can also use keywords in our search results, such as ‘xyz’, as shown in the below query.
Once you get the output, you can see that the keyword will be highlighted.
Intext and Allintext Command
To find a specific text from a webpage, you can use the intext command in two ways. First, you can provide a single keyword in the results. Second, you can look for multiple keywords.
You can use the following syntax for a single keyword.
If you want to use multiple keywords, then you can use allintext. All the keywords will be separated using a single space between them.
Google will consider all the keywords and provide all the pages in the result. Thus, users only get specific results. So, make sure you use the right keywords or else you can miss important information.
Suppose you want to look for the pages with keywords “username” and “password:” you can use the following query.
You will get all the pages with the above keywords.
This is one of the most important Dorking options as it filters out the most important files from several files. For example, you can apply a filter just to retrieve PDF files. If you are a developer, you can go for the log files, allowing them to keep track easily by applying the right filter.
To access simple log files, use the following syntax:
You will get all types of log files, but you still need to find the right one from thousands of logs. So, to narrow down your file search, you be more specific with the type of file you use with this syntax:
You will get specific results with the username mentioned in it — all you need to do is provide the right keyword.
Sometimes you want to filter out the documents based on HTML page titles. The main keywords exist within the title of the HTML page, representing the whole page. So, we can use this command to find the required information.
Suppose you are looking for documents that have information about IP Camera. You have to write a query that will filter out the pages based on your chosen keyword.
You can use the following syntax:
You can also use multiple keywords with this query to get more specific results, separating each keyword with double-quotes.
First, Google will retrieve all the pages and then apply the filter to that retrieved result set. It will discard the pages that do not have the right keyword.
You can use the following syntax for that:
allintitle:”ip camera” “dvr”
You can see all the pages with both keywords.
This command works similar to the intitle command; however, the inurl command filters out the documents based on the URL text. Those keywords are available on the HTML page, with the URL representing the whole page. You can use this command to filter out the documents.
Suppose you want the documents with the information related to IP Camera. You can simply use the following query to tell google and filter out all the pages based on that keyword. You can also provide multiple keywords for more precise results.
Site command will help you look for the specific entity. At first, you can try for keywords that will provide you with a broad range of information that may or may not be as per your need. Then, you can narrow down your search using other commands with a specific filter.
Suppose you want to buy a car and are looking for various options available from 2020. You’ll get a long list of options. Now, you can apply some keywords to narrow down your search and gather specific information that will help you buy a car. Here, you can use the site command to search only for specific websites.
You can do the same for other cars also.
If you want to search for a specific type of document, you can use the ext command.
Suppose you want to write an article on a specific topic, but you cannot start right away without researching that topic. Mostly the researched articles are available in PDF format. You can specify the type of the file within your dork command.
Here, ext stands for an extension. This command works similarly to the filetype command. Now using the ext command, you can narrow down your search that is limited to the pdf files only.
You can use the following syntax:
You can use this command when you want to search for a certain term within the blog. It is useful for blog search.
inposttitle:weight loss goals
Say you run a blog, and want to research other blogs in your niche. This command will help you look for other similar, high-quality blogs.
allintitle:how to write content for seo
You can use this command to do research on pages that have all the terms after the “inanchor” in the anchor text that links back to the page.
allinanchor:"how to draw anime"
You can use this command to find pages with inbound links that contain the specified anchor text.
Looking for super narrow results? This command will provide you with results with two or more terms appearing on the page.
digital drawing AROUND(2) tools
If you want your search to be specific to social media only, use this command. It’ll show results for your search only on the specified social media platform.
If you use the quotes around the phrase, you will be able to search for the exact phrase. The search engine results will eliminate unnecessary pages.
“search term 1”
In some cases, you might want specific data with more than one website with similar content. You can provide the exact domain name with this Google Dorking command:
You can use this command to find the information related to a specific domain name. It lets you determine things, such as pages with the domain text, similar on-site pages, and the website’s cache.
Curious about meteorology? Use this command to fetch Weather Wing device transmissions.
intitle:"Weather Wing WS-2"
You will see several devices connected worldwide that share weather details, such as wind direction, temperature, humidity, and more.
On the hunt for a specific Zoom meeting? You may find it with this command, but keep in mind that Zoom has since placed some restrictions to make it harder to find/disrupt Zoom meetings. However, as long as a URL is shared, you can still find a Zoom meeting.
The only drawback to this is the speed at which Google indexes a website. By the time a site is indexed, the Zoom meeting might already be over.
inurl:zoom.us/j and intext:scheduled for
Your database is highly exposed if it is misconfigured. You can also find these SQL dumps on servers that are accessible by domain. Sometimes, such database-related dumps appear on sites if there are no proper backup mechanisms in place while storing the backups on web servers. To find a zipped SQL file, use the following command.
"index of" "database.sql.zip"
You can easily find the WordPress admin login pages using dork, as shown below.
intitle:"Index of" wp-admin
You can find Apache2 web pages with the following Google Dorking command:
intitle:"Apache2 Ubuntu Default Page: It works"
This tool is another method of compromising data, as phpMyAdmin is used to administer MySQL over the web. The Google dork to use is:
"Index of" inurl:phpmyadmin
You can use Google Dorks to find web applications hosting important enterprise data (via JIRA or Kibana).
inurl:Dashboard.jspa intext:"Atlassian Jira Project Management Software"
inurl:app/kibana intext:Loading Kibana
cPanel Password Reset
You can reset the passwords of the cPanel to control it:
Finding FTP Servers
If you want to access the FTP servers, you might need to mix the queries to get the desired output. You can use the following syntax:
intitle:”index of” inurl:ftp
As a result, you will get all the index pages related to the FTP server and display the directories.
Once you get the results, you can check different available URLs for more information, as shown below.
Accessing Online Cameras
Remember, information access is sometimes limited to cyber security teams despite our walkthrough of this Google Dorks cheat sheet. You can use the dork commands to access the camera's recording. Some people make that information available to the public, which can compromise their security.
The following is the syntax for accessing the details of the camera.
To narrow down and filter your results, you can use operators for better search. The following are some operators that you might find interesting.
You can use this operator to make your search more specific so the keyword will not be confused with something else. For example, if you are specifically looking for “Italian foods,” then you can use the following syntax.
Using this operator, you can provide multiple keywords. You will get results if the web page contains any of those keywords. You can separate the keywords using “|.” For example.
site:facebook.com | site:twitter.com
This operator will include all the pages containing all the keywords. The keywords are separated by the ‘&’ symbol. You can use the following syntax.
site:facebook.com & site:twitter.com
Not only this, you can combine both ‘or’ and ‘and’ operators to refine the filter. For example-
(site:facebook.com | site:twitter.com) & intext:"login"
(site:facebook.com | site:twitter.com) (intext:"login")
To get the results based on the number of occurrences of the provided keyword. For example-
You can also exclude the results from your web page. For example-
If you want to search for the synonyms of the provided keyword, then you can use the “~” sign before that keyword. Then, Google will provide you with suitable results. For example, if you want to search for the keyword “set” along with its synonym, such as configure, collection, change, etc., you can use the following:
You can use the glob pattern (*) when you are unsure what goes there and tell Google to make the search accordingly. For example”
Below are various search parameters:
- q- Its value is the search term.
- filter - Its value can be 1 or 0. If its value is set to 0, it will display all the potential duplicate results.
- as_epq- Its value can be a search phrase. You can use it to search for an exact phrase. There is no need to enclose the search phrase within quotes.
- as_ft- Its value can be exclude (e) or include (i).
- as_filetype- Can be a file extension. You can include or exclude the file type indicated by as_ft.
- as_occt- Its value can be - any (anywhere), title (page title), body (page text), url (page url), and links (page link). You can find the keyword within the specified location.
- as_dt- Its value can be exclude (e) or include (i). You can use it to exclude or include the site or domain indicated by as_sltesearch.
- as_sltesearch- Its value can be a site or domain. You can include or exclude the file type indicated by as_dt.
- as_qdr- Its value can be m3 (three months), m6 (six months), and y (past year). You can search for the pages included within the specified period.
How to Prevent Google Dorks
You can use any of the following approaches to avoid falling under the control of a Google Dork. The following are the measures to prevent Google dork:
- You must encrypt sensitive and personal information such as usernames, passwords, payment details, and so forth.
- Also, check your website by running inquiries to check if you have any exposed sensitive data. If you find any exposed information, just remove them from search results with the help of the Google Search Console.
Protect sensitive content using robots.txt document available in your root-level site catalog. It will prevent Google to index your website.
You can also block specific directories to be excepted from web crawling. If you have an /admin area and you need to protect it, just place this code inside:
Restrict access to specific files:
Restrict access to dynamic URLs that contain ‘?’ symbol:
Today, Google Dorks is one of the most convenient ways to find hard-to-reach data. You must find the correct search term and understand how the search engine works to find out valuable information from a pool of data. Despite several tools in the market, Google search operators have their own place.
We’ve covered commonly used commands and operators in this Google Dorks cheat sheet to help you perform Google Dorking. This Google fu cheat sheet is suitable for everyone, from beginners to experienced professionals.
Next time you need specialized or specific research, refer to this handy Google Dorks cheat sheet. Interested in learning more about ethical hacking?
Frequently Asked Questions
1. Is it Legal to Use Google Dorks?
Google hacking or commonly known as Google dorking. It is a hacker technique that leverages the technologies, such as Google Search and other Google applications, and finds the loopholes in the configuration and computer code being used by the websites.
However, it is an illegal activity, leading to activities such as cyber terrorism and cyber theft.
2. What are Some Google Hacks?
Here are a few Google hacks for you to try:
- Use the “@” symbol to search for information within social media sites. For this, you need to provide the social media name. For example, enter @google:username to search for the term username within Google.
- To get hashtags-related information, you need to use a # sign before your search term. For example, enter #HelloDelhi.
- To search for unknown words, use the asterisk character (*) that will replace one or more words. For example, Daya will move to *.
- You can use the keyword map along with the location name to retrieve the map-based results. For example, enter map:Delhi.
3. What are Google Dork Operators?
Below are Google dork operators:
- cache: provide the cached version of any website, e.g. cache:google.com
- allintext: to get specific text contained within he specific web page, e.g. allintext: hacking tricks.
- allinurl: provide URL containing all the specified characters, e.g: allinurl:pingpong
- filetype: to get information related to file extensions, for example, looking for specifically pdf files, use- email security filetype: pdf
- intitle: will provide information related to keywords within the title, for example, intitle:dorking tools.
- inanchor: provide information for an exact anchor text used on any links, e.g. inanchor:"hacking tools"
- site: display all indexed URLs for the mentioned domain and subdomain, e.g. site:dorking.com
- +: concatenate words, suitable for detecting pages with more than one specific key, e.g. dorking + tools
4. How Does Google Dorking Work?
Google Dorking is a search technique that enables hackers to gain access to information that corporations and individuals did not intend to make publicly available. Using this technique, hackers are able to identify vulnerable systems and can recover usernames, passwords, email addresses, and even credit card details.
5. How Do You Do the Google Gravity Trick?
Follow these steps to do the Google Gravity trick:
- Open a browser on your computer.
- Open Google.com.
- Type Google Gravity (Don’t click on Search).
- Click I'm Feeling Lucky.
- Wait for the Google Gravity page to load.
- Move your mouse cursor.
- You will see everything fall down.
People are also reading: