返回介绍

Finding Your First XSS!

发布于 2024-10-11 20:33:56 字数 1335 浏览 0 评论 0 收藏 0

Jump right into hunting for your first XSS! Choose a target and follow the steps we covered in this chapter:

直接开始猎捕你的第一个 XSS 漏洞!选择一个目标,按照本章涉及的步骤进行操作:

  1. Look for user input opportunities on the application. When user input is stored and used to construct a web page later, test the input field for stored XSS. If user input in a URL gets reflected back on the resulting web page, test for reflected and DOM XSS.
  2. Insert XSS payloads into the user input fields you’ve found. Insert payloads from lists online, a polyglot payload, or a generic test string.
  3. Confirm the impact of the payload by checking whether your browser runs your JavaScript code. Or in the case of a blind XSS, see if you can make the victim browser generate a request to your server.
  4. If you can’t get any payloads to execute, try bypassing XSS protections.
  5. Automate the XSS hunting process with techniques introduced in Chapter 25 .
  6. Consider the impact of the XSS you’ve found: who does it target? How many users can it affect? And what can you achieve with it? Can you escalate the attack by using what you’ve found?
  7. Send your first XSS report to a bug bounty program!

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文