Cracking Google's Video Viewer
Jon has released a crack for google’s video viewer which allows you to view movies from anywhere (as opposed to those hosted only by google.com). Here is the crux of the code which prevents that: 1 2 3 4 5 6 7 8 9 // 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....