Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Re: Here is a commercial obfuscator

by Anonymous Monk
on Mar 14, 2003 at 17:53 UTC ( #243133=note: print w/replies, xml ) Need Help??

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

OK, write support for the rest part of features, and then test the result with a lot of real multi-module apps (ensuring the obfuscated version not only works, but exactly as original), fix bugs in B::Deparse and in your patch, and start testing again. Then write docs. That's where remaining 99+ hours will be spent. Good luck. As for recently registered domain name - so keep away from all startups and come back to them after 1 year of product life then. /Regards.
  • Comment on Re: Re: Here is a commercial obfuscator

Replies are listed 'Best First'.
Re: Here is a commercial obfuscator
by crenz (Priest) on Mar 14, 2003 at 18:22 UTC

    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

      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

      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://243133]
[Corion]: Hi thezip ;)
[thezip]: Howdy Corion

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2017-04-27 15:44 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (509 votes). Check out past polls.