Finding Links on Google


Recommended Posts

Introduction

Google is world?s most popular and powerful search engine which has the ability to accept pre-defined commands as input and produce unbelievable results. This enables malicious users like hackers, crackers, and script kiddies etc to use Google search engine extensively to gather confidential or sensitive information which is not visible through common searches.

In this paper I shall cover the below given points that an administrators or security professionals must take into account to prevent such information disclosures:

- Google?s Advance Search Query Syntaxes

- Querying for vulnerable sites or servers using Google?s advance syntaxes

- Securing servers or sites from Google?s invasGoogle?s Advance Search Query Syntaxesntaxes

Below discussed are various Google?s special commands and I shall be explaining each command in brief and will show how it can be used for critical information[ intitle: ]title: ]

The ?intitle:? syntax helps Google restrict the search results to pages containing that word in the title. For example, ?intitle: login password? (without quotes) will return links to those pages that has the word "login" in their title, and the word "password" anywhere in the page.

Similarly, if one has to query for more than one word in the page title then in that case ?allintitle:? can be used instead of ?intitle? to get the list of pages containing all those words in its title. For example using ?intitle: login intitle: password? is same as querying ??[ inurl: ]n password?.

[ inurl: ]

The ?inurl:? syntax restricts the search results to those URLs containing the search keyword. For example: ?inurl: passwd? (without quotes) will return only links to those pages that have "passwd" in the URL.

Similarly, if one has to query for more than one word in an URL then in that case ?allinurl:? can be used instead of ?inurl? to get the list of URLs containing all those search keywords in it. For example: ?allinurl: etc/passwd? will look for the URLs containing ?etc? and ?passwd?. T[ site: ]?) between the words will be ignored by Google.

[ site: ]

The ?site:? syntax restricts Google to query for certain keywords in a particular site or domain. For example: ?exploits site:hackingspirits.com? (without quotes) will look for the keyword ?exploits? in those pages present in all the links of the domain ?hackingspirit>

[ filetype: d not be any space between ?site:? and the ?domain name?.

[ filetype: ]

This ?filetype:? syntax restricts Google search for files on internet with particular extensions (i.e. doc, pdf or ppt etc). For example: ?filetype:doc site:gov confidential? (without quotes) will look for files with ?.doc? extension in all government domains with ?.gov? extension and containing the word ?confidential? either in the pages or in the ?.doc? fil>[ link: lt will contain the links to all confidential word document files on the government sites.

[ link: ]

?link:? syntax will list down webpages that have links to the specified webpage. For Example: ?link:www.securityfocus.com? will list webpages that have links pointi>[ related: ocus homepage. Note there can be no space between the "link:" and the web page url.

[ related: ]

The ?related:? will list web pages that are "similar" to a specified web page. For Example: ?related:www.securityfocus.com? will list web pages that ar>[ cache: Securityfocus homepage. Note there can be no space between the "related:" and the web page url.

[ cache: ]

The query ?cache:? will show the version of the web page that Google has in its cache. For Example: ?cache:www.hackingspirits.com? will show Google's cache of the Google homepage. Note there can be no space between the "cache:" and the web page url.

If you include other words in the query, Google will highlight those words within the cached doc>[ intext: : ?cache:www.hackingspirits.com guest? will show the cached content with the word "guest" highlighted.

[ intext: ]

The ?intext:? syntax searches for words in a particular website. It ignores links or URLs and page titles. For example: ?>[ phonebook: ithout quotes) will return only links to those web pages that has the search keyword "exploits" in its webpage.

[ phonebook: ]

?phonebook? searches for U.S. street address and phone number information. For Example: ?phonebook:Lisa+CA? will list down all names of person having ?Lisa? in their names a>Querying for vulnerable sites or servers using Google?s advance syntaxers incase someone want to do dig personal information for social engineering.

Querying for vulnerable sites or servers using Google?s advance syntaxes

Well, the Google?s query syntaxes discussed above can really help people to precise their search and get what they are exactly looking for.

Now Google being so intelligent search engine, malicious users don?t mind exploiting its ability to dig confidential and secret information from in>Using ?Index of ? syntax to find sites enabled with Index browsinues in details how malicious user dig information from internet using Google as a tool.

Using ?Index of ? syntax to find sites enabled with Index browsing

A webserver with Index browsing enabled means anyone can browse the webserver directories like ordinary local directories. Here I shall discuss how one can use ?index of? syntax to get a list links to webserver which has got directory browsing enabled. This becomes an easy source for information gathering for a hacker. Imagine if the get hold of password files or others sensitive files which are not normally visible to the internet. Below given are few examples using which one can get access to many sensitive information much easily.

Index of /admin

Index of /passwd

Index of /password

Index of /mail

"Index of /" +passwd

"Index of /" +password.txt

"Index of /" +.htaccess

"Index of /secret"

"Ind>Looking for vulnerable sites or servers using ?inurl:? or ?allinurl:?quot;

"Index of /credit-card"

"Index of /logs"

"Index of /config"

Looking for vulnerable sites or servers using ?inurl:? or ?allinurl:?

a. Using ?allinurl:winnt/system32/? (without quotes) will list down all the links to the server which gives access to restricted directories like ?system32? through web. If you are lucky enough then you might get access to the cmd.exe in the ?system32? directory. Once you have the access to ?cmd.exe? and are able to execute it then you can go ahead in further escalating your privileges over the server and compromise it.

b. Using ?allinurl:wwwboard/passwd.txt?(without quotes) in the Google search will list down all the links to the server which are vulnerable to ?WWWBoard Password vulnerability?. To know more about this vulnerability you can have a look at the following link:

http://www.securiteam.com/exploits/2BUQ4S0SAW.html

c. Using ?inurl:.bash_history? (without quotes) will list down all the links to the server which gives access to ?.bash_history? file through web. This is a command history file. This file includes the list of command executed by the administrator, and sometimes includes sensitive information such as password typed in by the administrator. If this file is compromised and if contains the encrypted unix (or *nix) password then it can be easily cracked using ?John The Ripper?.

d. Using ?inurl:config.txt? (without quotes) will list down all the links to the servers which gives access to ?config.txt? file through web. This file contains sensitive information, including the hash value of the administrative password and database authentication credentials. For Example: Ingenium Learning Management System is a Web-based application for Windows based systems developed by Click2learn, Inc. Ingen>Other similar search using ?inurl:? or ?allinurl:? combined with other syntaxcurely in the config.txt file. For more information refer the following links:

http://www.securiteam.com/securitynews/6M00H2K5PG.html

Other similar search using ?inurl:? or ?allinurl:? combined with other syntaxs

inurl:admin filetype:txt

inurl:admin filetype:db

inurl:admin filetype:cfg

inurl:mysql filetype:cfg

inurl:passwd filet>Looking for vulnerable sites or servers using ?intitle:? or ?allintitle:?oot/*."

inurl:adpassword.txt

inurl:webeditor.php

inurl:file_upload.php

inurl:gov filetype:xls "restricted"

index of ftp +.mdb allinurl:/cgi-bin/ +mailto

Looking for vulnerable sites or servers using ?intitle:? or ?allintitle:?

a. Using [allintitle: "index of /root?] (without brackets) will list down the links to the web server which gives access to restricted directories like ?root? through web. This directory sometimes contains sensitive information which can be easily retrieved through simple web requests.

b. Using [allintitle: "index of /admin?] (without brackets) will list down the links to the websites which has got index browsing e>Other similar search using ?intitle:? or ?allintitle:? combined with other syntaxon sometimes uses names like ?admin? to store admin credentials in it. This directory sometimes contains sensitive information which can be easily retrieved through simple web requests.

Other similar search using ?intitle:? or ?allintitle:? combined with other syntaxs

intitle:"Index of" .sh_history

intitle:"Index of" .bash_history

intitle:"index of" passwd

intitle:"index of" people.lst

intitle:"index of" pwd.db

intitle:"index of" etc/shadow

intitle:"index of" spwd

intitle:&q>Other interesting Search Queriee:"index of" htpasswd

intitle:"index of" members OR accounts

intitle:"index of" user_carts OR user_cart

allintitle: sensitive filetype>To search for sites vulnerable to SQL Injection attacksed filetype:doc site:gov

Other interesting>Securing servers or sites from Google?s invasio Cross-Sites Scripting (XSS) attacks:

allinurl:/scripts/cart32.exe

allinurl:/CuteNews/show_archives.php

allinurl:/phpinfo.php

To search for sites vulnerable to SQL Injection attacks:

allinurl:/privmsg.php

allinurl:/privmsg.php

Securing servers or sites from Google?s invasion

Below given are the security measures which system administrators and security professionals must take into account to secure critical information available online, falling into wrong hands:

- Install latest security patches available till date for the applications and as well as the operating system running on the servers.

- Don?t put critical and sensitive information on servers without any proper authentication system which can be directly accessible to anyone on internet.

- Disable directory browsing on the webserver. Directory browsing should be enabled for those web-folders for which you want to give access to anyone on internet.

- If you find any links to your restricted server or sites in Google search result then it should be removed. Visit the following link for more details:

http://www.google.com/remove.html

- Disable anonymous access in the webserver through internet to restricted systems directory.

- Install filtering tools like URLScan for servers running IIS as webserver.

Edited by protesto
Link to comment
https://www.neowin.net/forum/topic/243326-finding-links-on-google/
Share on other sites

This is great info, the phonebook one, i was amazed! I searched for me and my State, so many other people! I searched for my friend and he was in there! i told him about it and he got all mad :p

Also, so many references to hackers... was this from a hackers guide or something? :blink:

Edit: *coughcough*

Edited by whcodered
  • 4 years later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Weekend PC Game Deals: Anno 117, Final Fantasy VII, Rematch, and more by Pulasthi Ariyasinghe Weekend PC Game Deals is where the hottest gaming deals from all over the internet are gathered into one place every week for your consumption. So kick back, relax, and hold on to your wallets. The Epic Games Store's mystery giveaways may have ended, but its regular freebies didn't miss a step this week. The double drop was for copies of Warhammer 40K Speed Freeks and The Ouroboros King. Speed Freeks lands for multiplayer racing fans, but with plenty of competitive shooting elements too. You will be piloting Ork buggies, tanks, and aircraft modeled after the popular tabletop miniatures while trying to complete objectives and pass finish lines. Next, Ouroboros King is a crossover between chess and tactical roguelikes, offering the chance to create your own army with special rules to beat incoming foes on the board. The double giveaway on the Epic Games Store will be available until June 11, and replacing it will be Citizen Sleeper and ROBOBEAT. The Humble Store brought a new charity bundle to check out this week too. Landing with the name The Complete Inkle Library, this is a large collection of interactive narrative puzzle games from the publisher Inkle. This begins with Heaven's Vault, four parts from the Sorcery series, 80 Days, Overboard, and Pendragon: Narrative Tactics within the starting tier for $9. Hopping up a step to the $12 tier gets you TR-49, Expelled, and A Highland Song for paying at least $12. If you go for the $20 tier, you get four e-books from the Heaven's Vault series. The bundle has almost three weeks on its counter before it goes away. Big Deals There is a larger than normal amount of weekend specials happening this time, including multiple publisher deals, franchise discounts, and indie gems to grab. With those and more, here's our hand-picked big deals list for the weekend: Anno 117: Pax Romana – $44.99 on Steam Clair Obscur: Expedition 33 – $39.99 on Steam Timberborn – $27.99 on Steam EARTH DEFENSE FORCE 6 – $26.39 on Steam Rust – $19.99 on Steam FINAL FANTASY VII REBIRTH – $19.99 on Steam Street Fighter 6 – $19.99 on Steam Returnal – $19.79 on Steam Shape of Dreams – $17.49 on Steam Far Cry 6 – $14.99 on Steam Assassin's Creed Valhalla – $14.99 on Steam Quarantine Zone: The Last Check – $14.99 on Steam REMATCH – $14.99 on Steam EA SPORTS FC 26 – $13.99 on Steam FINAL FANTASY VII REMAKE INTERGRADE – $13.99 on Steam Magicraft – $12.79 on Steam Cult of the Lamb – $12.49 on Steam Dying Light 2: Reloaded Edition – $11.99 on Steam Cuphead – $11.99 on Steam Assassin's Creed Odyssey – $11.99 on Steam Hunt: Showdown 1896 – $11.99 on Steam Sektori – $11.99 on Steam Just Shapes & Beats – $11.99 on Steam Gunfire Reborn – $10.99 on Steam 33 Immortals – $9.99 on Epic Store Baby Steps – $9.99 on Steam Sifu – $9.99 on Steam Hearts of Iron IV – $9.99 on Steam DREDGE – $9.99 on Steam DAVE THE DIVER – $9.99 on Steam Pacific Drive – $9.89 on Steam Mycopunk – $9.74 on Steam Sons Of The Forest – $8.99 on Steam Jotunnslayer: Hordes of Hel – $8.99 on Steam Nuclear Throne – $8.99 on Steam Mechabellum – $8.99 on Steam Deep Rock Galactic: Survivor – $8.44 on Steam TerraTech Legion – $7.99 on Steam Inscryption – $7.99 on Steam Assassin's Creed Unity – $7.49 on Steam Minishoot' Adventures – $7.49 on Steam The Stanley Parable – $7.49 on Steam Oxygen Not Included – $7.49 on Steam Megabonk – $6.99 on Steam Look Outside – $5.99 on Steam Vampire Hunters – $5.24 on Steam MOTHERGUNSHIP – $4.99 on Steam My Friend Pedro – $3.99 on Steam The Messenger – $3.99 on Steam Vampire Survivors – $3.74 on Steam Brotato – $2.99 on Steam Enter the Gungeon – $2.99 on Steam Loop Hero – $2.99 on Steam GRIS – $2.99 on Steam Exit the Gungeon – $2.49 on Steam Hitman: Absolution – $1.99 on Steam CARRION – $1.99 on Steam Don't Starve Together – $1.49 on Steam Golf With Your Friends – $1.49 on Steam Hotline Miami – $0.99 on Steam The Ouroboros King – $0 on Epic Store Warhammer 40K Speed Freeks – $0 on Epic Store DRM-free Specials Hopping over to the DRM-free deals, the GOG store has plenty of discounts running this weekend too. Here are some highlights: Fallout 4: Game of the Year Edition - $15.99 on GOG Fallout: New Vegas Ultimate Edition - $9.99 on GOG Disco Elysium - The Final Cut - $9.99 on GOG Crysis - $9.99 on GOG Tyranny - Standard Edition - $7.49 on GOG Frostpunk: Game of the Year Edition - $7.35 on GOG Banished - $6.79 on GOG Fallout 3: Game of the Year Edition - $6.59 on GOG The Forgotten City - $6.25 on GOG The Age of Decadence - $5.99 on GOG SimCity 3000 Unlimited - $4.99 on GOG Assassin's Creed: Director's Cut - $4.99 on GOG SimCity 4 Deluxe Edition - $3.99 on GOG Vampyr - $3.99 on GOG Torchlight II - $3.99 on GOG Deus Ex GOTY Edition - $3.49 on GOG Primordia - $3.09 on GOG Theme Hospital - $2.99 on GOG SimCity 2000 Special Edition - $2.99 on GOG Total Annihilation: Kingdoms + Iron Plague - $2.99 on GOG Deus Ex: Human Revolution - Director’s Cut - $2.99 on GOG Master of Orion 1+2 - $2.39 on GOG Prince of Persia: The Sands of Time - $1.99 on GOG Prince of Persia: Warrior Within - $1.99 on GOG EVERSPACE - $1.99 on GOG Total Annihilation: Commander Pack - $0.99 on GOG Keep in mind that availability and pricing for some deals could vary depending on the region. That's it for our pick of this weekend's PC game deals, and hopefully, some of you have enough self-restraint not to keep adding to your ever-growing backlogs. As always, there are an enormous number of other deals ready and waiting all over the interwebs, as well as on services you may already subscribe to if you comb through them, so keep your eyes open for those, and have a great weekend.
    • When will the Photos app be updated to remember the window size and position when reopened? They addressed this issue in a 2024 version of the app (though I can't recall the build number). Unfortunately, after that specific version, the problem persists! Please prioritise this fix in your K2 schedule. Additionally, the Snipping Tool has lost the ability to capture the Windows Taskbar starting from the 2024 version!
    • Same, never saw it on Android or iOS. Guess only some people got it *shrugs*
    • Anthropic pulls Fable 5 and Mythos 5 after US export control order by Pradeep Viswanathan In April this year, Anthropic launched the Claude Mythos Preview frontier model with state-of-the-art cyber and coding capabilities for a select set of companies around the world. After preparing appropriate guardrails, early this week, Anthropic launched Claude Fable 5 and Mythos 5, its most capable AI models. Claude Fable 5 is for general users and comes with strict safeguards, while Mythos 5 is designed with fewer safeguards for cybersecurity and biology use cases. Today, Anthropic abruptly suspended access to its Fable 5 and Mythos 5 AI models for all customers after receiving an export control directive from the US government. The company received the directive from the government today at 5:21 p.m. ET, and the received letter did not provide any details regarding the national security concern. Anthropic understands that the government became aware of a method to bypass, or “jailbreak,” Fable 5, which might be the reason behind the directive. The order was issued under national security authorities and requires the company to suspend all access to Fable 5 and Mythos 5 by any foreign national, whether they are inside or outside the United States. The restriction also applies to foreign national employees working at Anthropic. As a result, the company has disabled both models for all customers to ensure compliance. Access to previous Anthropic models like Opus and Sonnet is not affected by this government order. The company highlighted that it had developed strong safeguards to reduce the possibility that Fable is misused for tasks related to cybersecurity. In fact, many developers are complaining that the safeguards are going overboard. Additionally, the company worked with the US government, the UK AISI, multiple private third-party organizations, and internal teams to red-team Fable’s safeguards for thousands of hours. Finally, Anthropic noted that no testers have yet been able to find a universal jailbreak on Fable 5. As expected, Anthropic disagrees that a narrow potential jailbreak should lead to the recall of a commercial model used by hundreds of millions of people. It warned that applying this standard across the AI industry could effectively halt new frontier model deployments. Anthropic concluded by mentioning that it is working to restore access to Fable 5 and Mythos 5 as soon as possible and plans to share more details within the next 24 hours.
  • Recent Achievements

    • Week One Done
      ssd21345 earned a badge
      Week One Done
    • Contributor
      MarkHughes4096 went up a rank
      Contributor
    • Dedicated
      jordanspringer earned a badge
      Dedicated
    • Rookie
      Rimplesnort went up a rank
      Rookie
    • One Year In
      Markus94287 earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      503
    2. 2
      +Edouard
      176
    3. 3
      PsYcHoKiLLa
      147
    4. 4
      ATLien_0
      92
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!