http://www.perlmonks.org?node_id=527624

Something a little better!
#!/usr/bin/perl open s,">#\!/usr/bin/python";;$#=$/;seek s,"m/^j.a.p.h.!$/";:print s"# +\!/usr/bin/perl",+0;;$_=(<0>)[-2];$/=q*(\w)*; @#=(36.32.32.44.101.114.99,107.104.97.32,114.108.80.101,32.101.114.116 +,104.110.111.97,32.115.116.74.117.32.32.36,); $_=join '',eval("$_");*#=*_;$#=~s*^\$(.+)\$$*$1*;print ~~ reverse join + ' ',map{s$\$/\$/$\$2\$1$g&&$#}split(' ',$#);


Mago
mago@rio.pm.org


Replies are listed 'Best First'.
Re: Just another obfuscation code !
by olus (Curate) on Feb 03, 2006 at 21:00 UTC
    Your hack unveiled
    open s,">#\!/usr/bin/python";/seek s,"m/^j.a.p.h.!$/";print s"#\!/usr/ +bin/perl",+0;$_=(<0>)[-1];$/=q*(\w)*; s/^[^']*(.*)\).*/$1/;s/'(,')*/&/g;$_=join'',split/&/;*#=*_;$# =~s*^\$( +.+)\$$*$1*;print ~~ reverse join ' ', map{;;s$\$/\$/$\$2\$1$g&&$#;}split(' ',$#);$/=q*()*;@#=('$ ,erc','kha + ','rlPe',' ert','hnoa',' stJu $',);


    -- olus;