20050301205811.txt
来自「请在wish.php中修改文章系统的题目和管理员密码,默认密码为: wish 在」· 文本 代码 · 共 1 行
TXT
1 行
PHP木马攻击的防御|hyenpkjvlg|鱼鱼|hyenpkjvlg|2005-03-01.20:56|hyenpkjvlg|28|hyenpkjvlg|1.防止php木马执行webshell <br><br> 打开safe_mode, <br><br> 在,php.ini中设置 <br><br> disable_functions= passthru,exec,shell_exec,system <br><br> 二者选一即可,也可都选 <br><br> 2.防止php木马读写文件目录 <br><br> 在php.ini中的 <br><br> disable_functions= passthru,exec,shell_exec,system <br><br> 后面加上php处理文件的函数 <br><br> 主要有 <br><br> fopen,mkdir,rmdir,chmod,unlink,dir <br><br> fopen,fread,fclose,fwrite,file_exists <br><br> closedir,is_dir,readdir.opendir <br><br> fileperms.copy,unlink,delfile <br><br> 即成为 <br><br> disable_functions= passthru,exec,shell_exec,system,fopen,mkdir,rmdir,chmod,unlink,dir <br><br> ,fopen,fread,fclose,fwrite,file_exists <br><br> ,closedir,is_dir,readdir.opendir <br><br> ,fileperms.copy,unlink,delfile <br><br> ok,大功告成,php木马拿我们没辙了,^_^ <br><br> 遗憾的是这样的话,利用文本数据库的那些东西就都不能用了
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?