Open Boria Mine Door
|
|
|
![]() |
Pin 1 |
|||
Initial State |
HTML Source |
Input |
Result |
|
|
The HTML
Source has the answer: |
|
Pin 2 |
|||
The comment in the HTML source indicates the developer is yet to filter out HTML code. So, we can send any HTML to draw SVG to connect the pipes. |
|||
|
|
<html> <body> <svg height="210" width="500"> <line x1="0" y1="70" x2="200" y2="155" style="stroke:rgb(255,255,255);stroke-width:20" /> </svg> </body> </html>
|
|
Pin 3 |
|||
The comment in HTML source indicates the developer is yet to filter out Javascript code. So, we can send any script to draw the SVG to connect the pipes. It has 'unsafe-inline' Content Security Policy as well which allows execution of inline scripts. |
|||
|
|
<html><body><canvas id="myCanvas" width="200" height="100" style="border:1px solid #c3c3c3;"> </canvas><script>var canvas = document.getElementById("myCanvas"); var ctx = canvas.getContext("2d"); ctx.beginPath(); ctx.moveTo(0, 90); ctx.lineTo(250, 10); ctx.strokeStyle = 'blue'; ctx.lineWidth = 20; ctx.stroke();</script></body></html>
|
|
Upon completing the Pin 3, the boria mine door is opened, and we get 25 coins as well. |