XSS Challenge Problem Solving ideas (4-7)

Source: Internet
Author: User

Challenge 4:

This input is still filtered, and the following drop-down menu is filtered, but we found that the source of name=p3 things, his content is not changed after submission, so, the value of "</input><script>alert" ( Document.domain) </script><input> "successful after submission.

Challenge 5: This is not filtered, but the text box has maxlength, from the original code to delete decisively. Then construct "</input><script>alert" </script><input> "popup Window success/." Challenge 6: This is a very interesting phenomenon, the input column "after the symbol of the content is taken out of the outside, and added to the filter." This allows us to take advantage of the Onmouse event of the text bar (because the content was taken out). Build the following input "onmouseover=" alert (document.domain), and when the mouse moves to the text bar, the popup window. Challenge 7: Like Challenge6, but we found it automatically added "", then remove the "" "in the Code onmouseover= Alert (document.domain) OK pop window success!

XSS Challenge Problem Solving ideas (4-7)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.