-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
88 lines (81 loc) · 3.19 KB
/
Copy pathindex.html
File metadata and controls
88 lines (81 loc) · 3.19 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VulnBank - Secure Banking Portal</title>
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<div class="container">
<header>
<h1>🏦 VulnBank</h1>
<p>Your Trusted Banking Partner</p>
</header>
<nav>
<a href="#" onclick="showSection('login')">Login</a>
<a href="#" onclick="showSection('dashboard')">Dashboard</a>
<a href="#" onclick="showSection('transfer')">Transfer</a>
<a href="#" onclick="showSection('profile')">Profile</a>
<a href="#" onclick="showSection('support')">Support</a>
</nav>
<!-- Login Section -->
<div id="login" class="section active">
<h2>Login</h2>
<form id="loginForm">
<input type="text" id="username" placeholder="Username" required>
<input type="password" id="password" placeholder="Password" required>
<button type="submit">Login</button>
</form>
<div id="loginMessage"></div>
</div>
<!-- Dashboard Section -->
<div id="dashboard" class="section">
<h2>Account Dashboard</h2>
<div id="welcomeMessage"></div>
<div class="balance-card">
<h3>Account Balance</h3>
<p id="balance">$0.00</p>
</div>
<div id="recentTransactions"></div>
</div>
<!-- Transfer Section -->
<div id="transfer" class="section">
<h2>Transfer Money</h2>
<form id="transferForm">
<input type="text" id="recipient" placeholder="Recipient Account" required>
<input type="number" id="amount" placeholder="Amount" required>
<input type="text" id="note" placeholder="Note (optional)">
<button type="submit">Transfer</button>
</form>
<div id="transferMessage"></div>
</div>
<!-- Profile Section -->
<div id="profile" class="section">
<h2>User Profile</h2>
<div id="profileData"></div>
<form id="updateProfileForm">
<input type="text" id="displayName" placeholder="Display Name">
<input type="email" id="email" placeholder="Email">
<button type="submit">Update Profile</button>
</form>
</div>
<!-- Support Section -->
<div id="support" class="section">
<h2>Customer Support</h2>
<div id="supportChat"></div>
<form id="supportForm">
<input type="text" id="supportMessage" placeholder="Type your message...">
<button type="submit">Send</button>
</form>
</div>
</div>
<!-- Load vulnerable JavaScript files -->
<script src="js/config.js"></script>
<script src="js/api.js"></script>
<script src="js/auth.js"></script>
<script src="js/app.js"></script>
<script src="js/analytics.js"></script>
</body>
</html>
<- Reading progress bar and GitHub Pages Deployment -->