首页> 外文会议>Software quality conference >Web Security Testing with Ruby and Watir
【24h】

Web Security Testing with Ruby and Watir

机译:使用Ruby和Watir进行Web安全测试

获取原文
获取原文并翻译 | 示例

摘要

To verify the quality of web applications today, security testing is a necessity. But how to cover it all? SQL injection, cross-site scripting, buffer overflow...and the list goes on. Automating some of this testing would be great, but where to start?rnThis paper is a case study in how McAfee decided to use Ruby/Watir to help with it's Web security testing needsrnThe Ruby language, combined with the Watir module, is a great toolset for security testing of web applications. There are three reasons for this:rn1. Many of the common security vulnerabilities related to web applications (SQL Injection, cross-site scripting, and buffer overflow) have to do with simply posting different types of information to a web server via a client. This is pretty much what Watir is all about. It even gives you access to hidden elements, so its really is a great tool for submitting form data to a web server.rn2. The Ruby side of Watir, being a full-service language, has great tools for querying the database, checking audit logs and the like. Also, you can generate random data (or large datasets) to throw at a web app, or even pull the test data from a CSV file.rn3. There are some things you might not be able to do through Watir, but can certainly be done with Ruby. Again, this is perfect - because Watir is not really a test framework, it's just a way to drive the Browser when you need to. So, tests which are more low-level (such as web service communication or network tests) can be run through Ruby and RSpec, or whatever actual test framework you're using.
机译:为了验证当今Web应用程序的质量,必须进行安全测试。但是如何涵盖所有内容? SQL注入,跨站点脚本编写,缓冲区溢出...等等。自动化一些测试会很棒,但是从哪里开始呢?本文是一个案例研究,说明了McAfee如何决定使用Ruby / Watir来满足Web安全测试需求。Ruby语言与Watir模块结合使用是一个很好的工具集用于Web应用程序的安全性测试。这有三个原因:rn1。与Web应用程序相关的许多常见安全漏洞(SQL注入,跨站点脚本和缓冲区溢出)与通过客户端将不同类型的信息发布到Web服务器有关。这几乎就是Watir的全部含义。它甚至使您可以访问隐藏的元素,因此它确实是将表单数据提交到Web服务器的好工具。 Watir的Ruby方面是一种提供全方位服务的语言,它具有用于查询数据库,检查审核日志等的出色工具。此外,您可以生成随机数据(或大型数据集)以扔到Web应用程序上,甚至可以从CSV文件中提取测试数据。有些事情您可能无法通过Watir完成,但是可以肯定使用Ruby完成。同样,这是完美的-因为Watir并不是真正的测试框架,所以它只是在需要时驱动浏览器的一种方式。因此,可以通过Ruby和RSpec或您使用的任何实际测试框架来运行更底层的测试(例如Web服务通信或网络测试)。

著录项

  • 来源
    《Software quality conference 》|2009年|91-98|共8页
  • 会议地点 Portland OR(US);Portland OR(US);Portland OR(US)
  • 作者

    James O. Knowlton;

  • 作者单位

    McAfee Inc. Business Administration degree at the University of Portland;

  • 会议组织
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 计算机软件 ;
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号