Jan 'jast' Krueger
12/29/2005 12:41:00 PM
Hi,
>># Best regards, Jan 'jast' Krueger <jast at ruby-co de>
>>print'text: ';l=gets;I=['%q,0-9a-f,',',','%q,(-/:-@[,'];i="pack"+
>>"('H*')";l=eval("l.un#{i}[0].tr #{I}"); $><<"$><<[%q_#{l.gsub /(^
>>\W{64}|\W{72})/x,"\\1\n"}_.\ngsub(/\\s/,'').tr(#{I.reverse})]."+i
>
> I have a question:
> What exactly does that bit of obfu do?
As suggested, it generates obfuscated code that outputs a given string,
formatted to make it suitable for e-mail signatures. I'm way too lazy to
write my obfuscated signatures myself. ;)
--
# Best regards, Jan 'jast' Krueger <jast at ruby-co de>
print'text: ';l=gets;I=['%q,0-9a-f,',',','%q,(-/:-@[,'];i="pack"+
"('H*')";l=eval("l.un#{i}[0].tr #{I}"); $><<"$><<[%q_#{l.gsub /(^
\W{64}|\W{72})/x,"\\1\n"}_.\ngsub(/\\s/,'').tr(#{I.reverse})]."+i