The phpeval function uses a Trojan code. The phpeval function uses the one-sentence Trojan code, which is a common one-sentence Trojan code in php. The post Trojan program is used to implant the Trojan. The eval () function calculates the string according to the PHP code. Php eval function one-sentence Trojan code
This is the source code of a common php Trojan. The post Trojan program is used to implant the Trojan. The eval () function calculates the string according to the PHP code. The string must be a valid PHP code and must end with a semicolon. If the return statement is not called in the code string, NULL is returned. If a parsing error exists in the code, the eval () function returns false.
Eval can be used to execute any other php code. therefore, be careful when you find the eval function in the code. it may be a Trojan.
In this way, anyone can post any file, so do a good job of prevention.
?
The usage method is also very simple. when a local file is submitted pointing to the submitted file, the php code in the file will be executed.
?
The above is all the content of this article. I hope you will like it.
Http://www.bkjia.com/PHPjc/1003822.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/1003822.htmlTechArticlephp eval function in a sentence Trojan code this is a common php in a sentence Trojan source code, through the post Trojan program to achieve Trojan embedding, eval () the function calculates the string according to the PHP code ....