PHP常用一句话木马整理
eval函数
1 | |
assert 函数
1 | |
function
1 | |
create_function函数
1 | |
call_user_func函数
1 | |
preg_replace 函数
如果在表达式末尾加上e,则可以执行代码
1 | |
file_put_content函数
1 | |
回调函数
1 | |
常用代码执行函数
- assert()
- array_map()
- call_user_func_array()
- array_filter()
- uasort()
常用命令执行函数
- system()
- passthru()
- exec()
- pcntl_exec()
- shell_exec()
- popen()
- proc_opne()
- ``
- $()
PHP常用一句话木马整理
https://blog.lixey.top/posts/90b3b820/