in reply to Obfuscindex.html

I have been looking at this code for a while and can't figure out what does what. Do you think you could post a spoiler for us, or anyone out there that knows how this does what it does please post one?

Wanna be perl hacker.
Dave AKA damian

I encourage you to email me

Replies are listed 'Best First'.
Re: Re: Obfuscindex.html
by turnstep (Parson) on Jan 30, 2001 at 22:16 UTC

    Some (minor) spoilers follow. I don't have time to parse through the whole thing right now, but if anyone has the urge to, that would be great.

    The entire "Content-type" string is a sort of red herring and is never printed out, although the script does create an html file. Basically use it like this:

    obfuscindex.pl > foo.html
    and then take a look at the foo.html file in your favorite browser. Most of the script is spent getting a string ready to pass into the eval near the end. Then the rest of the script munges the output of the eval a bit, and outputs it. This was for the Obfuscated Perl Contest category 2: "World Wide Wasteland". The object was to create a truly horrific web page. Keeping it under 512 characters was definitely the hardest part, but it was a nice challenge. The result is certainly a very ugly, if oddly familiar, web page. Will not work on a Solaris box (hint hint).