Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Html/Clickjacking.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<button>CLICK ME!</button>

<iframe src="http://127.0.0.1:5500/Html/loggedin.html"></iframe>
<iframe src="http://localhost/Vulnerable-Web-Application/Html/loggedin.html"></iframe>
<div>
<h1>Click on the button to see cute cats!</h1>
<img src="../Images/cat.jpg" alt="Cute Cat" width="400px">
Expand Down
8 changes: 6 additions & 2 deletions Html/loggedin.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,17 @@ <h1>Welcome Back!</h1>
<div class="overlay-panel overlay-right">
<h1>Hi, Friend!</h1>
<p>Delete your account!</p>
<button class="ghost" id="signUp">Delete</button>
<button onclick="showAlert()" class="ghost" id="signUp">Delete</button>
</div>
</div>
</div>
</div>

<script src="../Server/server.js"></script>
<script>
function showAlert() {
alert("Account Deleted Successfully");
}
</script>
</body>

</html>