PHP 执行命令

发布于 2024-08-16 09:35:18 字数 109 浏览 2 评论 0原文

我正在开发一个项目,我必须保护网站免受代码注入。是否有一个包含所有不需要 php exec 函数的 shell 命令的列表?那么有一个可以从 php 执行而无需 exec 命令的 shell 命令列表吗?

I am working on a project where I have to defend the website against code injection. Is there a list with all shell commands which doesn't need the php exec function? So a list with shell commands that can be performed from php without the exec command?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧时模样 2024-08-23 09:35:18

您可能需要查看CodeIgniter,它具有您正在寻找的内置安全功能。它的重量非常轻,并且每个部分大部分可以单独使用。

You may want to checkout CodeIgniter which has the security functionality you're looking for built in. It's very light weight and each part can be used mostly by itself.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文