Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Here is a commercial obfuscator

by crenz (Priest)
on Mar 14, 2003 at 18:22 UTC ( #243140=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Here is a commercial obfuscator
in thread Here is a commercial obfuscator

That diotalevi was able to whip that patch up in 1/2 hour indicates that "obfuscation" by variable renaming is not useful at all. One could create a similar patch that renames those variables back. Eg I select a piece of code which contains an interesting algorithm (do you really think anyone would care to reverse engineer a whole software package?), and first replace the variables with var1...varN. Then, as I grasp the meaning, I replace the names one by one by something sensible. It's really not much effort. That is, if you have the time to do an easter-egg hunt for bugs/special features in other people's code.

By the way, why are you still staying anonymous? You are expressing strong opinions, which is perfectly alright, but it would be easier to take you more seriously if one could associate a name with the posts.

Also, in what way are you affiliated with stunnix.com?


Comment on Re: Here is a commercial obfuscator
Re: Re: Here is a commercial obfuscator
by Anonymous Monk on Mar 14, 2003 at 18:59 UTC
    It seems you just can't imagine how many distinct variable and method names can be used in 500k app written in Perl. As for me - I'm a happy user and a fan of their product. I'll register soon.
      Why would you want to use Perl if the source is out there? Wouldn't it be cheaper to get a language you don't have to worry about obfuscating?
Re^2: Here is a commercial obfuscator
by diotalevi (Canon) on Mar 14, 2003 at 19:05 UTC

    Keep in mind my example is a bit too simple - it needs a way to exempt some symbols including those provided by perl, desired configuration variables anything exported by modules. It should be 100% safe to stomp all over pad variables - I'm a little leery of the globals because other things may attempt to do strange and untoward things which would be broken by renaming it out of the way. So its not perfect but its flaws are well known and can be corrected with a minimum of effort.


    Seeking Green geeks in Minnesota

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2014-08-30 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls