Cross-Site Scripting

Source: Internet
Author: User

The general attack is to write a script to check whether it can be executed and then determine whether it is an attack. For example, I wrote <script> alert ("I have executed it !!! "); </Script>, and then check whether the page can be executed when it is loaded. So far, this code is not executed on normal websites, but what about the other method?

For example, if you <SCRIPT> alert (String. fromCharCode (88,83, 83) </SCRIPT>, you may know that there are several other websites to execute.

The following is a more complex test example ,'';! -- "<XSS >=& {()}. This is a good example of testing whether there will be xxs. Let's try again to see if there are several websites that can resist. Below is an example I just wrote, then test several websites,

Source code :'';! -- "; Eval ('alert (\ 'I fuck you! \ '); "<X <alert (1234)> SS >=& {()}, and then try it out (no malicious code is just a test !) :

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

Related Article

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.