Google dork cheatsheet
(taken from nahamsec video interview, while pentesting department of defense)
site:.mil inurl:*/admin/* |
site:.mil ext:xlsx |
site:.mil ext:pdf intitle:Setup |
site:.mil ext:pdf intext:Setup |
site:.mil ext:html |
|allintext||Searches for occurrences of all the keywords given.||
|intext||Searches for the occurrences of keywords all at once or one at a time.||
|inurl||Searches for a URL matching one of the keywords.||
|allinurl||Searches for a URL matching all the keywords in the query.||
|intitle||Searches for occurrences of keywords in title all or one.||
|allintitle||Searches for occurrences of keywords all at a time.||
|site||Specifically searches that particular site and lists all the results for that site.||
|filetype||Searches for a particular filetype mentioned in the query.||
|link||Searches for external links to pages.||
|numrange||Used to locate specific numbers in your searches.||
|before/after||Used to search within a particular date range.||
|allinanchor (and also inanchor)||This shows sites which have the keyterms in links pointing to them, in order of the most links.||
|allinpostauthor (and also inpostauthor)||Exclusive to blog search, this one picks out blog posts that are written by specific individuals.||
|related||List web pages that are “similar” to a specified web page.||
|cache||Shows the version of the web page that Google has in its cache.||
intext:"index of /" Nina Simone intitle:”index.of” “parent directory” “size” “last modified” “description” I Put A Spell On You (mp4|mp3|avi|flac|aac|ape|ogg) -inurl:(jsp|php|html|aspx|htm|cf|shtml|lyrics-realm|mp3-collection) -site:.info Bill Gates intitle:”index.of” “parent directory” “size” “last modified” “description” Microsoft (pdf|txt|epub|doc|docx) -inurl:(jsp|php|html|aspx|htm|cf|shtml|ebooks|ebook) -site:.info parent directory DVDRip -xxx -html -htm -php -shtml -opendivx -md5 -md5sums parent directory MP3 -xxx -html -htm -php -shtml -opendivx -md5 -md5sums parent directory Name of Singer or album -xxx -html -htm -php -shtml -opendivx -md5 -md5sums filetype:config inurl:web.config inurl:ftp “Windows XP Professional” 94FBR ext:(doc | pdf | xls | txt | ps | rtf | odt | sxw | psw | ppt | pps | xml) (intext:confidential salary | intext:"budget approved") inurl:confidential ext:(doc | pdf | xls | txt | ps | rtf | odt | sxw | psw | ppt | pps | xml) (intext:confidential salary | intext:”budget approved”) inurl:confidential
This operator searches for the exact phrase within speech marks only. This is ideal when the phrase you are using to search is ambiguous and could be easily confused with something else, or when you’re not quite getting relevant enough results back. For example:
This self explanatory operator searches for a given search term OR an equivalent term.
site:facebook.com | site:twitter.com
site:facebook.com & site:twitter.com
(site:facebook.com | site:twitter.com) & intext:"login" (site:facebook.com | site:twitter.com) (intext:"login")
This will order results by the number of occurrence of the keyword.
Adding a tilde to a search word tells Google that you want it to bring back synonyms for the term as well. For example, entering “~set” will bring back results that include words like “configure”, “collection” and “change” which are all synonyms of “set”. Fun fact: “set” has the most definitions of any word in the dictionary.
Glob pattern (*)
Putting an asterisk in a search tells Google ‘I don’t know what goes here’. Basically, it’s really good for finding half remembered song lyrics or names of things.
Wanna improve this document, please visit this site: https://gist.github.com/sundowndev/283efaddbcf896ab405488330d1bbc06