Clickjacking Demo

Demoing the benefit of setting the correct X-FRAME headers.

<!DOCTYPE html>
<html >
<head>
  <meta charset="UTF-8">
  <title>Clickjacking Demo</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>
  <iframe src="https://bensmithett.github.io/dragster"></iframe>
<iframe src="https://github.com"></iframe>
<iframe src="https://google.com"></iframe>
<a href="#" onclick="alert('pwnd')"></a>
  
  
</body>
</html>
/* Downloaded from https://www.codeseek.co/ */
a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,0,0,0.1);
}
/* Downloaded from https://www.codeseek.co/ */

This awesome code ( Clickjacking Demo ) is write by Ben Smithett, you can se more from this user in the personal repository

You can find the original code on Codepen.io

2018 © Ben Smithett