Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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

Replies are listed 'Best First'.
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

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?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://243140]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2018-06-25 03:50 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.