Google Dorks
Last modified: 2023-10-30
Google Dorks are Google searching techniques.
Cache/Archive
Search the latest cached results.
cache:examle.com
Country & Language
If we want to get search results with specific country and language, set parameters gl
and hl
.
# gl=us: United States
# hl=en: English
https://www.google.com/search?q=apple&gl=us&hl=en
Directory Listing
Search websites which allow directory listings. We can retrieve all files if it's enabled in websites.
intext: "Index of /admin"
intext: "Index of /wp-admin"
site:example.com intext: "Index of /admin"
File Types
Specify the filetype e.g. pdf
`.
filetype:pdf
filetype:pdf "email address"
Sensitive Information
site:github.com "DB_USER"
site:github.com "DB_PASSWORD"
# Filter by datetime
"DB_USER" after:2022-01-01 before:2023-01-01
Subdomains
site:*.google.com
# -site: Exclude specific domain
site:*.example.com -site:www.example.com
# Specify file extension
site:*.google.com ext:php
Title
Searche keywords contained in page title.
intitle:pentesting
URL
Search all URLs containing specific keyword e.g. TLD (com, eu, io, etc.).
inurl:edu
inurl:edu "login"