Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pri.blu@iadonisi.to: Re: Obfuscated URL]



You might as well go whole hog:

perl -MURI -e 'print URI->new($ARGV[0])->canonical."\n"' <your url>

kclark at CetaceanNetworks.com (Kevin D. Clark) writes:
> Paul Iadonisi <pri.gnhlug at iadonisi.to> writes:
> 
> >   Even better, attached is a bash script to do the conversion.  I'm sure
> > it'll quickly be reposted by a perl monk as a one line perl script.
> > Have at it.
> > 
> > On Wed, Apr 10, 2002 at 07:47:21AM -0400, Jonathan Arnold wrote:
> > > Here's a link to help decipher an obfuscated URL:
> > > 
> > > http://www.samspade.org/t/
> 
> How about:
> 
> $ perl -MURI -e '$u = URI->new($ARGV[0])->canonical; 
>                  print $u1->as_string(), "\n"' <your obfuscated URL>
> 
> 
> Regards,
> 
> --kevin
> -- 
> Kevin D. Clark (cetaceannetworks.com!kclark)  |   Will hack Perl for
> Cetacean Networks, Inc.                       |  fine food, good beer,
> Portsmouth, N.H. (USA)                        |       or fun.
> alumni.unh.edu!kdc (PGP Key Available)        |
> 
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org