No, you can't
Obfuscating code to protect it is like putting a big stone in front of your house's door. It won't prevent people from getting in. It will just give them extra work.
The more you obfuscate, the more likely you are to challenge the great hackers who deobfuscate just for fun
I am yet to see obfuscated code I can't deobfuscate (but sure, if you give me obfuscated code in a language I don't understand... it's going to take me some time).
No, I don't. I'm sorry, but I have to disagree...
I wonder... (Score:1)
been there, done that (Score:2)
But, the company I was at was never foolish enough to believe that encrypting scripts made the code saf
I, haX0r (Score:2)
require the code
walk the symbol table looking for globals and subroutines
Data::Dumper the globals
B::Deparse the subroutines
The tricky part was the file-scoped
Re:I, haX0r (Score:2)
Re:I, haX0r (Score:2)
Re: (Score:1)
Man what the heck is that doing on an O’Reilly site.
I do have to qualify that obscurity is not the devil: there is no need to help an attacker along, regardless how safe you think you are. It’s way foolish to rely on obscurity as the your sole line of defense, though. That’s just asking for trouble.
Those who do not learn from history... (Score:2)
Every anti-piracy method is based on this assumption. Every one fails because it is not true. It was not true back when it was a bunch of computer nerds copying 5 1/4" floppies using BitNibbler downloaded off a dial-up BBS and its not even remotely true now with your grandma downloading music over BitTorrent.
The vast majority do not need to break the obfuscation. Just one.