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