There are a lot of different tools that helps us while making security tests, security assessment or hacking ;). These tools are sometimes open source sometimes paid software. Google is one of the tool that is used for security tests. It may seem ridicules but it is correct. We will see how google can be used as information gathering tool.
To search websites title attribute intitle can be used. We will search websites those have
poftut in their titles in this example. This will list URL of all web which containts
poftut . This may list different domain as we can see in the example.
allintitle is similar to the title but difference is all provided terms is looked in the title. We will search websites those have both the
tutorial in their titles
To search pages url for a specified keyword use inurl. We will search websites those have
poftut in their URL.
Similar to inurl but searches for all provided keywords.
Google caches page as well as the file that resides in pages. These files can be search according to their types with filetype. We will search the sources those have
txt type which means text files. File type is a generic term which is different then extension.
ext is similar to filetype. Direct extension of the files can be used with
ext . We will search websites those have
png extension in this example. This will only list
png entension not other image types.
intext can be called Google’s primary function. It searches in pages texts. We will search sites those have the word
poftut in the content or web pages html.
allintext is similar to the intext search but searches for all keywords in the page. This will specify multiple search terms for website content search. In this example we search both
ansible in the same web page. We can call this as
Up to now we generally searched for the whole internet but to limit our search for a specific site use site and provide the domain name. This is one of the most used option. This will search
ansible word in the domain named
Search All Of Multiple Terms with AND Logic
Google Search also provides some useful logic operations. One of the is the most basic logic operation
AND . This logic can be used to math multiple terms in a single search. In this example we will search file extension with
file and text
site . We will search
png extension with
file:png AND site:poftut.com
Search One Of Multiple Term
Another very useful logic is
OR logic which simply means match one of the given terms. In this example we will use multile inurl to math terms
tut for one of them.
inurl:pof OR inurl:tut