0% found this document useful (0 votes)
251 views1 page

Clickjacking Vulnerability Test Code

This document provides code to test a website's vulnerability to clickjacking. The code contains an iframe targeting the site's sensitive page, hidden behind a warning message. Opening the example.html file in a browser loads the iframe, allowing observation of whether clicks target the inner or outer page, indicating clickjacking vulnerability.

Uploaded by

sathish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
251 views1 page

Clickjacking Vulnerability Test Code

This document provides code to test a website's vulnerability to clickjacking. The code contains an iframe targeting the site's sensitive page, hidden behind a warning message. Opening the example.html file in a browser loads the iframe, allowing observation of whether clicks target the inner or outer page, indicating clickjacking vulnerability.

Uploaded by

sathish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Clickjacking Test Code

<html>

<head>

<title>Clickjack test page</title>

</head>

<body>

<p>Website is vulnerable to clickjacking!</p>

<iframe src="http://www.yoursite.com/sensitive-page" width="500" height="500"></iframe>

</body>

</html>

Step 1 : Change yoursite.com to target website and save the code

Step 2 : Copy Paste the following code in Notepad and save it as example.html

Step 3 : Open the example.html saved file in your browser.

You might also like