Answer the question
In order to leave comments, you need to log in
XSS, how to simulate a request to the server?
Hello, tell me please.
I want to check the site for stability against xss attacks. To do this, in the form field, as well as in the value of the input itself: <img src=x onerror=alert(17)>
Now my browser, when I click on submit, replaces > with & .
Questions:
Answer the question
In order to leave comments, you need to log in
Look at the request in the console and, if the special characters are escaped on the client, which I doubt, then you can send the request through the REST client.
In my opinion, this is not what you want - "I want to check the site for resistance against xss attacks", but to learn how to attack someone else's site!
If you are really worried about the security of your resource, then just escape the htm code and XSS will not bother you
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question