_javascript tips on cross-site scripting attack issues

Source: Internet
Author: User
The general attack is to write a script to see if it can be executed, you can determine whether it is an attack, for example, I write <script> alert ("Executed me!!!"). "); </script>, and see if the page can be executed when it is loaded. So far the general web site This code will not be executed, but in a different way?

For example <script>alert (String.fromCharCode (88,83,83)) </script>, it is estimated that there are several web site implementation bar, we all know.

Below look at the more wretched test example, ';! --"<xss>=&{()}, this is testing whether there will be a good example of XXS, and then try to see how several sites can resist live, the following is a random example of my writing, and then test a few sites to see,

Source code: ';! --"; eval (' alert ') What's the situation with your uncle? \')');" <x<alert (1234) >ss>=&{()}, and then try the screenshot (no malice just test!). ):

Http://search.360buy.com/Search?book=y&keyword=1

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.