6

Is there a way that I could get Google Search to return only results with IP addresses in the URL?

migrated from superuser.com Apr 22 '14 at 5:04

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

  • Maybe for a specific one, but why would you want to do that in a general case? – Elliott Frisch Apr 22 '14 at 3:30
  • 1
    I am doing a Google hacking lesson at uni. I was asked to search for unsecured cctv cameras. I did a search for inurl:indexFrame.shtml"Axis Video Server" however, there were other results that were not really cameras. I was wondering if i could optimize the search so that it returns results with IP addresses in the URL only – slayernoah Apr 22 '14 at 3:37
3

A difference I can see to differentiate between IP address URLs and non-IP address URLs, is the TLD at the end of 'normal' URLs.

Thus, while searching, maybe you can just keep on filtering out TLDs you find getting in your way. E.g., if searching inurl:indexFrame.shtml "Axis Video Server", and a .org url comes up in the results, add -inurl:org to the end of the string to simply get rid of all .org urls. Then -inurl:com, -inurl:edu, -inurl:net, -inurl:jp, etc.

Hopefully that won't inadvertently filter out pages you're still looking for and only isolate the IP address vs. domain name search issue :).

  • 1
    Not perfect. But it does filter out most of the unwanted results. Thanks! – slayernoah Aug 7 '14 at 15:41
2

You could simply filter out the results from all top level domains, e.g.:

"Axis Video Server" inurl:indexFrame.shtml -site:.com -site:.org -site:.net -site:.edu -site:.gov -site:.mil -site:.info -site:.us -site:.uk -site:.au -site:.ca -site:.nz -site:.ie -site:.io -site:.be -site:.sg -site:.jp -site:.pl -site:.de -site:.tv -site:.eu -site:.se -site:.ua -site:.cf -site:.nl -site:.tk -site:.gq

Of course, Google limits search terms to 32 words, so with over a thousand top level domains there's simply no way to filter them all out. Unless your search term is really specific [cf.], this would not scale well.

  • 1
    Thanks for the reply. Not a perfect way to see only sites with IP addresses. But close enough :) – slayernoah Jan 16 '16 at 13:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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