
Within a mere 24 hours of its release Google Video Viewer has been hacked by non other than Jon Johansen, of deCSS fame.
The crack itself is actually quite simple and was just a question of reading the diff Google added to VLC (VLC being of course the player that Google based its video viewer on). The code in question is the following:
+ // Google mods
+ const char* allowed_host = \"video.google.com\";
+ char * host_found = strstr(p_sys->url.psz_host, allowed_host);
+ if ((host_found == NULL) ||
+ ((host_found + strlen(allowed_host)) !=
+ (p_sys->url.psz_host + strlen(p_sys->url.psz_host)))) {
+ msg_Warn( p_access, \"invalid host, only video.google.com is allowed\" );
+ goto error;
+ }
Even a complete noob should be able to understand this. The patch to undo this “feature” can be downloaded here. O how I love open source ![]()


No Comments so far ↓
There are no comments yet...Kick things off by filling out the form below.