I'm really newbye of Obfuscation code, and i have to say a lot of thanks to an Anonymous Monk for the help and some links. Now this 3° script is something better than Obfusc.lotto. What do you think?
#!/usr/bin/perl -w use strict; $_=' ??????????????????????????????????????????????????????? ??????????????????????????????????????????????????????? ??????????????????????????????????????????????????????? ??????????????????????????????????????????????????????? ??????????????????????????????????????????????????????? ????s?r?a?n?d?;?m?y?@?c?=?(?1??.?.?9?0?)?;????????????? ????????????m?y???????????????????????????????????????? ???????$?i?=?0??;?????????????????????????????????????? ??????????????????????????????????????????????????????? ??????????????????????????????????????????????????????? ???????????w????h??i??le??????????????????????????????? ????????????(???$??i?<5)??????????????????????????????? ????????????????{??m???y$e=???????????????????????????? ????????????????????i?n?t?????????????????????????????? ??????????????????(??r????and?????????????????????????? ??????????????????(?????$?????#c??-???$i)?????????????? ?????????????????????????????????????????);???????????? ??????????????????????????????????????????????????????? ??????????????????????????????my??$u???=$#c-$i;???????? ???????????????????????????($???c???[??$??e]??,???????? ???????????????????????????????$c[???$u])?????????????? ???????????????????????????????=?(??$??c??????????????? ???????????????????????[??$u??],??$??c[??$e]);????????? ????????????????????????p?r?i?n?t?"???????????????????? ??????????????????????$c[??????$u]\??n";??????????????? ??????????????????????????????????????????????????????? ?????????????????????????????$i++;}???????????????????? ??????????????????????????????????????????????????????? ??????????????????????????????????????????????????????? ??????????????????????????????????????????????????????? ??????????????????????????????????????????????????????? ??????????????????????????????????????????????????????? '; $_=~s/\?//gm; eval $_;

Mmmm i Try to make a better format in next version?

Replies are listed 'Best First'.
Re: Practicing Obfuscation CODE
by cchampion (Curate) on Jun 08, 2004 at 17:04 UTC

    Easy SPOILER

    perl -pe 's/eval/print/' tucano_obfu.pl | perl | perltidy

    And here is the real code:

      Your code is not equivalent to his though. You're missing the logic that makes sure all picked numbers are unique. Try changing the 90 to 10, it shouldn't take more than a few tries to get dupes with your code. Something like the below would work (though not very obfuscated):