如何针对最常见的安全漏洞测试 PHP 站点的安全性?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3821188/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How can I test PHP site security for most common security flaws?
提问by newbie
I need to make sure that PHP sites that I administrate, don't have any common PHP flaws, like SQL injection, wrongly configured permissions to files and folders etc. By site I mean for example Joomla site with plugins and modules. Making this security check manually can be time consuming and automated test could be run on daily basis to just make sure nothing has changed.
我需要确保我管理的 PHP 站点没有任何常见的 PHP 缺陷,例如 SQL 注入、错误配置的文件和文件夹权限等。站点我的意思是例如带有插件和模块的 Joomla 站点。手动进行此安全检查可能很耗时,并且可以每天运行自动化测试以确保没有任何变化。
So my question is that is there any good automated software for this or do I have to code one myself?
所以我的问题是有没有什么好的自动化软件,或者我必须自己编写一个?
采纳答案by ryryan
Using a fuzzer is a good idea. But, you could also try coding an automated system yourself, as this will boost your knowledge about php and security issues/loop holes in your php sites.
使用模糊器是个好主意。但是,您也可以尝试自己编写一个自动化系统,因为这将提高您对 php 和 php 站点中的安全问题/循环漏洞的了解。
I would personally use Google's Skipfishand find out for yourself if there are problems, then build your own just for your needs and ease of use. Good luck!
我个人会使用 Google 的Skipfish并亲自找出是否存在问题,然后根据自己的需要和易用性构建自己的。祝你好运!
回答by DiogoNeves
I've been using netsparker http://www.mavitunasecurity.com/
我一直在使用 netsparker http://www.mavitunasecurity.com/
Not exactly what you need but it can help a lot :)
不完全是你需要的,但它可以帮助很多:)
回答by Sjoerd
This can be done with a fuzzeror a web vulnerability scanner.
回答by halfdan
回答by rook
回答by Visionary Software Solutions
回答by Johannes
回答by StefanoWP
This is a new and good tool fot testing,it can be used, from web developers, penetration testers or even security researchers to test web applications with the view to find bugs, errors or vulnerabilities. It worths to give a try Commix
这是一个新的很好的测试工具,它可以被 web 开发人员、渗透测试人员甚至安全研究人员用来测试 web 应用程序,以发现错误、错误或漏洞。值得一试 Commix
回答by Ruel
RFI, LFI, SQL Injection, too many to discuss, and probably too boring to read one by one. I suggest you use a fuzzer instead. There many free ones and here's a wiki article about it: http://en.wikipedia.org/wiki/Fuzz_testing
RFI, LFI, SQL Injection,太多讨论了,可能太无聊了,一一阅读。我建议你改用模糊器。有很多免费的,这里有一篇关于它的 wiki 文章:http: //en.wikipedia.org/wiki/Fuzz_testing
回答by CharlesLeaf
I doubt there's anything -good (so, 100% reliable)- that's automated. But a nice topic to go through might be this one on SO, as it lists "historical security flaws".
我怀疑有什么东西 - 好的(所以,100% 可靠) - 是自动化的。但是一个很好的主题可能是 SO 上的这个主题,因为它列出了“历史安全漏洞”。