What is the encryption principle of phpjm.net?

Source: Internet
Author: User
Title Http://www.phpjm.net/encode.html What is this encryption method? PHP files are garbled, and as long as the changes in the file comments, the file will not run, the principle is?

In addition, http://zhaoyuanma.com/phpjm.php this thing can also crack the above encryption, principle is?

Off-topic, this ... Is it the legendary ... Industry chain?

Reply content:

Title Http://www.phpjm.net/encode.html What is this encryption method? PHP files are garbled, and as long as the changes in the file comments, the file will not run, the principle is?

In addition, http://zhaoyuanma.com/phpjm.php this thing can also crack the above encryption, principle is?

Off-topic, this ... Is it the legendary ... Industry chain?

Garbled parts:

https://segmentfault.com/q/1010000004145305/a-1020000004424387

The problem with changing files does not work correctly is:

When executed in the code, the header string is detected with get_file_contents (__file__).

In addition, there are two huge performance issues with this code encryption:

    1. Get_file_contents at least one more system I/O, with a huge loss of performance

    2. Eval

Looks like just changed the code (the variable name into a garbled god horse ...)
Base64, what's the encryption?
Guess phpjm_ god horse horse is supposed to be a special key ...
It's not really encrypted anyway, just wait for Daniel to have a more detailed introduction to verify my guess.

Code encryption strictly speaking is only a code, because it does not require extra information. What is called "Encryption" is only for those who try to steal glimpse source code.

As a result, all the code will show up in the run (there may be a bit of change, but the price.) ), which is a common method of decoding all Code "encryption".

As a result, there are two kinds, one that is not only difficult to read, but one that allows the code to read.

The former is more of a confusion, that is, to delete the extra information that is produced at the time, leaving only the necessary, which is irreversible (the flower instruction confusion is the opposite, adding extra characters, the amount of information may not change).

The code is stored elsewhere, and the main program is replaced by a program that has access to the source codes.

Where is it saved? A. Native language figures, such as strings and numbers. B. C. single file.

For PHP code and non-code mixed language, stored in the file is not the same as the content of C.

Thus, the first problem ends.

The second problem, general-purpose, is to use the previous idea and to decrypt it. You can also hack into popular "encryption" scenarios.

As long as you look at the "post-encryption" file, most people can write a pin-and-toe decryption, which is not a problem.

The third question, to be discussed by the people in the line, is beyond judgment.

I'm just guessing that the two sites may not be connected to each other, and there's nothing new in the technology.

It's all about the virus, and the rest of the kill software.

I do not know if this encryption is similar to Zend that encryption.
It's supposed to be cracked. Because PHP itself runs a mechanism that determines that it cannot be encrypted and confused like. NET or Java.
When PHP is converted to an intermediate code, it should be after decryption.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.