D
D
Dogata2017-06-22 05:51:37
ruby
Dogata, 2017-06-22 05:51:37

Why encrypt scripts like PHP with ionCube 9?

I don't program in PHP. I read that there is ionCube 9. Explain why it is? When is it applied? Give a real example.
I have never heard of such libraries for python and ruby. They are?
and
why exactly for php they are?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Alexander Aksentiev, 2017-06-22
@Sanasol

But seriously, it seems to speed up the loading of scripts. Something like compiling to bytecode.
marketing shit 146%
couldn't be faster with at least one more processing from above in the saw module to run the encoded code. Resources, on the contrary, will gobble up more, the speed will not drop at best.
when you sell a self-hosted php product that has a license check or just super ingenious algorithms that you don’t want to disclose. More often, of course, there are no ingenious things there and they encrypt only for the sake of checking the license and disabling the software when the license is over.
As a rule, all versions (except the most recent ones) of any ransomware are relatively easy to reveal using Google / DeZender forums or even online services.
The autopsy is not always free of charge and it does not always work (the accuracy is not 100% when restoring, you will catch the essence, but the sources will not be working).
The essence of the opening is to remove / bypass the license check.
Because you can’t think of anything special there, then checking a license is often just a request to the seller’s website from the category
$license_ok = file_get_contents("http://shopcms.com/check_license.php?domin=customer.com");
if($license_ok) {
//ok
} else {
die("Pay for license");
}

Therefore, it manages something like this:
Without changing the original code and working with encrypted sources (if it was not possible to decrypt it to the end, but the essence of the license check is clear)
1. Wrapping the seller's website on a localhost with a perpetual license. (to register a file in hosts)
2. Substitution of global variables ($_SERVER) so that the domain on which there is a license is checked. (insert into index.php or other place where sources are open)
If the sources are decrypted correctly and work
3. Cutting out the license check from the sources.
Too lazy to search, or rather there is no search for answers, but I already wrote.
I believe that encryption will not increase sales in any way or protect against mom's hackers.
Who really wants to - he will break, in case of failure he simply will not use it.
Who is adequate - will pay in any case for the SERVICE / MAINTENANCE. Those. receive updates and developer support.
A LOT of scripts lie hacked or go from hand to hand in bulk, but I have not seen that the development of at least some good product after that was stopped or closed for financial reasons.
I even think this has a positive effect on the product and its customers, no PR.
Perhaps even comparable to the fight against pirates.
Close torrents, video sites, sue because of "lost profits".
At the same time, they continue to shoot and profits only grow over the years.
No one has ever proved that the distribution of kinets / games on a torrent equals loss of profit.
And again, on the contrary, it helps some products to increase the audience.
PS. I forgot the decision to write competent in my opinion.
1. If you really have super-duper secret algorithms that no one knows or can repeat.
Use only the SaaS model or perform calculations through your server (but the product will still be on the client's server).
2. If there are no Google / Pentagon / ISIL / Telegram hacking algorithms there.
Just give open source to work.
3. If you write very bad code and feel ashamed or good code but you are greedy.
Use SaaS.
Technologies allow you to bind a client's domain to you, create a separate workspace (virtual / server) for it, and everything you can think of.

E
Eugene, 2017-06-22
@Eugeny1987

ionCube is needed to protect your code from edits, illegal use, etc.

E
Eugene, 2017-06-22
@immaculate

To hide the govnokod. It's embarrassing, I guess.
But seriously, it seems to speed up the loading of scripts. Something like compiling to bytecode.

R
romy4, 2017-06-22
@romy4

It doesn't make much sense to encrypt. So, for inner peace of mind, the
Code inside is decoded into internal buckets and can be taken out by any other module and compiled as source code.

B
Boris Korobkov, 2017-06-22
@BorisKorobkov

Just yesterday, one "programmer" was going to take free Wordpress , encrypt it with ionCube and sell it.
Why encrypt? And so that buyers could not find out that they were sold a free CMS under the guise of a new brilliant development by Denis Popov .
But seriously, no self-respecting company will put on its server hell-knows-what-encrypted. For this is comparable to how to give the keys to your apartment to someone unknown.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question