无法上传(FTP)包含base64_decode()的PHP文件? [英] Can't upload (FTP) PHP file containing base64_decode()?

查看:122
本文介绍了无法上传(FTP)包含base64_decode()的PHP文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台运行CentOS 7.2和Virtualmin的普通服务器,可以通过ProFTPD 1.3.5进行FTP访问,当我尝试上载包含字符串base64_decode的PHP文件时,传输挂起,直到超时.我已经通过编辑该函数进行了验证,并且几乎立即上传了完全相同的文件.重新启用该功能,并且上传超时.我什至可以从函数名称中删除"64",文件成功上传.

I have a plain server running CentOS 7.2 and Virtualmin, with FTP access via ProFTPD 1.3.5, and when I try to upload a PHP file containing the string base64_decode the transfer hangs until time-out. I have verified by editing the function out, and the exact same file uploads near-instantly. Put the function back in and the upload times-out. I can even just remove the '64' from the function name and the file uploads successfully.

因此,这似乎是某种安全性,但从何而来呢?肯定有人见过吗?还是我的诊断完全不正确?

So it appears to be some kind of security, but from where? Surely someone has seen this before? Or is my diagnosis completely off?

推荐答案

这可能与FTP不相关,但与某些试图阻止可疑文件传输的入侵检测系统(IDS)有关.该IDS可以在主机或网络中的某个位置运行.

This is probably not related to FTP, but to some Intrusion Detection System (IDS) which tries to block transfer of suspicious files. This IDS might run at the host or somewhere in the network.

这篇关于无法上传(FTP)包含base64_decode()的PHP文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆