Re: Descrambling CSS w/ 7 Lines Of Perl

2001-03-10 Thread Paul Makepeace
On Thu, Mar 08, 2001 at 04:58:11PM +, [EMAIL PROTECTED] wrote: > This includes the new way to get the source via the DNS, which still works, and >doesn't use zone transfers: > > for DVDs in Linux screw the MPAA and ; do dig $DVDs.z.zoy.org ; done | \ > perl -ne 's/\.//g; print pa

RE: Descrambling CSS w/ 7 Lines Of Perl

2001-03-08 Thread pmh
On Wed, 7 Mar 2001 17:02:39 -0800, Simon Batistoni wrote: > Anyway, the guy who originally posted the perl code to the web is archiving > as many copies of DeCSS as he can get his hands on, going as far as the rock > song which uses the code as the lyrics: > > http://www.cs.cmu.edu/~dst/DeCSS/Gal

RE: Descrambling CSS w/ 7 Lines Of Perl

2001-03-07 Thread Simon Batistoni
> its at times like this, the fact we are archived suddenly seems > a good thing (TM) That occurred to me as I was posting it, although it could actually make it a violation of the DMCA to read our archive anywhere inside the borders of the US... :) Anyway, the guy who originally posted the perl

Re: Descrambling CSS w/ 7 Lines Of Perl

2001-03-07 Thread Robin Houston
On Wed, Mar 07, 2001 at 04:44:54PM +0100, Philip Newton wrote: > Try posting to Fun With Perl; they like playing golf there. What do you think I did, immediately after posting here? :-) FWP is so bloody slow though, that it hasn't got there yet AFAICT... .robin. -- God! a red nugget: a fat e

Re: Descrambling CSS w/ 7 Lines Of Perl

2001-03-07 Thread Philip Newton
Robin Houston wrote: > Any more obvious shavings? Try posting to Fun With Perl; they like playing golf there. Cheers, Philip -- Philip Newton <[EMAIL PROTECTED]> All opinions are my own, not my employer's. If you're not part of the solution, you're part of the precipitate.

Re: Descrambling CSS w/ 7 Lines Of Perl

2001-03-07 Thread Robin Houston
Nice. I'm sure it can easily be shortened some more. Without even understanding what it does, it seems pretty clear that we can shave 2 bytes by changing: $_='while(read+STDIN,$_,2048){ into $_='$/=\2048;while(){ Any more obvious shavings? .robin. -- Satan, oscillate my metallic sona

Re: Descrambling CSS w/ 7 Lines Of Perl

2001-03-07 Thread Leon Brocard
Simon Batistoni sent the following bits through the ether: > I know most people here probably read Slashdot, but this was too sweet to > pass up. It's cute. Doing the 'x' -> 'pack+' substition by hand and then running through perltidy (http://perltidy.sourceforge.net/, does a pretty good job) gi

Re: Descrambling CSS w/ 7 Lines Of Perl

2001-03-07 Thread Greg McCarroll
its at times like this, the fact we are archived suddenly seems a good thing (TM) * Simon Batistoni ([EMAIL PROTECTED]) wrote: > Wow! A perl post on london.pm... > > I know most people here probably read Slashdot, but this was too sweet to > pass up. > > #!/usr/bin/perl -w > # 526-byte qrpff,