Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

(zdog) Re: notsogood

by zdog (Priest)
on Jan 18, 2001 at 07:22 UTC ( #52681=note: print w/ replies, xml ) Need Help??


in reply to notsogood

After anylyzing the code, I realized why this is notsogood. The reason is that the actual code in the obfuscation is very simple and most of the "obfuscation" is really ASCII art. If you strip it of the art you get these 7 lines:

$_='$;JustAnotherPerlHacker'; # assign '$;JustAnotherPerlHacker' to $_ $_=reverse; # reverse it chop; # chop the '$' off chop; # chop the ';' off $_=reverse; # unreverse it s/([JAPH])/$".lc($&)/ge; # put spaces before the letter J,A,P,H and ma +ke them lowercase print; # print it

Good obfuscated code should have the code hard to read and not be difficult to read because it is surrounded by a bunch of random characters. This is also the reason why strict and -w don't work here. I don't want to sound insulting or offensive, it's just that I want to show people how to make their obfuscations better.

Zenon Zabinski | zdog | Zenon.Zabinski03@students.bcp.org


Comment on (zdog) Re: notsogood
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://52681]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-12-19 06:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (71 votes), past polls