Google hacking for penetration tester - part 4

  • Số trang: 10 |
  • Loại file: PDF |
  • Lượt xem: 36 |
  • Lượt tải: 0
tranphuong5053

Đã đăng 6896 tài liệu

Mô tả:

452_Google_2e_01.qxd 10/5/07 12:12 PM Page 31 Google Search Basics • Chapter 1 Table 1.4 continued h1 Language Field Values hl Language Code Language gl ka de el gn gu xx-hacker iw hi hu is id ia ga it ja jw kn kk xx-klingon ko ku ky lo la lv ln lt mk ms ml mt Galician Georgian German Greek Guarani Gujarati Hacker Hebrew Hindi Hungarian Icelandic Indonesian Interlingua Irish Italian Japanese Javanese Kannada Kazakh Klingon Korean Kurdish Kyrgyz Laothian Latin Latvian Lingala Lithuanian Macedonian Malay Malayalam Maltese Continued 31 452_Google_2e_01.qxd 32 10/5/07 12:12 PM Page 32 Chapter 1 • Google Search Basics Table 1.4 continued h1 Language Field Values hl Language Code Language mr mo mn ne no nn oc or ps fa xx-piglatin pl pt-BR pt-PT pa qu ro rm ru gd sr sh st sn sd si sk sl so es su sw Marathi Moldavian Mongolian Nepali Norwegian Norwegian (Nynorsk) Occitan Oriya Pashto Persian Pig Latin Polish Portuguese (Brazil) Portuguese (Portugal) Punjabi Quechua Romanian Romansh Russian Scots Gaelic Serbian Serbo-Croatian Sesotho Shona Sindhi Sinhalese Slovak Slovenian Somali Spanish Sundanese Swahili Continued 452_Google_2e_01.qxd 10/5/07 12:12 PM Page 33 Google Search Basics • Chapter 1 Table 1.4 continued h1 Language Field Values hl Language Code Language sv tg ta tt te th ti to tr tk tw ug uk ur uz vi cy xh yi yo zu Swedish Tajik Tamil Tatar Telugu Thai Tigrinya Tonga Turkish Turkmen Twi Uighur Ukrainian Urdu Uzbek Vietnamese Welsh Xhosa Yiddish Yoruba Zulu Underground Googling… Sticky Subject The hl value is sticky! This means that if you change this value in your URL, it sticks for future searches. The best way to change it back is through Google preferences or by changing the hl code directly inside the URL. 33 452_Google_2e_01.qxd 34 10/5/07 12:12 PM Page 34 Chapter 1 • Google Search Basics The restrict variable is easily confused with the lr variable, since it restricts your search to a particular language. However, restrict has nothing to do with language.This variable gives you the ability to restrict your search results to one or more countries, determined by the top-level domain name (.us, for example) and/or by geographic location of the server’s IP address. If you think this smells somewhat inexact, you’re right. Although inexact, this variable works amazingly well. Consider a search for people in which we restrict our results to JP (Japan), as shown in Figure 1.19. Our URL has changed to include the restrict value (shown in Table 1.5), but notice that the second hit is from www.unu.edu, the location of which is unknown. As our sidebar reveals, the host does in fact appear to be located in Japan. Figure 1.19 Using restrict to Narrow Results 452_Google_2e_01.qxd 10/5/07 12:12 PM Page 35 Google Search Basics • Chapter 1 Underground Googling… How Google Owns the Continents It’s easy to get a relative idea of where a host is located geographically. Here’s how host and whois can be used to figure out where www.unu.edu is located: wh00p:~# host www.unu.edu www.unu.edu has address 202.253.138.42 wh00p:~# whois 202.253.138.42 role: Japan Network Information Center address: Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda address: Chiyoda-ku, Tokyo 101-0047, Japan country: JP phone: +81-3-5297-2311 fax-no: +81-3-5297-2312 Table 1.5 restrict Field Values Country Restrict Code Andorra United Arab Emirates Afghanistan Antigua and Barbuda Anguilla Albania Armenia Netherlands Antilles Angola Antarctica Argentina American Samoa Austria countryAD countryAE countryAF countryAG countryAI countryAL countryAM countryAN countryAO countryAQ countryAR countryAS countryAT Continued 35 452_Google_2e_01.qxd 36 10/5/07 12:12 PM Page 36 Chapter 1 • Google Search Basics Table 1.5 continued restrict Field Values Country Restrict Code Australia countryAU Aruba countryAW Azerbaijan countryAZ Bosnia and Herzegowina countryBA Barbados countryBB Bangladesh countryBD Belgium countryBE Burkina Faso countryBF Bulgaria countryBG Bahrain countryBH Burundi countryBI Benin countryBJ Bermuda countryBM Brunei Darussalam countryBN Bolivia countryBO Brazil countryBR Bahamas countryBS Bhutan countryBT Bouvet Island countryBV Botswana countryBW Belarus countryBY Belize countryBZ Canada countryCA Cocos (Keeling) Islands countryCC Congo, The Democratic Republic of the countryCD Central African Republic countryCF Congo countryCG Burundi countryBI Benin countryBJ Bermuda countryBM Brunei Darussalam countryBN Bolivia countryBO Continued 452_Google_2e_01.qxd 10/5/07 12:12 PM Page 37 Google Search Basics • Chapter 1 Table 1.5 continued restrict Field Values Country Restrict Code Brazil countryBR Bahamas countryBS Bhutan countryBT Bouvet Island countryBV Botswana countryBW Belarus countryBY Belize countryBZ Canada countryCA Cocos (Keeling) Islands countryCC Congo, The Democratic Republic of the countryCD Central African Republic countryCF Congo countryCG Switzerland countryCH Cote D’ivoire countryCI Cook Islands countryCK Chile countryCL Cameroon countryCM China countryCN Colombia countryCO Costa Rica countryCR Cuba countryCU Cape Verde countryCV Christmas Island countryCX Cyprus countryCY Czech Republic countryCZ Germany countryDE Djibouti countryDJ Denmark countryDK Dominica countryDM Dominican Republic countryDO Algeria countryDZ Ecuador countryEC Continued 37 452_Google_2e_01.qxd 38 10/5/07 12:12 PM Page 38 Chapter 1 • Google Search Basics Table 1.5 continued restrict Field Values Country Restrict Code Estonia Egypt Western Sahara Eritrea Spain Ethiopia European Union Finland Fiji Falkland Islands (Malvinas) Micronesia, Federated States of Faroe Islands France France, Metropolitan Gabon United Kingdom Grenada Georgia French Quiana Ghana Gibraltar Greenland Gambia Guinea Guadeloupe Equatorial Guinea Greece South Georgia and the South Sandwich Islands Guatemala Guam Guinea-Bissau countryEE countryEG countryEH countryER countryES countryET countryEU countryFI countryFJ countryFK countryFM countryFO countryFR countryFX countryGA countryUK countryGD countryGE countryGF countryGH countryGI countryGL countryGM countryGN countryGP countryGQ countryGR countryGS countryGT countryGU countryGW Continued 452_Google_2e_01.qxd 10/5/07 12:12 PM Page 39 Google Search Basics • Chapter 1 Table 1.5 continued restrict Field Values Country Restrict Code Guyana Hong Kong Heard and Mc Donald Islands Honduras Croatia (local name: Hrvatska) Haiti Hungary Indonesia Ireland Israel India British Indian Ocean Territory Iraq Iran (Islamic Republic of) Iceland Italy Jamaica Jordan Japan Kenya Kyrgyzstan Cambodia Kiribati Comoros Saint Kitts and Nevis Korea, Democratic People’s Republic of Korea, Republic of Kuwait Cayman Islands Kazakhstan Lao People’s Democratic Republic countryGY countryHK countryHM countryHN countryHR countryHT countryHU countryID countryIE countryIL countryIN countryIO countryIQ countryIR countryIS countryIT countryJM countryJO countryJP countryKE countryKG countryKH countryKI countryKM countryKN countryKP countryKR countryKW countryKY countryKZ countryLA Continued 39 452_Google_2e_01.qxd 40 10/5/07 12:12 PM Page 40 Chapter 1 • Google Search Basics Table 1.5 continued restrict Field Values Country Restrict Code Lebanon Saint Lucia Liechtenstein Sri Lanka Liberia Lesotho Lithuania Luxembourg Latvia Libyan Arab Jamahiriya Morocco Monaco Moldova Madagascar Marshall Islands Macedonia, The Former Yugoslav Republic of Mali Myanmar Mongolia Macau Northern Mariana Islands Martinique Mauritania Montserrat Malta Mauritius Maldives Malawi Mexico Malaysia Mozambique countryLB countryLC countryLI countryLK countryLR countryLS countryLT countryLU countryLV countryLY countryMA countryMC countryMD countryMG countryMH countryMK countryML countryMM countryMN countryMO countryMP countryMQ countryMR countryMS countryMT countryMU countryMV countryMW countryMX countryMY countryMZ Continued
- Xem thêm -