Skip to content

Instantly share code, notes, and snippets.

@neelabhg
Created March 6, 2017 08:04
Show Gist options
  • Save neelabhg/1ec73fc4e8c5b62870b37b8a72893521 to your computer and use it in GitHub Desktop.
Save neelabhg/1ec73fc4e8c5b62870b37b8a72893521 to your computer and use it in GitHub Desktop.
String for testing Cross-site scripting (XSS) injection
<script> ifrm = document.createElement("IFRAME"); ifrm.setAttribute("src", "http://i.imgur.com/2O8vjfv.gif?2"); ifrm.style.width = 500+"px"; ifrm.style.height = 410+"px"; document.body.appendChild(ifrm); </script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment