PHP执行系统命令函数实例讲解
(编辑:jimmy 日期: 2026/4/29 浏览:3 次 )
命令注入
命令注入(Command Injection),对一些函数的参数没有做过滤或过滤不严导致的,可以执行系统或者应用指令(CMD命令或者"htmlcode">
<"whoami");"htmlcode"><"whoami");"htmlcode"><"whoami");"htmlcode"><"ipconfig"; exec($test,$array); print_r($array); "htmlcode"><"whoami");"htmlcode">
