Ethical Hacking and Penetration Testing Guide


◾  Ethical Hacking and Penetration Testing Guide Some Basic Parameters



Yüklə 22,44 Mb.
Pdf görüntüsü
səhifə45/235
tarix07.08.2023
ölçüsü22,44 Mb.
#138846
1   ...   41   42   43   44   45   46   47   48   ...   235
Ethical Hacking and Penetration Testing Guide ( PDFDrive )

64
◾ 
Ethical Hacking and Penetration Testing Guide
Some Basic Parameters
Site
The site parameter is used to search for all the web pages that are indexed by Google. Webmasters 
have the option of specifying what pages should or should not be indexed by Google, and this 
information is saved in the robots.txt file, which an attacker can easily view.
Example
www.techlotips.com/robots.txt
As you can see from this screenshot the Webmaster has disallowed some directories from being 
indexed. Sometimes, you may find some interesting information in them such as admin pages and 
other sensitive directories that the webmaster would not like the search engines to crawl.
Coming back to the site parameter, let’s take a look at its usage.
Usage
Site: www.techlotips.com
This query will return all the web pages indexed by Google.
Link
:
Link: www.techlotips.com
This search query will return all the websites that have linked to techlotips.com. These websites 
may contain some interesting information regarding the target.
Intitle
:
Intitle keyword is used to return some results with a specific title.
Usage
Site: www.techlotips.com Intitle:ftp users
This query will return all the pages from techlotips that contain the title “ftp users”
Note

This usage query is just for demonstration as it may not work in most cases
.


Information Gathering Techniques
◾ 
65
Inurl
:
Inurl is a very useful search query. It can be used to return URLs with specific keywords.
Site: www.techlotips.com inurl:ceo names
This query will return all URLs with the given keyword.
Filetype:
Site: www.msn.com filetype:pdf
You can also ask Google to return specific files such as PDF and .docx by using the filetype 
query.

Yüklə 22,44 Mb.

Dostları ilə paylaş:
1   ...   41   42   43   44   45   46   47   48   ...   235




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin