heisenbergaliasWW commited on
Commit
e6908f6
·
verified ·
1 Parent(s): 123501f

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +882 -171
templates/index.html CHANGED
@@ -1,214 +1,925 @@
1
  <!DOCTYPE html>
2
  <html lang="en">
3
  <head>
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>URL Threat Detector</title>
7
- <link href="https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Rajdhani:wght@400;600;700&display=swap" rel="stylesheet">
8
- <style>
9
- :root {
10
- --bg: #050a0e;
11
- --surface: #0a1628;
12
- --border: #0d2137;
13
- --accent: #00d4ff;
14
- --green: #00ff88;
15
- --red: #ff2d55;
16
- --yellow: #ffd60a;
17
- --text: #c8d8e8;
18
- --muted: #4a6278;
19
- --font-mono: 'Share Tech Mono', monospace;
20
- --font-main: 'Rajdhani', sans-serif;
21
- }
22
- * { margin: 0; padding: 0; box-sizing: border-box; }
23
- body { background: var(--bg); color: var(--text); font-family: var(--font-main); min-height: 100vh; overflow-x: hidden; }
24
- body::before { content: ''; position: fixed; inset: 0; background-image: linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; z-index: 0; }
25
- .container { max-width: 860px; margin: 0 auto; padding: 40px 20px; position: relative; z-index: 1; }
26
- .header { text-align: center; margin-bottom: 48px; }
27
- .header .badge { display: inline-block; font-family: var(--font-mono); font-size: 11px; color: var(--accent); border: 1px solid var(--accent); padding: 4px 12px; letter-spacing: 3px; margin-bottom: 16px; opacity: 0.8; }
28
- .header h1 { font-size: 48px; font-weight: 700; letter-spacing: 2px; color: #fff; line-height: 1.1; }
29
- .header h1 span { color: var(--accent); }
30
- .header p { margin-top: 10px; color: var(--muted); font-size: 15px; letter-spacing: 1px; }
31
- .stats { display: flex; gap: 2px; margin-bottom: 32px; }
32
- .stat { flex: 1; background: var(--surface); border: 1px solid var(--border); padding: 14px; text-align: center; }
33
- .stat-val { font-size: 22px; font-weight: 700; color: var(--accent); font-family: var(--font-mono); }
34
- .stat-label { font-size: 11px; color: var(--muted); letter-spacing: 1px; margin-top: 2px; }
35
- .scan-box { background: var(--surface); border: 1px solid var(--border); border-top: 2px solid var(--accent); padding: 32px; margin-bottom: 32px; position: relative; }
36
- .scan-box::before { content: 'SCAN TARGET'; position: absolute; top: -10px; left: 20px; font-family: var(--font-mono); font-size: 10px; color: var(--accent); background: var(--surface); padding: 0 8px; letter-spacing: 2px; }
37
- .input-row { display: flex; gap: 12px; }
38
- .url-input { flex: 1; background: var(--bg); border: 1px solid var(--border); color: var(--text); font-family: var(--font-mono); font-size: 14px; padding: 14px 18px; outline: none; transition: border-color 0.2s; }
39
- .url-input:focus { border-color: var(--accent); }
40
- .url-input::placeholder { color: var(--muted); }
41
- .scan-btn { background: var(--accent); color: var(--bg); border: none; font-family: var(--font-main); font-weight: 700; font-size: 14px; letter-spacing: 2px; padding: 14px 28px; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
42
- .scan-btn:hover { background: #fff; }
43
- .scan-btn:disabled { opacity: 0.5; cursor: not-allowed; }
44
- .error-msg { background: rgba(255,45,85,0.1); border: 1px solid var(--red); color: var(--red); padding: 12px 18px; font-family: var(--font-mono); font-size: 13px; display: none; margin-bottom: 16px; }
45
- .error-msg.show { display: block; }
46
- .loading { display: none; text-align: center; padding: 32px; font-family: var(--font-mono); color: var(--accent); font-size: 13px; letter-spacing: 2px; }
47
- .loading.show { display: block; }
48
- .loading-bar { width: 100%; height: 2px; background: var(--border); margin-top: 16px; overflow: hidden; }
49
- .loading-bar::after { content: ''; display: block; height: 100%; width: 40%; background: var(--accent); animation: scan 1s ease infinite; }
50
- .results { display: none; }
51
- .results.show { display: block; }
52
- .url-display { background: var(--bg); border: 1px solid var(--border); padding: 12px 18px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); word-break: break-all; margin-bottom: 20px; }
53
- .verdict { padding: 20px 28px; margin-bottom: 20px; display: flex; align-items: center; gap: 16px; border-left: 4px solid; font-size: 22px; font-weight: 700; letter-spacing: 2px; }
54
- .verdict.dangerous { background: rgba(255,45,85,0.08); border-color: var(--red); color: var(--red); }
55
- .verdict.suspicious { background: rgba(255,214,10,0.08); border-color: var(--yellow); color: var(--yellow); }
56
- .verdict.safe { background: rgba(0,255,136,0.08); border-color: var(--green); color: var(--green); }
57
- .models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
58
- .model-card { background: var(--surface); border: 1px solid var(--border); padding: 20px; position: relative; }
59
- .model-card::before { content: attr(data-model); position: absolute; top: -9px; left: 16px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 2px; background: var(--surface); padding: 0 6px; color: var(--muted); }
60
- .model-result { font-family: var(--font-mono); font-size: 15px; font-weight: 600; margin-bottom: 6px; letter-spacing: 1px; }
61
- .model-result.phishing, .model-result.malware, .model-result.defacement { color: var(--red); }
62
- .model-result.benign { color: var(--green); }
63
- .model-conf { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
64
- .rdap-card { background: var(--surface); border: 1px solid var(--border); padding: 16px 20px; margin-bottom: 20px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); display: none; position: relative; }
65
- .rdap-card::before { content: 'RDAP DOMAIN AGE'; position: absolute; top: -9px; left: 16px; font-size: 9px; letter-spacing: 2px; background: var(--surface); padding: 0 6px; color: var(--accent); }
66
- .rdap-card.show { display: block; }
67
- .footer { text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 32px; }
68
- @keyframes scan { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
69
- @media (max-width: 600px) { .models-grid { grid-template-columns: 1fr; } .header h1 { font-size: 32px; } .input-row { flex-direction: column; } }
70
- </style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  </head>
72
  <body>
73
- <div class="container">
74
 
75
- <div class="header">
76
- <div class="badge">Detective-URL</div>
77
- <h1>URL <span>THREAT</span> DETECTOR</h1>
78
- <p>Powered by XGBoost · 1D CNN · RDAP</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
 
81
- <div class="stats">
82
- <div class="stat"><div class="stat-val">2</div><div class="stat-label">ML MODELS</div></div>
83
- <div class="stat"><div class="stat-val">4</div><div class="stat-label">THREAT TYPES</div></div>
84
- <div class="stat"><div class="stat-val">120K</div><div class="stat-label">TRAINED URLS</div></div>
 
 
 
 
 
 
85
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
 
87
- <div class="scan-box">
88
- <div class="input-row">
89
- <input type="text" class="url-input" id="urlInput" placeholder="https://example.com/path?query=value" autocomplete="off"/>
90
- <button class="scan-btn" id="scanBtn" onclick="analyzeURL()">SCAN URL</button>
 
 
 
 
91
  </div>
 
 
 
 
 
92
  </div>
93
 
94
- <div class="error-msg" id="errorMsg"></div>
95
 
96
- <div class="loading" id="loading">
97
- ANALYZING TARGET...
98
- <div class="loading-bar"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  </div>
100
 
101
- <div class="results" id="results">
102
- <div class="url-display">
103
- <span style="color:var(--accent);margin-right:8px;letter-spacing:2px;font-size:10px;">TARGET</span>
104
- <span id="urlText"></span>
105
- </div>
106
- <div class="verdict" id="verdict">
107
- <span id="verdictIcon"></span>
108
- <span id="verdictText"></span>
109
- </div>
110
- <div class="models-grid">
111
- <div class="model-card" data-model="XGBOOST">
112
- <div class="model-result" id="xgbResult">—</div>
113
- <div class="model-conf" id="xgbConf">—</div>
114
- </div>
115
- <div class="model-card" data-model="1D CNN">
116
- <div class="model-result" id="cnnResult">—</div>
117
- <div class="model-conf">DEEP LEARNING</div>
118
- </div>
119
- <div class="model-card" data-model="ENSEMBLE">
120
- <div class="model-result" id="ensResult">—</div>
121
- <div class="model-conf" id="ensConf">—</div>
122
- </div>
123
- </div>
124
- <div class="rdap-card" id="rdapCard">
125
- <span id="rdapText"></span>
126
- </div>
127
  </div>
128
 
129
- <div class="footer">Designed and Developed by DHANUSH</div>
 
 
 
 
 
 
 
 
 
 
 
 
130
 
131
  </div>
132
 
133
  <script>
134
- document.getElementById('urlInput').addEventListener('keydown', function(e) {
135
- if (e.key === 'Enter') analyzeURL();
136
- });
 
 
 
 
 
 
 
137
 
138
- async function analyzeURL() {
139
- var url = document.getElementById('urlInput').value.trim();
 
 
 
 
140
 
141
- document.getElementById('errorMsg').className = 'error-msg';
142
- document.getElementById('results').className = 'results';
143
- document.getElementById('rdapCard').className = 'rdap-card';
 
 
144
 
145
- if (!url) { showError('Please enter a URL'); return; }
 
 
146
 
147
- document.getElementById('loading').className = 'loading show';
148
- document.getElementById('scanBtn').disabled = true;
 
149
 
150
- try {
151
- var response = await fetch('/predict', {
152
- method: 'POST',
153
- headers: { 'Content-Type': 'application/json' },
154
- body: JSON.stringify({ url: url })
155
- });
 
 
156
 
157
- var data = await response.json();
 
 
 
 
 
 
 
 
 
 
158
 
159
- if (data.error) {
160
- showError(data.error);
161
- return;
162
- }
163
 
164
- displayResults(data);
 
 
 
 
 
 
 
165
 
166
- } catch (err) {
167
- showError('Request failed: ' + err.message);
168
- } finally {
169
- document.getElementById('loading').className = 'loading';
170
- document.getElementById('scanBtn').disabled = false;
171
- }
172
  }
 
173
 
174
- function displayResults(data) {
175
- document.getElementById('urlText').textContent = data.url;
 
 
 
176
 
177
- var icons = { dangerous: '🚨', suspicious: '⚠️', safe: '✅' };
178
- var verdictEl = document.getElementById('verdict');
179
- verdictEl.className = 'verdict ' + data.verdict_class;
180
- document.getElementById('verdictIcon').textContent = icons[data.verdict_class] || '🔍';
181
- document.getElementById('verdictText').textContent = data.verdict;
 
 
 
182
 
183
- var xgbEl = document.getElementById('xgbResult');
184
- xgbEl.textContent = data.xgb.result;
185
- xgbEl.className = 'model-result ' + data.xgb.label;
186
- document.getElementById('xgbConf').textContent = 'CONFIDENCE: ' + data.xgb.confidence + '%';
187
 
188
- var cnnEl = document.getElementById('cnnResult');
189
- cnnEl.textContent = data.cnn.result;
190
- cnnEl.className = 'model-result ' + data.cnn.label;
 
 
 
 
 
 
 
 
191
 
192
- var ensEl = document.getElementById('ensResult');
193
- ensEl.textContent = data.ensemble.result;
194
- ensEl.className = 'model-result ' + data.ensemble.label;
195
- document.getElementById('ensConf').textContent = 'CONFIDENCE: ' + data.ensemble.confidence + '%';
 
 
 
 
 
 
 
 
196
 
197
- if (data.rdap) {
198
- document.getElementById('rdapText').textContent = 'AGE: ' + data.rdap.age_days + ' days | ' + data.rdap.reason;
199
- document.getElementById('rdapCard').className = 'rdap-card show';
200
- }
 
 
 
 
201
 
202
- document.getElementById('results').className = 'results show';
203
- }
204
 
205
- function showError(msg) {
206
- var el = document.getElementById('errorMsg');
207
- el.textContent = '⚠ ' + msg;
208
- el.className = 'error-msg show';
209
- document.getElementById('loading').className = 'loading';
210
- document.getElementById('scanBtn').disabled = false;
211
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
212
  </script>
213
  </body>
214
  </html>
 
1
  <!DOCTYPE html>
2
  <html lang="en">
3
  <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>URLGuard — AI Threat Scanner</title>
7
+ <link rel="preconnect" href="https://fonts.googleapis.com">
8
+ <link href="https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=JetBrains+Mono:wght@300;400;500&display=swap" rel="stylesheet">
9
+ <style>
10
+ :root {
11
+ --bg: #080b10;
12
+ --bg2: #0d1117;
13
+ --bg3: #161b22;
14
+ --border: #21262d;
15
+ --accent: #00d4ff;
16
+ --accent2: #7c3aed;
17
+ --danger: #ff4444;
18
+ --safe: #00e676;
19
+ --warn: #ffaa00;
20
+ --text: #e6edf3;
21
+ --muted: #7d8590;
22
+ --font: 'Syne', sans-serif;
23
+ --mono: 'JetBrains Mono', monospace;
24
+ }
25
+
26
+ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
27
+
28
+ body {
29
+ background: var(--bg);
30
+ color: var(--text);
31
+ font-family: var(--font);
32
+ min-height: 100vh;
33
+ overflow-x: hidden;
34
+ }
35
+
36
+ /* ── Grid background ── */
37
+ body::before {
38
+ content: '';
39
+ position: fixed;
40
+ inset: 0;
41
+ background-image:
42
+ linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
43
+ linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
44
+ background-size: 40px 40px;
45
+ pointer-events: none;
46
+ z-index: 0;
47
+ }
48
+
49
+ /* ── Glow orbs ── */
50
+ .orb {
51
+ position: fixed;
52
+ border-radius: 50%;
53
+ filter: blur(120px);
54
+ pointer-events: none;
55
+ z-index: 0;
56
+ animation: pulse 8s ease-in-out infinite;
57
+ }
58
+ .orb-1 { width: 500px; height: 500px; background: rgba(0,212,255,0.06); top: -100px; right: -100px; }
59
+ .orb-2 { width: 400px; height: 400px; background: rgba(124,58,237,0.06); bottom: -100px; left: -100px; animation-delay: -4s; }
60
+
61
+ @keyframes pulse {
62
+ 0%,100% { opacity: 0.6; transform: scale(1); }
63
+ 50% { opacity: 1; transform: scale(1.1); }
64
+ }
65
+
66
+ /* ── Layout ── */
67
+ .wrapper { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
68
+
69
+ /* ── Nav ── */
70
+ nav {
71
+ display: flex;
72
+ align-items: center;
73
+ justify-content: space-between;
74
+ padding: 1.5rem 0;
75
+ border-bottom: 1px solid var(--border);
76
+ margin-bottom: 3rem;
77
+ }
78
+
79
+ .logo {
80
+ display: flex;
81
+ align-items: center;
82
+ gap: 10px;
83
+ font-size: 1.2rem;
84
+ font-weight: 800;
85
+ letter-spacing: -0.02em;
86
+ }
87
+
88
+ .logo-icon {
89
+ width: 36px; height: 36px;
90
+ background: linear-gradient(135deg, var(--accent), var(--accent2));
91
+ border-radius: 8px;
92
+ display: flex;
93
+ align-items: center;
94
+ justify-content: center;
95
+ font-size: 18px;
96
+ }
97
+
98
+ .logo span { color: var(--accent); }
99
+
100
+ nav a {
101
+ color: var(--muted);
102
+ text-decoration: none;
103
+ font-size: 0.85rem;
104
+ font-weight: 600;
105
+ letter-spacing: 0.05em;
106
+ text-transform: uppercase;
107
+ transition: color 0.2s;
108
+ padding: 6px 14px;
109
+ border: 1px solid transparent;
110
+ border-radius: 6px;
111
+ }
112
+ nav a:hover { color: var(--accent); border-color: var(--border); }
113
+
114
+ /* ── Hero ── */
115
+ .hero { text-align: center; margin-bottom: 3rem; }
116
+
117
+ .hero-badge {
118
+ display: inline-flex;
119
+ align-items: center;
120
+ gap: 6px;
121
+ font-family: var(--mono);
122
+ font-size: 0.7rem;
123
+ color: var(--accent);
124
+ border: 1px solid rgba(0,212,255,0.3);
125
+ padding: 4px 12px;
126
+ border-radius: 100px;
127
+ margin-bottom: 1.5rem;
128
+ background: rgba(0,212,255,0.05);
129
+ letter-spacing: 0.08em;
130
+ }
131
+
132
+ .hero-badge::before {
133
+ content: '';
134
+ width: 6px; height: 6px;
135
+ background: var(--accent);
136
+ border-radius: 50%;
137
+ animation: blink 1.5s ease-in-out infinite;
138
+ }
139
+
140
+ @keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.2; } }
141
+
142
+ h1 {
143
+ font-size: clamp(2.2rem, 5vw, 3.5rem);
144
+ font-weight: 800;
145
+ line-height: 1.1;
146
+ letter-spacing: -0.03em;
147
+ margin-bottom: 1rem;
148
+ }
149
+
150
+ h1 .grad {
151
+ background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
152
+ -webkit-background-clip: text;
153
+ -webkit-text-fill-color: transparent;
154
+ background-clip: text;
155
+ }
156
+
157
+ .hero-sub {
158
+ color: var(--muted);
159
+ font-size: 1rem;
160
+ max-width: 500px;
161
+ margin: 0 auto 0.5rem;
162
+ line-height: 1.6;
163
+ }
164
+
165
+ .hero-credit {
166
+ font-family: var(--mono);
167
+ font-size: 0.72rem;
168
+ color: var(--accent2);
169
+ letter-spacing: 0.1em;
170
+ opacity: 0.8;
171
+ }
172
+
173
+ /* ── Stats bar ── */
174
+ .stats-bar {
175
+ display: grid;
176
+ grid-template-columns: repeat(4, 1fr);
177
+ gap: 1px;
178
+ background: var(--border);
179
+ border: 1px solid var(--border);
180
+ border-radius: 12px;
181
+ overflow: hidden;
182
+ margin-bottom: 2rem;
183
+ }
184
+
185
+ .stat-item {
186
+ background: var(--bg2);
187
+ padding: 1rem;
188
+ text-align: center;
189
+ }
190
+
191
+ .stat-num {
192
+ font-family: var(--mono);
193
+ font-size: 1.5rem;
194
+ font-weight: 500;
195
+ color: var(--accent);
196
+ display: block;
197
+ }
198
+
199
+ .stat-label {
200
+ font-size: 0.7rem;
201
+ color: var(--muted);
202
+ text-transform: uppercase;
203
+ letter-spacing: 0.08em;
204
+ margin-top: 2px;
205
+ }
206
+
207
+ /* ── Tab switcher ── */
208
+ .tabs {
209
+ display: flex;
210
+ gap: 4px;
211
+ background: var(--bg3);
212
+ border: 1px solid var(--border);
213
+ border-radius: 10px;
214
+ padding: 4px;
215
+ margin-bottom: 1rem;
216
+ width: fit-content;
217
+ }
218
+
219
+ .tab {
220
+ padding: 7px 18px;
221
+ border-radius: 7px;
222
+ font-size: 0.82rem;
223
+ font-weight: 600;
224
+ cursor: pointer;
225
+ border: none;
226
+ background: transparent;
227
+ color: var(--muted);
228
+ transition: all 0.2s;
229
+ letter-spacing: 0.02em;
230
+ }
231
+
232
+ .tab.active {
233
+ background: var(--bg);
234
+ color: var(--text);
235
+ box-shadow: 0 1px 3px rgba(0,0,0,0.4);
236
+ }
237
+
238
+ /* ── Scanner card ── */
239
+ .scanner-card {
240
+ background: var(--bg2);
241
+ border: 1px solid var(--border);
242
+ border-radius: 16px;
243
+ padding: 1.5rem;
244
+ margin-bottom: 1.5rem;
245
+ }
246
+
247
+ .input-row {
248
+ display: flex;
249
+ gap: 10px;
250
+ align-items: stretch;
251
+ }
252
+
253
+ .url-input {
254
+ flex: 1;
255
+ background: var(--bg3);
256
+ border: 1px solid var(--border);
257
+ border-radius: 10px;
258
+ padding: 14px 18px;
259
+ color: var(--text);
260
+ font-family: var(--mono);
261
+ font-size: 0.9rem;
262
+ outline: none;
263
+ transition: border-color 0.2s, box-shadow 0.2s;
264
+ }
265
+
266
+ .url-input:focus {
267
+ border-color: var(--accent);
268
+ box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
269
+ }
270
+
271
+ .url-input::placeholder { color: var(--muted); }
272
+
273
+ .scan-btn {
274
+ padding: 14px 28px;
275
+ background: linear-gradient(135deg, var(--accent), var(--accent2));
276
+ border: none;
277
+ border-radius: 10px;
278
+ color: #fff;
279
+ font-family: var(--font);
280
+ font-size: 0.9rem;
281
+ font-weight: 700;
282
+ cursor: pointer;
283
+ transition: opacity 0.2s, transform 0.1s;
284
+ white-space: nowrap;
285
+ letter-spacing: 0.02em;
286
+ }
287
+
288
+ .scan-btn:hover { opacity: 0.9; }
289
+ .scan-btn:active { transform: scale(0.98); }
290
+ .scan-btn:disabled { opacity: 0.5; cursor: not-allowed; }
291
+
292
+ /* Bulk textarea */
293
+ .bulk-area {
294
+ display: none;
295
+ }
296
+
297
+ .bulk-area.active { display: block; }
298
+
299
+ .url-textarea {
300
+ width: 100%;
301
+ background: var(--bg3);
302
+ border: 1px solid var(--border);
303
+ border-radius: 10px;
304
+ padding: 14px 18px;
305
+ color: var(--text);
306
+ font-family: var(--mono);
307
+ font-size: 0.85rem;
308
+ outline: none;
309
+ resize: vertical;
310
+ min-height: 120px;
311
+ transition: border-color 0.2s;
312
+ margin-bottom: 10px;
313
+ }
314
+
315
+ .url-textarea:focus { border-color: var(--accent); }
316
+
317
+ /* ── Scanning animation ── */
318
+ .scanning {
319
+ display: none;
320
+ align-items: center;
321
+ gap: 12px;
322
+ padding: 1rem;
323
+ color: var(--accent);
324
+ font-family: var(--mono);
325
+ font-size: 0.85rem;
326
+ }
327
+
328
+ .scanning.visible { display: flex; }
329
+
330
+ .scan-dots span {
331
+ display: inline-block;
332
+ width: 6px; height: 6px;
333
+ background: var(--accent);
334
+ border-radius: 50%;
335
+ animation: bounce 1.2s ease-in-out infinite;
336
+ }
337
+ .scan-dots span:nth-child(2) { animation-delay: 0.2s; }
338
+ .scan-dots span:nth-child(3) { animation-delay: 0.4s; }
339
+
340
+ @keyframes bounce {
341
+ 0%,60%,100% { transform: translateY(0); }
342
+ 30% { transform: translateY(-8px); }
343
+ }
344
+
345
+ /* ── Result card ── */
346
+ .result-card {
347
+ display: none;
348
+ background: var(--bg2);
349
+ border: 1px solid var(--border);
350
+ border-radius: 16px;
351
+ overflow: hidden;
352
+ animation: slideUp 0.3s ease;
353
+ margin-bottom: 1.5rem;
354
+ }
355
+
356
+ .result-card.visible { display: block; }
357
+
358
+ @keyframes slideUp {
359
+ from { opacity: 0; transform: translateY(12px); }
360
+ to { opacity: 1; transform: translateY(0); }
361
+ }
362
+
363
+ .result-header {
364
+ padding: 1.5rem;
365
+ display: flex;
366
+ align-items: center;
367
+ justify-content: space-between;
368
+ border-bottom: 1px solid var(--border);
369
+ }
370
+
371
+ .result-header.safe { border-left: 4px solid var(--safe); }
372
+ .result-header.dangerous { border-left: 4px solid var(--danger); }
373
+
374
+ .verdict-badge {
375
+ display: flex;
376
+ align-items: center;
377
+ gap: 10px;
378
+ }
379
+
380
+ .verdict-icon { font-size: 2rem; }
381
+
382
+ .verdict-text { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
383
+ .verdict-text.safe { color: var(--safe); }
384
+ .verdict-text.dangerous { color: var(--danger); }
385
+
386
+ .verdict-label {
387
+ font-family: var(--mono);
388
+ font-size: 0.75rem;
389
+ color: var(--muted);
390
+ margin-top: 2px;
391
+ }
392
+
393
+ .conf-ring {
394
+ text-align: center;
395
+ }
396
+
397
+ .conf-num {
398
+ font-family: var(--mono);
399
+ font-size: 1.8rem;
400
+ font-weight: 500;
401
+ }
402
+
403
+ .conf-num.safe { color: var(--safe); }
404
+ .conf-num.dangerous { color: var(--danger); }
405
+
406
+ .conf-label {
407
+ font-size: 0.7rem;
408
+ color: var(--muted);
409
+ text-transform: uppercase;
410
+ letter-spacing: 0.08em;
411
+ }
412
+
413
+ /* ── URL display ── */
414
+ .result-url {
415
+ padding: 0.75rem 1.5rem;
416
+ background: var(--bg3);
417
+ font-family: var(--mono);
418
+ font-size: 0.8rem;
419
+ color: var(--muted);
420
+ border-bottom: 1px solid var(--border);
421
+ word-break: break-all;
422
+ }
423
+
424
+ .result-url span { color: var(--accent); }
425
+
426
+ /* ── Model breakdown ── */
427
+ .model-grid {
428
+ display: grid;
429
+ grid-template-columns: repeat(3, 1fr);
430
+ gap: 1px;
431
+ background: var(--border);
432
+ border-bottom: 1px solid var(--border);
433
+ }
434
+
435
+ .model-cell {
436
+ background: var(--bg2);
437
+ padding: 1rem 1.25rem;
438
+ }
439
+
440
+ .model-name {
441
+ font-family: var(--mono);
442
+ font-size: 0.65rem;
443
+ color: var(--muted);
444
+ text-transform: uppercase;
445
+ letter-spacing: 0.1em;
446
+ margin-bottom: 6px;
447
+ }
448
+
449
+ .model-label {
450
+ font-size: 0.95rem;
451
+ font-weight: 700;
452
+ letter-spacing: -0.01em;
453
+ }
454
+
455
+ .model-label.benign { color: var(--safe); }
456
+ .model-label.malware { color: var(--danger); }
457
+ .model-label.phishing { color: var(--warn); }
458
+
459
+ .model-conf {
460
+ font-family: var(--mono);
461
+ font-size: 0.75rem;
462
+ color: var(--muted);
463
+ margin-top: 2px;
464
+ }
465
+
466
+ /* ── Prob bars ── */
467
+ .prob-section {
468
+ padding: 1.25rem 1.5rem;
469
+ border-bottom: 1px solid var(--border);
470
+ }
471
+
472
+ .prob-title {
473
+ font-size: 0.72rem;
474
+ color: var(--muted);
475
+ text-transform: uppercase;
476
+ letter-spacing: 0.08em;
477
+ margin-bottom: 0.75rem;
478
+ }
479
+
480
+ .prob-row {
481
+ display: flex;
482
+ align-items: center;
483
+ gap: 10px;
484
+ margin-bottom: 8px;
485
+ }
486
+
487
+ .prob-name {
488
+ font-family: var(--mono);
489
+ font-size: 0.78rem;
490
+ width: 70px;
491
+ color: var(--text);
492
+ }
493
+
494
+ .prob-bar-wrap {
495
+ flex: 1;
496
+ height: 6px;
497
+ background: var(--bg3);
498
+ border-radius: 3px;
499
+ overflow: hidden;
500
+ }
501
+
502
+ .prob-bar {
503
+ height: 100%;
504
+ border-radius: 3px;
505
+ transition: width 0.6s ease;
506
+ }
507
+
508
+ .prob-bar.benign { background: var(--safe); }
509
+ .prob-bar.malware { background: var(--danger); }
510
+ .prob-bar.phishing { background: var(--warn); }
511
+
512
+ .prob-val {
513
+ font-family: var(--mono);
514
+ font-size: 0.75rem;
515
+ color: var(--muted);
516
+ width: 44px;
517
+ text-align: right;
518
+ }
519
+
520
+ /* ── Risk signals ── */
521
+ .signals-section {
522
+ padding: 1.25rem 1.5rem;
523
+ }
524
+
525
+ .signal-item {
526
+ display: flex;
527
+ align-items: flex-start;
528
+ gap: 10px;
529
+ padding: 8px 12px;
530
+ border-radius: 8px;
531
+ margin-bottom: 6px;
532
+ font-size: 0.85rem;
533
+ }
534
+
535
+ .signal-item.high { background: rgba(255,68,68,0.08); color: #ff8080; }
536
+ .signal-item.medium { background: rgba(255,170,0,0.08); color: #ffcc66; }
537
+ .signal-item.safe { background: rgba(0,230,118,0.08); color: #66ffaa; }
538
+
539
+ /* ── Bulk results ── */
540
+ .bulk-results {
541
+ display: none;
542
+ background: var(--bg2);
543
+ border: 1px solid var(--border);
544
+ border-radius: 16px;
545
+ overflow: hidden;
546
+ margin-bottom: 1.5rem;
547
+ animation: slideUp 0.3s ease;
548
+ }
549
+
550
+ .bulk-results.visible { display: block; }
551
+
552
+ .bulk-header {
553
+ padding: 1rem 1.5rem;
554
+ border-bottom: 1px solid var(--border);
555
+ font-size: 0.8rem;
556
+ color: var(--muted);
557
+ text-transform: uppercase;
558
+ letter-spacing: 0.08em;
559
+ font-family: var(--mono);
560
+ }
561
+
562
+ .bulk-row {
563
+ display: flex;
564
+ align-items: center;
565
+ gap: 12px;
566
+ padding: 10px 1.5rem;
567
+ border-bottom: 1px solid var(--border);
568
+ font-size: 0.85rem;
569
+ }
570
+
571
+ .bulk-row:last-child { border-bottom: none; }
572
+
573
+ .bulk-verdict {
574
+ font-weight: 700;
575
+ font-size: 0.75rem;
576
+ padding: 3px 8px;
577
+ border-radius: 4px;
578
+ white-space: nowrap;
579
+ }
580
+
581
+ .bulk-verdict.safe { background: rgba(0,230,118,0.15); color: var(--safe); }
582
+ .bulk-verdict.dangerous { background: rgba(255,68,68,0.15); color: var(--danger); }
583
+
584
+ .bulk-url {
585
+ flex: 1;
586
+ font-family: var(--mono);
587
+ font-size: 0.78rem;
588
+ color: var(--muted);
589
+ overflow: hidden;
590
+ text-overflow: ellipsis;
591
+ white-space: nowrap;
592
+ }
593
+
594
+ .bulk-conf {
595
+ font-family: var(--mono);
596
+ font-size: 0.75rem;
597
+ color: var(--muted);
598
+ white-space: nowrap;
599
+ }
600
+
601
+ /* ── Error ── */
602
+ .error-card {
603
+ display: none;
604
+ background: rgba(255,68,68,0.08);
605
+ border: 1px solid rgba(255,68,68,0.3);
606
+ border-radius: 12px;
607
+ padding: 1rem 1.25rem;
608
+ color: #ff8080;
609
+ font-size: 0.88rem;
610
+ margin-bottom: 1rem;
611
+ animation: slideUp 0.3s ease;
612
+ }
613
+ .error-card.visible { display: block; }
614
+
615
+ /* ── Footer ── */
616
+ footer {
617
+ text-align: center;
618
+ padding: 2rem 0 0;
619
+ border-top: 1px solid var(--border);
620
+ color: var(--muted);
621
+ font-size: 0.78rem;
622
+ font-family: var(--mono);
623
+ }
624
+
625
+ footer span { color: var(--accent); }
626
+
627
+ /* ── Responsive ── */
628
+ @media (max-width: 600px) {
629
+ .stats-bar { grid-template-columns: repeat(2,1fr); }
630
+ .model-grid { grid-template-columns: 1fr; }
631
+ .input-row { flex-direction: column; }
632
+ h1 { font-size: 2rem; }
633
+ }
634
+ </style>
635
  </head>
636
  <body>
 
637
 
638
+ <div class="orb orb-1"></div>
639
+ <div class="orb orb-2"></div>
640
+
641
+ <div class="wrapper">
642
+
643
+ <!-- Nav -->
644
+ <nav>
645
+ <div class="logo">
646
+ <div class="logo-icon">🛡</div>
647
+ URL<span>Guard</span>
648
+ </div>
649
+ <a href="/history">Scan History</a>
650
+ </nav>
651
+
652
+ <!-- Hero -->
653
+ <div class="hero">
654
+ <div class="hero-badge">AI-POWERED THREAT DETECTION</div>
655
+ <h1>Is this URL <span class="grad">safe</span>?</h1>
656
+ <p class="hero-sub">XGBoost + CNN ensemble trained on 182k URLs. Detects phishing, malware, and more.</p>
657
+ <p class="hero-credit">// built by Dhanushram</p>
658
+ </div>
659
+
660
+ <!-- Stats bar -->
661
+ <div class="stats-bar">
662
+ <div class="stat-item">
663
+ <span class="stat-num">{{ stats.total }}</span>
664
+ <span class="stat-label">Total Scans</span>
665
  </div>
666
+ <div class="stat-item">
667
+ <span class="stat-num" style="color:var(--safe)">{{ stats.safe }}</span>
668
+ <span class="stat-label">Safe</span>
669
+ </div>
670
+ <div class="stat-item">
671
+ <span class="stat-num" style="color:var(--warn)">{{ stats.phishing }}</span>
672
+ <span class="stat-label">Phishing</span>
673
+ </div>
674
+ <div class="stat-item">
675
+ <span class="stat-num" style="color:var(--danger)">{{ stats.malware }}</span>
676
+ <span class="stat-label">Malware</span>
677
+ </div>
678
+ </div>
679
+
680
+ <!-- Tab switcher -->
681
+ <div class="tabs">
682
+ <button class="tab active" onclick="switchTab('single', this)">Single URL</button>
683
+ <button class="tab" onclick="switchTab('bulk', this)">Bulk Scan</button>
684
+ </div>
685
 
686
+ <!-- Scanner -->
687
+ <div class="scanner-card">
688
+ <!-- Single -->
689
+ <div id="single-area">
690
+ <div class="input-row">
691
+ <input id="url-input" class="url-input" type="text"
692
+ placeholder="https://example.com/path/to/page"
693
+ onkeydown="if(event.key==='Enter') scanSingle()">
694
+ <button class="scan-btn" onclick="scanSingle()">Scan URL</button>
695
+ </div>
696
  </div>
697
+ <!-- Bulk -->
698
+ <div id="bulk-area" class="bulk-area">
699
+ <textarea id="bulk-input" class="url-textarea"
700
+ placeholder="Enter one URL per line (max 20)&#10;https://example.com&#10;https://another.com"></textarea>
701
+ <button class="scan-btn" onclick="scanBulk()">Scan All URLs</button>
702
+ </div>
703
+ </div>
704
+
705
+ <!-- Scanning animation -->
706
+ <div class="scanning" id="scanning">
707
+ <div class="scan-dots"><span></span><span></span><span></span></div>
708
+ <span id="scan-msg">Analyzing URL...</span>
709
+ </div>
710
+
711
+ <!-- Error -->
712
+ <div class="error-card" id="error-card"></div>
713
 
714
+ <!-- Single result -->
715
+ <div class="result-card" id="result-card">
716
+ <div class="result-header" id="result-header">
717
+ <div class="verdict-badge">
718
+ <div class="verdict-icon" id="verdict-icon"></div>
719
+ <div>
720
+ <div class="verdict-text" id="verdict-text"></div>
721
+ <div class="verdict-label" id="verdict-label"></div>
722
  </div>
723
+ </div>
724
+ <div class="conf-ring">
725
+ <div class="conf-num" id="conf-num"></div>
726
+ <div class="conf-label">Confidence</div>
727
+ </div>
728
  </div>
729
 
730
+ <div class="result-url" id="result-url"></div>
731
 
732
+ <div class="model-grid">
733
+ <div class="model-cell">
734
+ <div class="model-name">XGBoost</div>
735
+ <div class="model-label" id="xgb-label"></div>
736
+ <div class="model-conf" id="xgb-conf"></div>
737
+ </div>
738
+ <div class="model-cell">
739
+ <div class="model-name">CNN</div>
740
+ <div class="model-label" id="cnn-label"></div>
741
+ <div class="model-conf">character-level</div>
742
+ </div>
743
+ <div class="model-cell">
744
+ <div class="model-name">Ensemble</div>
745
+ <div class="model-label" id="ens-label"></div>
746
+ <div class="model-conf" id="ens-source"></div>
747
+ </div>
748
  </div>
749
 
750
+ <div class="prob-section">
751
+ <div class="prob-title">Class Probabilities</div>
752
+ <div id="prob-bars"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
753
  </div>
754
 
755
+ <div class="signals-section" id="signals-section"></div>
756
+ </div>
757
+
758
+ <!-- Bulk results -->
759
+ <div class="bulk-results" id="bulk-results">
760
+ <div class="bulk-header">Bulk Scan Results</div>
761
+ <div id="bulk-list"></div>
762
+ </div>
763
+
764
+ <footer>
765
+ <p>URLGuard &mdash; AI Threat Scanner &mdash; built by <span>Dhanushram</span></p>
766
+ <p style="margin-top:4px;opacity:0.5">XGBoost + CNN Ensemble · 99.83% Accuracy · 182k Training URLs</p>
767
+ </footer>
768
 
769
  </div>
770
 
771
  <script>
772
+ let currentTab = 'single';
773
+
774
+ function switchTab(tab, btn) {
775
+ currentTab = tab;
776
+ document.querySelectorAll('.tab').forEach(t => t.classList.remove('active'));
777
+ btn.classList.add('active');
778
+ document.getElementById('single-area').style.display = tab === 'single' ? 'block' : 'none';
779
+ document.getElementById('bulk-area').classList.toggle('active', tab === 'bulk');
780
+ hideAll();
781
+ }
782
 
783
+ function hideAll() {
784
+ document.getElementById('result-card').classList.remove('visible');
785
+ document.getElementById('bulk-results').classList.remove('visible');
786
+ document.getElementById('error-card').classList.remove('visible');
787
+ document.getElementById('scanning').classList.remove('visible');
788
+ }
789
 
790
+ function showError(msg) {
791
+ const el = document.getElementById('error-card');
792
+ el.textContent = '⚠ ' + msg;
793
+ el.classList.add('visible');
794
+ }
795
 
796
+ async function scanSingle() {
797
+ const url = document.getElementById('url-input').value.trim();
798
+ if (!url) { showError('Please enter a URL'); return; }
799
 
800
+ hideAll();
801
+ document.getElementById('scan-msg').textContent = 'Analyzing URL...';
802
+ document.getElementById('scanning').classList.add('visible');
803
 
804
+ try {
805
+ const res = await fetch('/api/predict', {
806
+ method: 'POST',
807
+ headers: { 'Content-Type': 'application/json' },
808
+ body: JSON.stringify({ url })
809
+ });
810
+ const data = await res.json();
811
+ document.getElementById('scanning').classList.remove('visible');
812
 
813
+ if (data.error) { showError(data.error); return; }
814
+ renderResult(data);
815
+ } catch (e) {
816
+ document.getElementById('scanning').classList.remove('visible');
817
+ showError('Network error — please try again');
818
+ }
819
+ }
820
+
821
+ async function scanBulk() {
822
+ const urls = document.getElementById('bulk-input').value.trim();
823
+ if (!urls) { showError('Please enter at least one URL'); return; }
824
 
825
+ hideAll();
826
+ document.getElementById('scan-msg').textContent = 'Scanning all URLs...';
827
+ document.getElementById('scanning').classList.add('visible');
 
828
 
829
+ try {
830
+ const res = await fetch('/api/predict/bulk', {
831
+ method: 'POST',
832
+ headers: { 'Content-Type': 'application/json' },
833
+ body: JSON.stringify({ urls })
834
+ });
835
+ const data = await res.json();
836
+ document.getElementById('scanning').classList.remove('visible');
837
 
838
+ if (data.error) { showError(data.error); return; }
839
+ renderBulk(data.results);
840
+ } catch (e) {
841
+ document.getElementById('scanning').classList.remove('visible');
842
+ showError('Network error — please try again');
 
843
  }
844
+ }
845
 
846
+ function renderResult(data) {
847
+ const safe = data.verdict === 'SAFE';
848
+ const cls = safe ? 'safe' : 'dangerous';
849
+ const icon = safe ? '✅' : (data.ensemble.label === 'malware' ? '☠️' : '🚨');
850
+ const vc = data.verdict_class;
851
 
852
+ // Header
853
+ document.getElementById('result-header').className = `result-header ${cls}`;
854
+ document.getElementById('verdict-icon').textContent = icon;
855
+ document.getElementById('verdict-text').textContent = data.verdict;
856
+ document.getElementById('verdict-text').className = `verdict-text ${cls}`;
857
+ document.getElementById('verdict-label').textContent = data.ensemble.label.toUpperCase();
858
+ document.getElementById('conf-num').textContent = data.ensemble.confidence + '%';
859
+ document.getElementById('conf-num').className = `conf-num ${cls}`;
860
 
861
+ // URL
862
+ document.getElementById('result-url').innerHTML = '🔗 <span>' + data.url + '</span>';
 
 
863
 
864
+ // Models
865
+ const setModel = (id, label, conf) => {
866
+ document.getElementById(id+'-label').textContent = label.toUpperCase();
867
+ document.getElementById(id+'-label').className = 'model-label ' + label;
868
+ if (document.getElementById(id+'-conf'))
869
+ document.getElementById(id+'-conf').textContent = conf ? conf + '% confidence' : '';
870
+ };
871
+ setModel('xgb', data.xgb.label, data.xgb.confidence);
872
+ setModel('cnn', data.cnn.label, null);
873
+ setModel('ens', data.ensemble.label, data.ensemble.confidence);
874
+ document.getElementById('ens-source').textContent = 'via ' + data.ensemble.source;
875
 
876
+ // Prob bars
877
+ const probs = data.class_probs;
878
+ const pbHtml = Object.entries(probs).map(([cls, val]) => `
879
+ <div class="prob-row">
880
+ <span class="prob-name">${cls}</span>
881
+ <div class="prob-bar-wrap">
882
+ <div class="prob-bar ${cls}" style="width:${val}%"></div>
883
+ </div>
884
+ <span class="prob-val">${val}%</span>
885
+ </div>
886
+ `).join('');
887
+ document.getElementById('prob-bars').innerHTML = pbHtml;
888
 
889
+ // Risk signals
890
+ const sigs = data.risk_signals || [];
891
+ const sigHtml = sigs.length ? sigs.map(s => `
892
+ <div class="signal-item ${s.risk}">
893
+ <span>${s.icon}</span>
894
+ <span>${s.text}</span>
895
+ </div>
896
+ `).join('') : '<div style="color:var(--muted);font-size:0.85rem">No specific risk signals detected.</div>';
897
 
898
+ document.getElementById('signals-section').innerHTML =
899
+ `<div class="prob-title" style="margin-bottom:0.75rem">Risk Signals</div>` + sigHtml;
900
 
901
+ document.getElementById('result-card').classList.add('visible');
902
+ }
903
+
904
+ function renderBulk(results) {
905
+ const rows = results.map(r => {
906
+ if (r.error) return `
907
+ <div class="bulk-row">
908
+ <span class="bulk-verdict dangerous">ERROR</span>
909
+ <span class="bulk-url">${r.url}</span>
910
+ </div>`;
911
+ const safe = r.verdict === 'SAFE';
912
+ return `
913
+ <div class="bulk-row">
914
+ <span class="bulk-verdict ${safe ? 'safe' : 'dangerous'}">${r.verdict}</span>
915
+ <span class="bulk-url">${r.url}</span>
916
+ <span class="bulk-conf">${r.ensemble?.confidence ?? '—'}%</span>
917
+ </div>`;
918
+ }).join('');
919
+
920
+ document.getElementById('bulk-list').innerHTML = rows;
921
+ document.getElementById('bulk-results').classList.add('visible');
922
+ }
923
  </script>
924
  </body>
925
  </html>