Perhaps Viacom should have just asked nicely for Google's YouTube code.
This week, athat Google turn over its YouTube source code, arguing that "YouTube and Google should not be made to place this vital asset in hazard merely to allay speculation."
Ironically, on that same day, Google freely open-sourced Ratproxy, a passive Web application security audit tool developed for Google's internal use and now made generally available.
We decided to make this tool freely available as open source because we feel it will be a valuable contribution to the information security community, helping advance the community's understanding of security challenges associated with contemporary Web technologies. We believe that responsible security research brings a net overall benefit to the safety of the Web as a whole, and have released this tool explicitly to support that kind of research.
You just had to say "Pretty please," Viacom.. It just doesn't want to be sued into contributing its code.