This is the source code of a common one-sentence Trojan in PHP. The Trojan is implanted through the post Trojan program. The eval() function converts characters The string is calculated according to the PHP code. The string must be valid PHP code and must end with a semicolon. If no return statement is called in the code string, NULL is returned. If there is a parsing error in the code, the eval() function returns false.
eval can be used to execute any other php code, so be careful if you find the eval function in the code, it may be a Trojan
Just this sentence can kill people, anyone can post any document, so be careful
?
|
|
The method of use is also very simple. Point the local submission file to the submission file, and the php code inside will be executed
?
1 8 |