Bypassing XSS Length

Source: Internet
Author: User

WoYiGuis BLoG

Watch XSS_Attacks _-_ Cross_Site_Scripting_Exploits_and_Defense _ (Syngress-2007) this book, it is estimated that many Daniel has read, ah, on the computer has not been read, time is not much, when you have time, you can flip several pages and add them in English. Today, we have seen more than 150 pages. Well, stick to it.
First, let's talk about this Bypassing XSS Length Limitations. The method mentioned in this article is quite good. I checked the html manual and the location can use three attributes:

<Script> eval (location. hash. substr (1) </script>
<Script> eval (location. search. substr (1) </script>
<Script> eval (location. href. substr (52,60) </script>

The third method needs to calculate the value based on the situation. If you search for the string position in localtion. href and then process it, the url length will be increased. The specific value is the shortest. The above are the ideas of cainiao.

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.