【发布时间】:2014-11-26 11:25:20
【问题描述】:
假设我的 Web 文件具有以下路径。
/home/user/username/public_html/domain.com
我可以在浏览器 (www.domain.com/script.php) 中的 /domain.com/script.php 中运行 PHP 脚本,这会将一些文件从该目录移动到 /home/user/username/private
并使用 GET 参数运行相同的脚本以将数据移回公共?
安全吗?我可以对网站路径下的文件进行操作吗?我能走多深?
【问题讨论】:
-
这解决了你的问题吗?