Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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
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 stunnix.com?

      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?

      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://243133]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (16)
As of 2014-09-23 17:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (234 votes), past polls