Home  >  Article  >  Backend Development  >  The world’s smallest PHP web Trojan, with PHP Trojan prevention methods_PHP tutorial

The world’s smallest PHP web Trojan, with PHP Trojan prevention methods_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:44:00866browse

php web Trojan

Copy code The code is as follows:

header("content-Type: text /html; charset=gb2312");
if(get_magic_quotes_gpc()) foreach($_POST as $k=>$v) $_POST[$k] = stripslashes($v);
?>

Save file name: