2020.08.20 update 小 bug 还比较多,最近会抽时间来修改,请保持 update
检测Web应用程序中的XSS漏洞
交互模块参考自 sqlmap,如果你熟悉 sqlmap,那么一定可以轻松上手 xssmap!
只需一行代码,就是如此简单:
curl -L -s https://github.com/Jewel591/xssmap/master/docs/install.sh|bash
如果提示网络错误,例如 Connection refused,使用 git clone 安装:
git clone -b master https://github.com/Jewel591/xssmap.git
cd xssmap
pip3 install -r requirements.txt
python3.6 xssmap.py -h
支持 POST 和 GET 请求方式,支持 Cookie
、Referer
、UserAgent
字段的参数注入检测。
例如,测试 POST 数据中的 returnUrl 参数。:
python3.6 xssmap.py -u "https://example.com/login.do" --data="returnUrl=utest" -p returnUrl
不指定参数,默认对所有参数进行测试。
- 支持自动 urlencode 编码
- 支持自动 unicode 编码
- 支持自动 HTML 编码
- 自动灵活替换
()'"
- 智能 Payload 组合
欢迎通过issues 页面 提交 Contributions、issues 和功能需求!
MIT © Jewel591, Kyle