7. Results Based on Third-Party Opinion - Sometimes you can get a better idea of the content located within a website by reading how other websites refer to that site’s content. The allinanchor: Google search operator can save you large quantities of time when a normal textual based search query fails to fetch the information you desire. It conducts a search based on keywords used strictly in the anchor text, or linking text, of third party sites that link to the web pages returned by the search query. In other words, this operator filters your search results in a way such that Google ignores the title and content of the returned web pages, but instead bases the search relevance on the keywords that other sites use to reference the results. It can add a whole new dimension of variety to your search results.
* Examples (notice the added variety between search results):
* allinanchor:”google hacks” vs. basic search for Google hacks
* allinanchor:”wordpress exploits” vs. basic search for Wordpress exploits
* More info.
Bonus Material:
Here is a list of my favorite Google advanced search operators, operator combinations, and related uses:
* link:URL = lists other pages that link to the URL.
* related:URL = lists other pages that are related to the URL.
* site:domain.com “search term = restricts search results to the given domain.
* allinurl:WORDS = shows only pages with all search terms in the url.
* inurl:WORD = like allinurl: but filters the URL based on the first term only.
* allintitle:WORD = shows only results with terms in title.
* intitle:WORD = similar to allintitle, but only for the next word.
* cache:URL = will show the Google cached version of the URL.
* info:URL = will show a page containing links to related searches, backlinks, and pages containing the url. This is the same as typing the url into the search box.
* filetype:SOMEFILETYPE = will restrict searches to that filetype
* -filetype:SOMEFILETYPE = will remove that file type from the search.
* site:
www.somesite.net “+
www.somesite.net” = shows you how many pages of your site are indexed by google
* allintext: = searches only within text of pages, but not in the links or page title
* allinlinks: = searches only within links, not text or title
* WordA OR WordB = search for either the word A or B
* “Word” OR “Phrase” = search exact word or phrase
* WordA -WordB = find word A but filter results that include word B
* WordA +WordB = results much contain both Word A and Word B
* ~WORD = looks up the word and its synonyms
* ~WORD -WORD = looks up only the synonyms to the word
* More info.
Want more info on Google Hacking? These 3 books are must reads:
* Google Hacks: Tips & Tools for Finding and Using the World’s Information
* Google: The Missing Manual
* Google Hacking for Penetration Testers