Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Google Crawls The Deep Web

Posted by Zonk on Wed Apr 16, 2008 04:13 PM
from the delved-too-deeply dept.
mikkl666 writes "In their official blog, Google announces that they are experimenting with technologies to index the Deep Web, i.e. the sites hidden behind forms, in order to be 'the gateway to large volumes of data beyond the normal scope of search engines'. For that purpose, the engine tries to automatically get past the forms: 'For text boxes, our computers automatically choose words from the site that has the form; for select menus, check boxes, and radio buttons on the form, we choose from among the values of the HTML'. Nevertheless, directions like 'nofollow' and 'noindex' are still respected, so sites can still be excluded from this type of search.'"
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Just think! (Score:5, Funny)

    by scubamage (727538) on Wednesday April 16 2008, @04:14PM (#23095774)
    Soon, they'll start injecting SQL too to help map databases! Google is so useful indeed! :)
    • by AKAImBatman (238306) <akaimbatman@gm a i l . com> on Wednesday April 16 2008, @04:28PM (#23095906) Homepage Journal
      Hmm... that reminds me of this DailyWTF [thedailywtf.com]. Who knew that Mr. Test User was such a big customer? :-P
      • Re: (Score:3, Informative)

        ... maybe a borked machine?

        Yeah, maybe your machine... That SQL-error looks more like bad session handling on the server hosting your Drupal installation than Google trying to do an SQL-injection... Actually, it looks nothing like an SQL-injection at all. MySQL is merely being asked to insert a duplicate value in a column specified as unique (`sid`), which it refuses because it's not unique. Don't expect an answer, since it's most likely not an error on Google's end.

        A little more on topic though, what

        • Re:Just think! (Score:5, Interesting)

          by Ariven (256118) <ariven@gmail.DEBIANcom minus distro> on Wednesday April 16 2008, @07:45PM (#23098378) Homepage
          I remember an article while back where someone had cut/pasted some articles from one section of their site to another.. and as a result had edit and delete links in the live content instead of on their internal web interface.

          And a search engine (I think it was google) crawled the site, hit the delete links and deleted all the pages of the site. At that time it was stated that any link that performs an action, such as delete, should be a post, via form so that search engines wouldnt do that very thing..

          And now, they are gonna start submitting forms? the fallout is gonna be entertaining.
      • Re:Just think! (Score:5, Interesting)

        by jc42 (318812) on Wednesday April 16 2008, @10:08PM (#23099630) Homepage Journal
        I had similar problems a few years ago. The database had a lot of data in a compact format, and I wrote some retrieval pages that would extract the data and run it through any of a list of formatters to give clients the output format they wanted. Very practical. Over time, the list of output formats slowly grew, as did the database. Then one day, the machine was totally bogged down with http requests. It turned out that a search site had figured out how to use my format-conversion form, and had requested all of our data in every format that my code delivered.

        Google wasn't too bad, because at least they spread the requests out over time. But other search sites hit our poor server with requests as fast as the Internet would deliver them. I ended up writing code that spotted this pattern of requests, and put the offending searcher on a blacklist. From then on, they only got back pages saying that they were blacklisted, with an email address to write if this was an error. That address never got any mail, and the problem went away.

        Since then, I've done periodic scans of the server logs for other bursts of requests that look like an attempt to extract everything in every format. I've had to add a few more gimmicks (kludges) to spot these automatically and blacklist the clients.

        I wonder if google's new code will get past my defenses? I've noticed that googlebot addresses are in the "no CGI allowed" portion of my blacklist, though they are allowed to retrieve the basic data. I'll be on the lookout for symptoms of a breakthrough.

  • Bright Planet's DQM (Score:4, Interesting)

    by eldavojohn (898314) * <my/.username@@@gmail.com> on Wednesday April 16 2008, @04:15PM (#23095788) Homepage Journal
    Several years ago, I tried a demo of Bright Planet's Deep Query Manager [brightplanet.com] that would essentially do these searches through a client on your machine in batch-like jobs. Oh, the bandwidth and resources you'll hog!

    Their stats on how much of the web they hit that Google missed was always impressive (true or not) but perhaps their days are numbered with this new venture by Google.

    Quite an interesting concept if you think about it. I always presupposed that companies would hate it but never got 'blocked' from doing it to sites.

    Here, suck up my bandwidth without generating ad revenue! Sounds like a lose situation for the data provider in my mind ...
    • Re: (Score:3, Interesting)

      You could build a really interesting "Deep Web" crawler by ignoring robots.txt. In fact, an index just of robots.txt files would be pretty cool in its own right. Call it "Sweet Sixteen" (10**100 in binary) or something.
      • Re: (Score:3, Interesting)

        One time when I was Deep Crawling a particular website I decided to take a peek at their robots.txt file. To my amazement they had listed all the folders that they didn't want anyone to find, yet had provided absolutely no security to prevent you accessing the content if you knew the location.

        It's cases like that where doing a half-arsed job is worse than not trying at all.
  • Oops... (Score:5, Funny)

    by JohnnyDanger (680986) on Wednesday April 16 2008, @04:16PM (#23095790)
    They just bought everything on Amazon.
    • Re:Oops... (Score:5, Informative)

      by Bogtha (906264) on Wednesday April 16 2008, @04:57PM (#23096200)

      This won't post forms of that sort. In the blog post, they say that they are only doing this for GET forms, which are safe to automate as per the HTTP specification.

      This is for things like product catalogue searches where you pick criteria from drop-down boxes. Not so common for run-of-the-mill e-commerce sites, but I've seen a lot on B2B sites.

      • HTTP spec be damned - has IE taught you nothing?
      • Re:Oops... (Score:5, Insightful)

        Unfortunately, there are tons of sites whose developers did not understand the part about GET being for looking up stuff, and POST being for making changes on the server.
            • What's it to Google (or a third party) if they mess up your pathetically-designed form?

              That depends. If they effectively launch a denial-of-service attack and eat zilliabytes of people's limited bandwidth by attempting to submit with all possible combinations of form controls and large amounts of random data in text fields, would that be:

              1. antisocial?
              2. negligent?
              3. the almost immediate end of their reign as most popular search engine as numerous webmasters blocked their robots?
              4. illegal?
              5. all of the above?
                  • Every time anyone raises a question like this, someone trots out robots.txt as if it is some sort of magic solution to all the potential problems. It is not.

                    For one thing, it is voluntary. Google and some other major search engines may respect it today, but they are under no obligation to do so, nor to continue to do so if they do now.

                    For another thing, depending on robots.txt makes the whole game opt-out. This is, IMHO, the wrong default for potentially unwelcome visits. We can't keep pretending it's O

  • by lastninja (237588) on Wednesday April 16 2008, @04:17PM (#23095806)
    only half kidding
    • Just what we need, some 'bot adding it's insightful comments based on other words in the same document...then again, on most sites, would you be able to tell the difference between Google posting something and some 1337 kiddiez?!?!!1eleven?
  • Forums? (Score:5, Funny)

    by fishybell (516991) <`moc.liamtoh' `ta' `llebyhsif'> on Wednesday April 16 2008, @04:18PM (#23095814) Homepage Journal
    Well, I certainly hope that they put in some decent smarts to prevent it from making posts onto forums, blogs, /., etc.


    On the plus side, this should enable Google to get by the "Must be 18 to view" buttons ;)

  • by Anonymous Coward on Wednesday April 16 2008, @04:19PM (#23095828)
    I am just submitting this form to see what's behind it. PLEASE IGNORE ME.
  • This brings up a concern from the description.

    So Googlebot will come across a web page.
    It follows a link.
    The link leads to a page with a form.
    Googlebot fills out the form based on content already on the site.
    Googlebot clicks submit.
    Googlebot goes to the next page, and continues to follow links.

    The problem comes when that form was a post form like the one I am typing on right now for a forum, or some other type of form to create user generated content. This makes it seem like google will see the text box an
    • Google indexes more than any other search engine by expanding the web themselves. It was moving too slow for them.

      Really though i don't think this will be a problem. People at google are pretty smart and i'm sure they've thought of this. Even if you believe google is evil there no evil corporate benefit to spamming garbled text to the entire internet.
    • Re: (Score:3, Informative)

      Seems to me it would be easy enough to detect the googlebot user agent, then if so, automatically redirect it to the page on the other end (or even send it to a random 404 page or something), all without processing the form data at all.

      <? if ($_SERVER['HTTP_USER_AGENT']=="User_agentMozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"); { header( 'Location: /landing_page.php' ) ; } else { processtheform(); } ?>

      Of course, this would have to be implemented, which would b

      • Re: (Score:3, Funny)

        Any forum that can't stop a "good" bot is going to have spam all over it anyway from the "bad" ones...
        C'mon there's no point in Google launching a war against phpBB, there are more than enough spambots doing that already.

  • good and bad (Score:4, Insightful)

    by ILuvRamen (1026668) on Wednesday April 16 2008, @04:20PM (#23095838)
    Well first of all, it's about time they learn how to read advanced sites! If your site is dependent on input from the user to display content, you're basically invisible to google. Now all they need is something to read text in flash files and they've got something going. But on the other hand, this is almost auto-fuzzing which could be considered hacking and I bet they'll often get results they didn't intend to and expose data that's supposed to be protected and private.
    • Re:good and bad (Score:5, Insightful)

      by QuoteMstr (55051) <dan.colascione@gmail.com> on Wednesday April 16 2008, @04:40PM (#23096022)
      And should we not make any progress because we might step on a few toes while doing it? If Google can get your into uber-secret-private-database, so ran random user, or random Russian cracker. Fix your damn site if you're worried about this particular attack.
    • Re:good and bad (Score:5, Insightful)

      by Bogtha (906264) on Wednesday April 16 2008, @05:02PM (#23096264)

      Now all they need is something to read text in flash files and they've got something going.

      They've indexed Flash for about four years now.

      I bet they'll often get results they didn't intend to and expose data that's supposed to be protected and private.

      No doubt. There are a lot of clueless developers out there who insist on ignoring security and specifications time and time again. I have no sympathy for people bitten by this, you'd think they'd have learnt from GWA that GET is not off-limits to automated software.

  • Cracking your forms. Sorry, could not help myself.
  • robots.txt (Score:5, Funny)

    by B3ryllium (571199) on Wednesday April 16 2008, @04:37PM (#23095986) Homepage
    Okay, so how long until the spec for robots.txt is updated to have a "DontBeStupid" directive?
  • by fahrbot-bot (874524) on Wednesday April 16 2008, @04:38PM (#23095990)
    our computers automatically choose words from the site that has the form; for select menus, check boxes, and radio buttons on the form, we choose from among the values of the HTML...

    ...post invoice forms ordering expensive items to be shipped to Google. Be sure to log incoming IP addresses for verification.

  • by kiehlster (844523) on Wednesday April 16 2008, @04:49PM (#23096118) Homepage
    If you haven't already noticed, AdSense has features now to tell Google how to log into your website so it can catalog your user-only pages. You know what that means. Porn sites are going to start using this so that Googlebot can confirm that it's age is over 18. We'll be showered with a gigantic wave of pornographic information. We will soon have to press juvenile charges against a corporate entity because it lied about its age on web forms to gain access to pornography and forum discussions.
  • by frovingslosh (582462) on Wednesday April 16 2008, @04:53PM (#23096160)
    Nevertheless, directions like 'nofollow' and 'noindex' are still respected, so sites can still be excluded from this type of search.

    Maybe they shouldn't be, at least not in all cases. Several years back I had done many Google searches for some information that was very important to me, but never could find anything. Then a few months later (too late to be of use), pretty much by a fortunate combination of factors but with no help from Google, I came across the exact information, on a .GOV website in a publicly filed IPO document. As far as I can tell, our US government aggressively marks websites not to be indexed, even when they contain information that is posted there to be public record. When these nofollow directives are over used by mindless and unaccountable bureaucrats, perhaps someone needs to make the decision that these records should be public and that isn't best served by hiding them deep down a long list of links where they are hard to locate. In cases like this I would applaud any search engine that ignores the "suggestion" not to index public pages just because of an inappropriate tag in the HTML. In fact, if I knew of any search engine that was indexing in spite of this tag, I would switch to them as my first choice search engine in an instant. For starters, I would suggest that any .GOV and any State TLD website should have this tag ignored unless there were darn good reason to do otherwise.

    • Re: (Score:3, Interesting)

      As far as I can tell, our US government aggressively marks websites not to be indexed, even when they contain information that is posted there to be public record.

      I'd mod you up if I had some points. I'm sure there are ethical implications or something when it comes to respecting the website owner's wishes not to index, but it's all public information anyway. If it's on the web and I can look at it, then Google should be able to look at it and index it.

      I had no idea that government sites don't allow themselves to be indexed. That is BULLSHIT. People often NEED information from .gov sites and ALL of it should be made easy to find. Refusing to allow indexing

  • Fuzzing the world (Score:3, Insightful)

    by corsec67 (627446) on Wednesday April 16 2008, @04:59PM (#23096222) Homepage Journal
    Sweet, now Google will be Fuzzing [wikipedia.org] the entire web.

    How will this work for forms that perform translations, validations and similar kinds of operations on other websites? Try to pull the entire internet through each such site it finds?

    And then not every web development environment forces GET to not change data. In Ruby on Rails, adding "?methond=post" to the end of a url fakes a post, even though it is actually a GET, which I disabled in the company I work for. Not everyone is going to do that.
    • Re: (Score:3, Insightful)

      In Ruby on Rails, adding "?methond=post" to the end of a url fakes a post, even though it is actually a GET, which I disabled in the company I work for. Not everyone is going to do that.

      More precisely: Not everyone has been doing that. I'm sure when Google comes along and exposes all their bugs they will quickly take the hint.

      I don't really see the problem. The developers who know what they are doing, like you, won't be adversely affected, while the incompetent developers have to scurry around fi

  • by arrrrg (902404) on Wednesday April 16 2008, @05:12PM (#23096424)
    When I interned at Google, someone told me a funny anecdote about a guy who emailed their tech support insisting that the Google crawler had deleted his web site. At first, I think he was told that "Just because we download a copy of your site, doesn't mean your local copy is gone." (a'la obligatory bash [bash.org].) But, the guy insisted, and finally they double checked and his site was in fact gone. Turns out that it was a home-brewed wiki-style site, and each page had a "delete" button. The only problem was, the "delete" button sent its query via GET, not POST, and so the Google spider happily followed those links one-by-one and deleted the poor guy's entire site. The Google guys were feeling charitable and so they sent him a backup of his site, but told him he wouldn't be so lucky the next time, and he should change any forms that make changes to POSTs -- GETs are only for queries.

    So, long story short, I wonder how Google will avoid more of this kind of problem if they're really going off the deep end and submitting random data on random forms on the web. Like the above guy, people may not design their site with such a spider in mind, and despite their lack of foresight this could kill a lot of goodwill if done improperly.
    • by poot_rootbeer (188613) on Wednesday April 16 2008, @04:51PM (#23096134)
      Do you realize the amount of wasted time the operators of some websites will spend, processing the trash data that doing this will create? I speak mainly of feedback forms, e-mail signups, and the like.

      If your site uses GET for a non-idempotent action like sending a feedback form or signing up for an email newsletter, you're doing it Wrong.

    • by Kristoph (242780) on Thursday April 17 2008, @12:26AM (#23100578)
      Do you realize the amount of wasted time the operators of some websites will spend, processing the trash data that doing this will create?

      If any forms which feed your DB are GET style, aren't user authenticated and/or don't use a CAPTCH then you already have a huge trash data problem. At least the googlebot won't offer to enlarge your penis.

      ]{
    • Re: (Score:3, Informative)

      Does that mean I'll have to introduce methods that waste people's time in order to prevent google from registering on my site multiple times?

      Yes, if you require all your human visitors to read your robots.txt [robotstxt.org], and then require them to check a checkbox to mean that they clearly read and understood the entire body of your robots.txt. Then yes, you'll have to introduce some sort of almost impossible-to-read translucent captcha written in classical Chinese.

      • by danielsfca2 (696792) on Wednesday April 16 2008, @11:44PM (#23100314) Journal

        I never understood the point of robots.txt crap. Why put the site up if you don't want people to find it?
        Well I'm glad you asked. The presence (and continued following) of the robots.txt standard is crucial for these reasons:

        - Scripts with potentially infinite results. If you have a calendar script on your site, that shows this month's calendar with a link to "next month" and "previous month" then without Robots.txt, the search engine could index back into prehistoric times and past the death of the Sun, with blank event calendars for each month. This is stupid. With your robots.txt file you tell the spider what URLs it's in BOTH your best interests not to crawl. You save server resources and bandwidth, Google saves their time and resources.

        - If you have a duplicate copy or copies of your site for development, or perhaps an experimental "beta" version of your site, you don't want it competing with the real site for search engine placement, or worse, causing SE spiders to think you're a filthy spammer with duplicate content all over the place. So you disallow the dupes with robots.txt. Now sure ideally that server could be inside your firewall instead of on the Web, but it gets more challenging when your dev team is on a different continent.

        - Temporary crap that has no value to the outside world, once again, it's a waste of both yours and the search engine's time to index it.

        The above are all reasons why you might want some or all of the content on a site not indexed.
    • Re: (Score:3, Informative)

      Of course they could link to a site and make the browser perform a POST. That's trivial. A form and some javascript will do that no problem. They seem to not be doing that because GET forms should be non-destructive, whereas POST forms can be quite destructive.