Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I am doing some security research, and am wanting to search Google for hidden files that have been accidentally included in websites.

These hidden Unix files are all ".filename" and ".foldername/files"

Can someone show me how to search for paths that contain "."?

For example, inurl:.svn doesn't seem to look for the period but just the "svn"

share|improve this question

migrated from superuser.com Jul 13 '12 at 13:28

This question came from our site for computer enthusiasts and power users.

3  
You can use filetype:* to search for files with a certain extension, but in this case it seems to return just URLs that contain '.svn' –  Rox Jul 13 '12 at 11:27

1 Answer 1

Filetype searches only work for specific types on Google.

Have a look at the "Advanced Search" for details.

Otherwise, you need to put the query in quotes to try and stop Google from being too clever! This will of course return more than you want as it searches for the text as well as the URL.

You are right that inurl and filetype ignore the period. A quoted search term though will take it into account.

share|improve this answer
    
This is great, however using "url:'.svn'" yields nothing...? –  Doug Jul 15 '12 at 3:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.