XSS检测工具 X5S/fiddler

x5s

http://xss.codeplex.com/

5s是fiddler的插件, 协助XSS脚本攻击的穿刺性测试。  需要手动驱动。 安全编码,unicode字符变形,ut-8编码。

5s is a Fiddler addon which aims to assist penetration testers in finding cross-site scripting vulnerabilities. This is not a point and shoot tool, it requires some understanding of how encoding issues lead to XSS, and it requires manual driving. See the Quickstart Tutorial to jump right in but be ready to do a little work. It's main goal is to help you identify the hotspots where XSS might occur by:

    • Detecting where safe encodings were not applied to emitted user-inputs
    • Detecting where Unicode character transformations might bypass security filters
    • Detecting where non-shortest UTF-8 encodings might bypass security filters

 

下载安装

从如下地址下载,下载文件X5Setup.msi, 并安装后, 打开fiddler,在左侧就能看到x5s tab页。

http://xss.codeplex.com/releases/view/43170

 

配置运行

http://xss.codeplex.com/documentation

第八步骤, 使用IE safari 或者 chrome, 点击需要测试的提交点, fiddler x5s会捕捉到提交的http请求,并按照其定制的策略,对各个参数逐个测试其转码安全性。

然后在result tab页中, 查看测试结果, 可以使用hotspot来过滤需要重点关注的。

To get up and running quickly:

    1. Start Fiddler, and select the x5s tab.
    2. Check Enable to start capturing page metadata.
    3. Enter a Preamble, or use the default - this must be a unique string x5s can use to identify its payload in the response, for example "pqz" or "test321"
    4. Enable Domain Targeting to restrict testing to a particular domain, i.e., the site you'd like to test.
    5. Select each of the auto-injection options you want (e.g. select auto-inject into GET, POST, and Other)
    6. Leave the advanced filter disabled for now
    7. Enable the injection characters you'd like to test through the 'Test Case Configuration' tab.
    8. Browse the site you're testing. x5s will work its magic.
    9. Click the 'Results' tab to review any issues discovered by the tool.
    10. If you don't feel like trying to make sense of the results, just click the 'show hotspots' button and review any that show up.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Fiddler+X5S(XSS漏洞扫描,抓包)工具 Fiddler 是用C#写出来的,它包含一个简单却功能强大的基于JScript .NET 事件脚本子系统,它的灵活性非常棒,可以支持众多的http调试任务,并且能够使用.net框架语言进行扩展。 Fiddler支持断点调试技术,当你在软件的菜单—rules—automatic breakpoints选项选择before request,或者当这些请求或响应属性能够跟目标的标准相匹配,Fiddler就能够暂停Http通讯,并且允许修改请求和响应。这种功能对于安全测试是非常有用的,当然也可以用来做一般的功能测试,因为所有的代码路径都可以用来演习。 通过显示所有的Http通讯,Fiddler可以轻松地演示哪些用来生成一个页面,通过统计页面(就是Fiddler左边的那个大框)用户可以很轻松地使用多选,来得到一个WEB页面的“总重量”(页面文件以及相关js,css等)你也可以很轻松地看到你请求的某个页面,总共被请求了多少次,以及多少字节被转化了。 用户可以加入一个Inspector插件对象,来使用.net下的任何语言来编写Fiddler扩展。RequestInspectors 和 ResponseInspectors提供一个格式规范的,或者是被指定的(用户自定义)Http请求和响应视图。 另外,通过暴露HTTP头,用户可以看见哪些页面被允许在客户端或者是代理端进行缓存。如果要是一个响应没有包含Cache-Control 头,那么他就不会被缓存在客户端。 同类的工具有: httpwatch, firebug, wireshark。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值