Prints out J.A.P.H. in a myriad of ways, and occasionally does something completely different.
#!/usr/bin/perl
use LWP::Simple;$_='http://66.39.54.27';$c=get("$_/?node=1597");
while ($c =~ m/<a id =\"post-head-id(.*?)\"/g)#I'm Just Another
{push(@_,$1);};($_[0] eq 435603)?$_[0]=$_[1]:1;#noob Perl Hacker
getstore("$_/?displaytype=displaycode;node_id= $_[0]", "1");#>=)
system("perl -w 1"); system(($^O eq 'MSWin32')?'del 1':'rm 1');#
-This can take a while to run at times
What it Does
Whether or not this code does anything interesting depends on whether anything interesting has recently been posted to the main OBFU site: www.perlmonks.org/?node=Obfustcated%20Code (a.k.a 66.39.54.27/?node=1597).
This code uses LWP to download the HTML of this webpage. The HTML is then examined to extract all of the node numbers from the postings. The code for the most recent node is downloaded and run, so long as this node (435603) is not the most recent (we wouldn't want to start an infinite loop, now would we). If there is no more recent node than this one, then the previous node's code is downloaded and run. If there are no code tags in the relavant node, nothing happens.
Most of the code posted in obfuscated code prints "J.A.P.H". Therefore, that's what this script will do....most of the time.