Sha256: 6258aed1d1b78951e34d01504d8141440ec27eb6f4b15ba7306fadafcfb31b1e
Contents?: true
Size: 1.99 KB
Versions: 96
Compression:
Stored size: 1.99 KB
Contents
--- in: Just a little harmless xss <script src=http://ha.ckers.org/xss.js>stuff</script>. sanitized_html: <p>Just a little harmless xss stuff.</p> --- in: Here's a bad image <img src="JaVaScRiPt:alert('XSS');" /> sanitized_html: <p>Here’s a bad image <img /></p> --- in: Just some random > and < characters, but also a <br/> tag. sanitized_html: <p>Just some random > and < characters, but also a <br/> tag.</p> --- name: processes text beginning with space in: ' This began with a space and ends with some XSS: <script type="text/javascript">alert("Hai. I`m in ya PC. Makin ya XSS viruzz! KThxBye");</script>' sanitized_html: 'This began with a space and ends with some <span class="caps">XSS</span>: alert(“Hai. I`m in ya PC. Makin ya <span class="caps">XSS</span> viruzz! KThxBye”);' --- name: processes text in notextile tags in: |- <notextile> The bad tags should be <b>missing</b>: <script type="text/javascript">alert("Hai. I`m in ya PC. Makin ya XSS viruzz! KThxBye");</script> </notextile> sanitized_html: |- The bad tags should be <b>missing</b>: alert("Hai. I`m in ya PC. Makin ya XSS viruzz! KThxBye"); --- name: processes text in inline notextile tags in: |- The bad tags should be <b>missing</b>: <notextile><script type="text/javascript">alert("Hai. I`m in ya PC. Makin ya XSS viruzz! KThxBye");</script></notextile> sanitized_html: |- <p>The bad tags should be <b>missing</b>: alert("Hai. I`m in ya PC. Makin ya XSS viruzz! KThxBye");</p> --- name: removes script tags in: |- <script type="text/javascript"> alert("Hai. I`m in ya PC. Makin ya XSS viruzz! KThxBye"); </script> sanitized_html: "alert(“Hai. I`m in ya PC. Makin ya <span class=\"caps\">XSS</span> viruzz! KThxBye”);" --- name: removes nested script tags in: |- <script type="text/javascript"><script> alert("Hai. I`m in ya PC. Makin ya XSS viruzz! KThxBye"); </script></script> sanitized_html: |- alert(“Hai. I`m in ya PC. Makin ya <span class="caps">XSS</span> viruzz! KThxBye”);
Version data entries
96 entries across 96 versions & 10 rubygems