interplane.Get Omega
Read in your language

interplane-forge

INTERPLANE Forge

Brought by drakestapleton

branch main Branches Tags History

interplane-forge / browse / tests / md / hostile.html

42 lines · 3900 bytes Raw Blame History
1<h1 id="hostile-readme">Hostile README</h1>
2<p>A brought repository is untrusted. Every line below tries to run code, load something from another host or hide where a link goes.</p>
3<p>&lt;script&gt;alert(1)&lt;/script&gt;
4&lt;SCRIPT SRC=//evil.example/x.js&gt;&lt;/SCRIPT&gt;
5&lt;iframe src=&quot;<a href="https://evil.example/frame&quot;&gt;" class="ext" rel="nofollow noopener noreferrer">https://evil.example/frame&quot;&gt;</a>&lt;/iframe&gt;
6&lt;frame src=&quot;<a href="https://evil.example/frame&quot;&gt;" class="ext" rel="nofollow noopener noreferrer">https://evil.example/frame&quot;&gt;</a>
7&lt;object data=&quot;<a href="https://evil.example/x.swf&quot;&gt;" class="ext" rel="nofollow noopener noreferrer">https://evil.example/x.swf&quot;&gt;</a>&lt;/object&gt;
8&lt;embed src=&quot;<a href="https://evil.example/x.swf&quot;&gt;" class="ext" rel="nofollow noopener noreferrer">https://evil.example/x.swf&quot;&gt;</a>
9&lt;svg onload=alert(1)&gt;&lt;circle r=&quot;1&quot;/&gt;&lt;/svg&gt;
10&lt;img src=&quot;<a href="https://evil.example/track.gif" class="ext" rel="nofollow noopener noreferrer">https://evil.example/track.gif</a>&quot; onerror=&quot;alert(1)&quot;&gt;
11&lt;a href=&quot;javascript:alert(1)&quot; onclick=&quot;alert(1)&quot;&gt;raw link&lt;/a&gt;
12&lt;style&gt;body{display:none}&lt;/style&gt;
13&lt;link rel=&quot;stylesheet&quot; href=&quot;<a href="https://evil.example/x.css&quot;&gt;" class="ext" rel="nofollow noopener noreferrer">https://evil.example/x.css&quot;&gt;</a>
14&lt;meta http-equiv=&quot;refresh&quot; content=&quot;0;url=<a href="https://evil.example/&quot;&gt;" class="ext" rel="nofollow noopener noreferrer">https://evil.example/&quot;&gt;</a>
15&lt;base href=&quot;<a href="https://evil.example/&quot;&gt;" class="ext" rel="nofollow noopener noreferrer">https://evil.example/&quot;&gt;</a>
16&lt;form action=&quot;<a href="https://evil.example/&quot;&gt;" class="ext" rel="nofollow noopener noreferrer">https://evil.example/&quot;&gt;</a>&lt;input name=&quot;x&quot;&gt;&lt;/form&gt;
17&lt;details open ontoggle=alert(1)&gt;x&lt;/details&gt;
18&lt;p onmouseover=&quot;alert(1)&quot;&gt;paragraph&lt;/p&gt;</p>
19<p>remote
20protocol relative
21data
22js
23by reference
24<a href="https://evil.example/ci" class="ext" rel="nofollow noopener noreferrer">badge</a></p>
25<p>js JS <a href="/o/r/blob/main/docs/%26#106;avascript:alert(1)">ent</a> vb data file</p>
26<p><a href="https://evil.example/page" class="ext" rel="nofollow noopener noreferrer">out</a> <a href="https://evil.example/auto" class="ext" rel="nofollow noopener noreferrer">https://evil.example/auto</a> <a href="https://evil.example/bare" class="ext" rel="nofollow noopener noreferrer">https://evil.example/bare</a> <a href="mailto:x@evil.example" class="ext" rel="nofollow noopener noreferrer">mail</a> <a href="//evil.example/protocol-relative" class="ext" rel="nofollow noopener noreferrer">pr</a></p>
27<p><a href="https://evil.example/&quot;onmouseover=&quot;alert(1)" class="ext" rel="nofollow noopener noreferrer">quote</a> [title](<a href="https://evil.example" class="ext" rel="nofollow noopener noreferrer">https://evil.example</a> &quot;x&quot; onmouseover=&quot;alert(1)&quot;)</p>
28<p><a href="/o/r/blob/main/docs/guide.md">local</a> <img src="/o/r/raw/main/docs/img/logo.png" alt="local image"> <a href="/o/r/blob/main/etc/passwd">up</a> <a href="#hostile-readme">anchor</a></p>
29<p>Inline <code>&lt;script&gt;alert(1)&lt;/script&gt;</code> code.</p>
30<pre><code>&lt;iframe src=&quot;https://evil.example/indented&quot;&gt;&lt;/iframe&gt;
31</code></pre>
32<pre><code class="language-html">&lt;script src=&quot;https://evil.example/fenced.js&quot;&gt;&lt;/script&gt;
33</code></pre>
34<table class="md">
35<thead>
36<tr><th>cell</th><th>other</th></tr>
37</thead>
38<tbody>
39<tr><td>&lt;script&gt;alert(1)&lt;/script&gt;</td><td>x</td></tr>
40<tr><td>&lt;img src=x onerror=alert(1)&gt;</td><td>t</td></tr>
41</tbody>
42</table>