Skip to content

🕷️ Search & Dorking

NOTE

Dorking is a search method that consists of using advanced filters to get more accurate results.

📚 Resources

🛠️ Tools

📝 Wordlist

Google Dorking

🔍 Core Filters

OperatorUse case
site:domain.comLimit results to a specific site/domain
-site:domain.comExclude a domain from results
inurl:keywordSearch keyword in the URL
intitle:keywordSearch keyword in the page title
allintitle:keyword1 keyword2Page title containing both keywords
allinurl:keyword1 keyword2URL containing both keywords
intext:keywordSearch keyword in the page content
filetype:pdfFind specific file types (pdf, xls...)
ext:docxSame as filetype, alternative syntax
cache:domain.comView Google’s cached version
related:domain.comFind sites related to a domain
link:domain.comPages linking to a specific domain
*Wildcard operator
""Exact match search
OR / -Boolean operators (OR / exclude)
"word1" AROUND(5) "word2"Words appearing within 5 words of each other

⚡ Common Dorks

bash
intitle:"index of" "parent directory" -html -htm -php
inurl:login | inurl:signin

filetype:env "DB_PASSWORD"
filetype:sql "database"
filetype:xls "password" site:gov

"@example.com" site:example.com

ext:(doc | docx | pdf)

Twitter Dorking

FilterExplanation
<word1> <word2>Tweets containing word1 AND word2
"word1"Containing exact expression
<word1> OR <word2>Tweets containing word1 OR word 2
john -doeContaining "john" but without "doe"
@usernameAll tweets where @username is mentionned
from:<account> / to:<account>All tweets from an account or responding to an account
in_reply_to_tweet_id:Tweets replying to a specific tweet.
retweets_of_tweet_id:Retweets of a specific tweet.
filter:follows / exclude:mediasFilter results and display only results from followed accounts
<mot> since:2015-02-20 / <mot> until:2015-02-20Tweets filtered by dates
min_retweets:x / min_faves:x / min_replies:xMinimal RT / likes / replies
lang:enLanguage
<word> :) / <word> :(Tweets positive and negative
<word> ?Tweets with a question
near:Paris within:25kmLocation (city) with a distance range
has:mediaTweets with photo, GIF, or video.
has:geoTweets with geolocation data.
bash

# Filters
# - safe : potentially hard or deleted
# - media : pictures or videos
# - retweets : only retweets
# - native_video : downloaded video (Amplify, Periscope, Vine)
# - periscope
# - vine
# - images : identified as photos (also coming from Instagram)
# - twimg : pic.twitter.com links
# - links : links to an URL
osint filter:<filter>

Github Dorking

Filter typeExample
Secretspassword , passwd , private
Languageslanguage:python password , language:php secret
Filenamesfilename:.env , filename:config.php , filename:.sql
Extensionsextension:pem private , extension:ppk private , extension:json client_secret
Users/Orgsuser:<username> , org:<company> , in:login <name>
Emailsin:email <keyword> , fullname:John Doe
External"<target>.atlassian" , "jira.<target>" , "<target>.okta"
bash
# Secrets in env/config files
filename:.env DB_PASSWORD
filename:.db | .sql | sqlite3
extension:sql mysql dump

# Credentials in JSON
extension:json googleusercontent client_secret

# Organization leaks
org:<company> "password"
org:<company> "https://"