Andres Diaz

andres@diaz:~$ whoami

Andres Diaz

Defect Reproduction Engineer at Filevine

andresdiaztech@gmail.com

LinkedIn GitHub Blog



andres@diaz:~/notes$ cat google-search-operators.md

cd ..

Google Search Operators

Oct 20, 2026 · Methodology

One line

Google search operators (also called Google dorking) narrow a search to find things like subdomains, exposed files and pages a company didn't mean to leave public.

Related: Recon Tools · Five Stages of Ethical Hacking

The course introduced these for recon, mostly site:, filetype:, quotes and the minus sign.

Main operators for recon

OperatorWhat it doesExample
site:Only results from one domain. Useful for finding subdomains.site:tesla.com
-Removes results. Can be stacked to filter out noise.site:tesla.com -www
"..."Exact match. The words must appear exactly like that."internal use only"
filetype:Only files of one type. Finds exposed docs and configs.site:tesla.com filetype:pdf
inurl:The word must be in the URL. Good for finding logins and admin pages.site:tesla.com inurl:admin
intitle:The word must be in the page title.intitle:"index of"

How to combine them

Operators can be chained together to narrow things down:

  • site:tesla.com -www > every subdomain except the main www site, which is a way to spot dev or test sites.
  • site:tesla.com filetype:pdf > public PDFs on the domain.
  • site:tesla.com inurl:login > login pages across the subdomains.

More operators

OperatorWhat it doesExample
intext:The word must appear in the page bodyintext:password
allintitle:Every word must be in the titleallintitle: admin login
allinurl:Every word must be in the URLallinurl: admin panel
cache:Google's saved copy of a pagecache:tesla.com
related:Sites similar to onerelated:tesla.com
OREither term (must be capitalized)inurl:login OR inurl:signin
*Wildcard, stands for any wordinurl:*admin*
AROUND(n)Two words within n words of each othertesla AROUND(3) confidential

Nothing here touches the company's servers. It's just searching Google's index, so anything that shows up was already public.