Google launched a new code search feature today. At least two sites already offer this functionality, but a great deal of attention follows Google wherever they go.
Code search is a great resource for web developers and programmers, but like the making available of all previously unsearched bodies of information, it's given lots of flashlights to people interested in exploring dark corners. Here are some things that people have uncovered already:
- Key generation algorithm for WinZip (via airbag)
- Wordpress usernames and passwords. Looks like a lot of these are the result of people zipping/tarring up their Wordpress files and putting the zip/tar file in a publicly accessible directory. I imagine other such applications are just as susceptible to this issue. (via airbag)
- Like Movable Type. This only turns up one username/password, but it's for Gawker. Which in turn reveals this open directory with all sorts of code and u/p goodies...but they restricted access to it after being notified of the problem.
- Profanities. Try your own. (via andy baio)
- Possible buffer overflow points. (via live aus der marschrutka)
- Tons of nerd jokes like "here be dragons".
- Confidential code and code with restricted rights. (via digg)
- Coders complaining about stupid users. (thx, zacharie)
- All sorts of code that needs to be fixed. (thx, andy & david)
- Programmers who want to get a new job. (thx, brian) In the office just now, we were talking about turning Google Code Search into a job posting board by inserting "Like our code? Come work for us!" text ads in the comments of source code which is then distributed and crawled by Google.
- Kludge-y code. (thx, nick)
- You can also use it for vanity searches. A surprisingly small amount of code is returned on a search for Linus Torvalds. Jamie Zawinski. Alan Cox. There have to be more prolific programmers out there... (thx, justin)
- Programmers coding while drunk. Also: "I am drunk and coding like I am the greatest coder of all time." (thx, tom)
- Customer databases with names, addresses, zip codes, phone numbers, and weakly encrypted passwords. Ouch. (No link to this one because I don't really want to get anyone's data out there.) (thx, jon)
- Expression of which programming language sucks more. For instance, Python sucks. (thx, paolo)
- Code vulnerabilities: "this will crash". (thx, james)
- Listing of some backdoor passwords. (thx, james)
- Programming errors. (thx, charles)
Got any other Google code search goodies? Send them along. If you find this interesting, Digg this story.