草庐IT

php - Joomla : Can a super administrator get the ftp password of that site (from configuration file or any other way)?

coder 2024-04-19 原文

我可以作为 super 管理员访问 joomla 1.5 制作的网站后端。现在我想做的是,关闭该站点并将一个简单的 html 文件设置为站点主页。为此,我认为我需要 ftp 用户/密码。有什么办法可以从 joomla 后端获得该通行证吗?我可以在帮助>系统信息>配置文件中看到一些条目,其中 $ftp_user:'xxxxxx' 和 $ftp_pass: 'xxxxxx'。有没有办法知道这些值? 即使我无法获得 ftp 用户/密码,我能否以某种方式使用 joomla 后端编辑/浏览任何文件/目录?

最佳答案

是的,如果 FTP 用户/密码保存在 Joomla configuration.php 文件中。在后端,转到全局配置并查看 HTML 源代码,搜索 jform_smtppass 并找到它旁边的密码值。

仅使用 Joomla 进行测试! 2.5.6.

关于php - Joomla : Can a super administrator get the ftp password of that site (from configuration file or any other way)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12346830/

有关php - Joomla : Can a super administrator get the ftp password of that site (from configuration file or any other way)?的更多相关文章

随机推荐