Smoking toooooo much PHP



Programmer
Im sure you have heard this phrase before.

"Locks are to keep honest people honest, dishonest people will find a way around the lock".

In the C world, compiling of code is not about security its just the way C works. They are removing that "extra" step which provides for faster running and a easier to distribute product. There are decompilers out there, How do you think people hack games?

Compiling of php keeps the honest person honest, thats it. The dishonest person will always find a way around what ever method your using to protect your scripts!

Look at the ipod, half the time it doesn't even take a day after some release for a new version of some program to unprotect itune files pops up.


#1 - Richard Thomas ( Link) on 18 Mar 2006, 22:20 Delete Comment
-
Indeed, with Derick's VLD You can dump the opcodes.

But how do You map/parse the Opcode back to php source ?

That's a challenge!
#2 - JurgenD ( Link) on 30 Apr 2006, 04:47 Delete Comment
Chef
Nice story!

I hope they will crack it. I never by php if the code is encrypted.
#3 - Mathias C ( Link) on 01 May 2006, 01:34 Delete Comment
Let's consider this a little
"I never by php if the code is encrypted."

People with this attitude have never paid for any source code in their life, and never will.

"Compiling of php keeps the honest person honest, thats it. The dishonest person will always find a way around what ever method your using to protect your scripts!"

This is correct and absolutely fine. It is where much of the value in the better tools lies with their ability to help do what any business must do, which is maximise revenue. Let's consider the two factions that you identified.

Dishonest people, the types that will hack if they can or else spend days or weeks looking for hacked software, do not buy software, period. Therefore whether they eventually do or don't get hold of hacked software is irrelevant to the provider as it does not represent any loss of revenue. Sure it's annoying but that's it, and there is even the possibility that one day the dishonest person, once they finish school and leave home to enter the real world, may mend their ways and actually buy the product, and this may never have happened had they not been able to have an extended "trial" and grow to appreciate a product.

This leaves us with the honest person and the issue of temptation. No shop would let people walk out with products for free and the offer to come back and pay if they like it, but this is precisely what software providers are doing if they provide evaluations in source form. The major value of the better protection tools is therefore to take away temptation by making access to source code substantially non-trivial, particularly during the evaluation process, and this can boost sales revenue by several times. It's a simple fact that no solution can offer total security, whether it's to software, your house or car, or anything else, but it's also the case that it doesn't need to. The maximum damage to a business comes not from software theft of protected solutions, but from not having any protection at all, and the benefit to a business from adding non trivial code protection is immense.
#4 - Commentator ( Link) on 30 Sep 2006, 20:27 Delete Comment
Not True...
"Dishonest people, the types that will hack if they can or else spend days or weeks looking for hacked software, do not buy software, period."

I have to hack code and software that I have purchased to make some minor tweaks.

For example: I have a google checkout module for a CMS that was purchased from a company and installed on a domain alias. Before the site goes live I have to crack the code to put the correct url in. If the code was written to account for this there wouldn't be a problem, but when is code ever perfect(my code included)? If I contact the company that I purchased the module from, I will have to wait until who knows how long before going live. It is true sometimes there is no delay, but my customer wants to go live now that the project is basically completed. Do I wait, delaying getting paid from the customer longer or just hack the code and get paid now?

Another Example: I use both windows and Linux. I can't stand being required to register my Windows license with Microsoft. Someone came up with a hack to fix that and since I purchased my copy of Windows who is being unethical or dishonest?

There are plenty of other examples I can post, but the reality is sometimes the honest people really do need to hack to make life better and easier. You shouldn't close your mind and think outside the box. There are always possibilities or reasons you haven't thought of.

I realize the comments on this page are old, but I just came across this and had to throw my 2 cents in.


#5 - Dan ( Link) on 04 Apr 2009, 01:40 Delete Comment


Add a comment (requires javascript!)

Name
Email
Homepage
Comment Title
Comment
 
Don't bother spamming, I will just delete the comments
Contact me at alan@akbkhome.com