Flutterby™! : new Perl CSS descrambler

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

new Perl CSS descrambler

2001-03-07 20:16:11+01 by Dan Lyke 1 comments

/. reports a new Perl CSS descrambler (now this'll be a test of my formatting engine...) that's posted on Dr David Touretzky's Gallery of CSS Descramblers and reproduced here because, well, that's what we do. Also of note, the /. entry contains an optimized version apparently fast enough to do this in real time.

#!/usr/bin/perl -w # 526-byte qrpff, Keith Winstein and Marc Horowitz <sipb-iap-dvd@mit.edu> # MPEG 2 PS VOB file on stdin -> descrambled output on stdout # arguments: title key bytes in least to most-significant order ='while(read+STDIN,,2048){=29;=142;if((@a=unx"C*",)[20]&48){=5; =unxb24,join"",@b=map{xB8,unxb8,chr(^[--+84])}@ARGV;s/...$/1$&/;= unxV,xb25,;=73;=256|(ord[4])<<9|ord[3];=>>8^(=(=255)&( >>12^>>4^^/8))<<17,=>>8^(&(=(=>>14&7^)^*8^<<6))<<9 ,=(map{%16or^=^=(=(11,10,116,100,11,122,20,100)[/16%8])&110; ^=(72,@z=(64,72,^=12*(%16-2?0:&17)),^=%64?12:0,@z)[%8]}(16..271)) []^((>>=8)+=+(~&))for@a[128..$#a]}print+x"C*",@a}';s/x/pack+/g;eval

[ related topics: Intellectual Property Politics Technology and Culture ]

comments in descending chronological order (reverse):

#Comment made: 2002-02-21 06:31:20+01 by: Dan Lyke

From the Prime Pages, the world's first illegal prime, when converted to hex it's a gzip of the DeCSS source code:

4856507896573978293098418946942861377074420873513579240196520736 6869851340104723744696879743992611751097377770102744752804905883 1384037549709987909653955227011712157025974666993240226834596619 6060348517424977358468518855674570257125474999648219418465571008 4119086259716947970799152004866709975923596061320725973797993618 8606316914473588300245336972781813914797955513399949394882899846 9178361001825978901031601961835034344895687053845208538045842415 6548248893338047475871128339598968522325446084089711197712769412 0795862440547161321005006459820176961771809478113622002723448272 2493232595472346880029277764979061481298404283457201463489685471 6908235473783566197218622496943162271666393905543024156473292485 5248991225739466548627140482117138124388217717602984125524464744 5055834628144883356319027253195904392838737640739168912579240550 1562088978716337599910788708490815909754801928576845198859630532 3823490558092032999603234471140776019847163531161713078576084862 2363702835701049612595681846785965333100770179916146744725492728 3348691600064758591746278121269007351830924153010630289329566584 3662000800476778967984382090797619859493646309380586336721469695 9750279687712057249966669805614533820741203159337703099491527469 1835659376210222006812679827344576093802030447912277498091795593 8387121000588766689258448700470772552497060444652127130404321182 610103591186476662963858495087448497373476861420880529443

Comment policy

We will not edit your comments. However, we may delete your comments, or cause them to be hidden behind another link, if we feel they detract from the conversation. Commercial plugs are fine, if they are relevant to the conversation, and if you don't try to pretend to be a consumer. Annoying endorsements will be deleted if you're lucky, if you're not a whole bunch of people smarter and more articulate than you will ridicule you, and we will leave such ridicule in place.


Flutterby™ is a trademark claimed by

Dan Lyke
for the web publications at www.flutterby.com and www.flutterby.net.