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

John Jannotti jj at lcs.mit.edu
Wed Apr 10 17:55:19 EDT 2002


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



More information about the Discuss mailing list