-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
588 lines (530 loc) · 23.1 KB
/
index.html
File metadata and controls
588 lines (530 loc) · 23.1 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CoreSecurity - Advanced Cybersecurity Framework</title>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<meta name="description"
content="Python framework with web interface and remote desktop access for network security, forensic analysis, and penetration testing." />
<meta property="og:title" content="CoreSecurityFramework" />
<meta property="og:description" content="Modular Python Framework with Web Interface and GUI apps support" />
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet" />
<link rel="stylesheet" href="styles.css" />
<style>
/* Estilos adicionales para los controles de video */
.demo-video-container {
position: relative;
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-lg);
background: #000;
}
.demo-video-container video {
width: 100%;
height: auto;
display: block;
border-radius: 0;
}
/* Controles personalizados */
.video-controls {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
padding: 1rem;
opacity: 0;
transition: opacity 0.3s ease;
}
.demo-video-container:hover .video-controls {
opacity: 1;
}
.controls-row {
display: flex;
align-items: center;
gap: 1rem;
}
.play-pause-btn {
background: none;
border: none;
color: white;
font-size: 1.25rem;
cursor: pointer;
padding: 0.5rem;
border-radius: var(--radius-sm);
transition: background 0.2s ease;
}
.play-pause-btn:hover {
background: rgba(255, 255, 255, 0.2);
}
.progress-container {
flex: 1;
height: 4px;
background: rgba(255, 255, 255, 0.3);
border-radius: 2px;
cursor: pointer;
position: relative;
}
.progress-bar {
height: 100%;
background: var(--accent-color);
border-radius: 2px;
transition: width 0.1s ease;
width: 0%;
}
.time-display {
color: white;
font-size: 0.875rem;
font-weight: 500;
min-width: 80px;
text-align: right;
}
.volume-container {
display: flex;
align-items: center;
gap: 0.5rem;
}
.volume-btn {
background: none;
border: none;
color: white;
font-size: 1rem;
cursor: pointer;
padding: 0.5rem;
border-radius: var(--radius-sm);
transition: background 0.2s ease;
}
.volume-btn:hover {
background: rgba(255, 255, 255, 0.2);
}
.volume-slider {
width: 60px;
height: 4px;
background: rgba(255, 255, 255, 0.3);
border-radius: 2px;
position: relative;
cursor: pointer;
}
.volume-fill {
height: 100%;
background: white;
border-radius: 2px;
width: 100%;
transition: width 0.1s ease;
}
.fullscreen-btn {
background: none;
border: none;
color: white;
font-size: 1rem;
cursor: pointer;
padding: 0.5rem;
border-radius: var(--radius-sm);
transition: background 0.2s ease;
}
.fullscreen-btn:hover {
background: rgba(255, 255, 255, 0.2);
}
/* Video principal en intro */
.intro .demo-video {
border-radius: var(--radius-lg);
margin-top: 3rem;
width: 100%;
box-shadow: var(--shadow-lg);
}
/* Ajustar los videos de demo para mantener proporción */
.demo-item .demo-video-container {
width: 100%;
max-width: 600px;
margin: 0 auto;
}
.demo-item video {
width: 100%;
height: auto;
min-height: 250px;
max-height: 400px;
object-fit: contain;
}
/* Estilos responsive */
@media (max-width: 768px) {
.controls-row {
gap: 0.5rem;
}
.volume-container {
display: none;
}
.time-display {
min-width: 60px;
font-size: 0.75rem;
}
}
</style>
</head>
<body>
<!-- Navegación principal -->
<nav class="nav">
<div class="container nav-content">
<h2 class="logo">CoreSecurity</h2>
<div class="nav-links">
<a href="index.html">Home</a>
<a href="webapp.html">Web Interface</a>
<a href="docker.html">Docker</a>
<a href="about.html">About</a>
<a href="https://github.com/orgs/CoreSecFrame/repositories">GitHub</a>
</div>
</div>
</nav>
<!-- Hero -->
<header class="hero">
<div class="container">
<h1>CoreSecurityFramework</h1>
<p class="header-subtitle">Modular Python Framework with Web Interface and Remote Desktop Access for
Complete Cybersecurity Operations</p>
<div class="hero-stats">
<div class="stat-item">
<span class="stat-number">CLI</span>
<span class="stat-label">Interface</span>
</div>
<div class="stat-item">
<span class="stat-number">Web</span>
<span class="stat-label">Dashboard</span>
</div>
<div class="stat-item">
<span class="stat-number">noVNC</span>
<span class="stat-label">GUI Apps</span>
</div>
<div class="stat-item">
<span class="stat-number">Docker</span>
<span class="stat-label">Ready</span>
</div>
</div>
</div>
</header>
<!-- Intro -->
<section class="intro">
<div class="container intro-content">
<h2>Two Ways to Access Your Security Tools</h2>
<p>
CoreSecurityFramework now offers multiple access methods: traditional CLI for power users,
a modern web interface for management, and access through noVNC for
full GUI tool interaction - all containerized and ready to deploy.
</p>
<div class="access-methods">
<div class="access-method">
<div class="access-icon">
<i class="fas fa-terminal"></i>
</div>
<div class="access-content">
<h4>Command Line Interface</h4>
<p>Direct terminal comandline personalized with enhanced CLI, autocompletion, and guided modes
for new users</p>
<ul class="access-features">
<li>Interactive command shell</li>
<li>Supports multiple terminal instances</li>
<li>Module management</li>
<li>Automated installations</li>
</ul>
</div>
</div>
<div class="access-method">
<div class="access-icon">
<i class="fas fa-globe"></i>
</div>
<div class="access-content">
<h4>Web Interface</h4>
<p>Browser-based management interface for monitoring, configuration, and complete operations</p>
<ul class="access-features">
<li>System monitoring dashboard</li>
<li>Module management</li>
<li>Supports multiple terminal instances</li>
<li>Support for multiple users usage</li>
<li>Complete GUI tool support</li>
</ul>
</div>
</div>
</div>
<div class="demo-video-container">
<img src="assets/Welcome-CoreSecFrame.png" alt="CoreSecurityFramework Web Interface" class="webapp-screenshot">
</div>
</div>
</section>
<!-- Web Interface Highlight -->
<section class="webapp-highlight">
<div class="container">
<div class="webapp-content">
<div class="webapp-text">
<h2>New: Web Interface with full GUI apps support</h2>
<p>Access your complete security environment through any modern web browser. Our new web interface
combines system monitoring with full terminal, modules and GUI apps execution.</p>
<div class="webapp-features">
<div class="webapp-feature">
<i class="fas fa-chart-line"></i>
<span>Real-time system monitoring</span>
</div>
<div class="webapp-feature">
<i class="fas fa-cogs"></i>
<span>Module management interface</span>
</div>
<div class="webapp-feature">
<i class="fas fa-desktop"></i>
<span>Execute GUI apps and stream it through noVNC</span>
</div>
<div class="webapp-feature">
<i class="fas fa-tools"></i>
<span>Access classic modules through CLI and clean system terminal</span>
</div>
</div>
<div class="webapp-buttons">
<a href="webapp.html" class="btn-primary">
<i class="fas fa-play"></i> Try Web Interface
</a>
<a href="docker.html" class="btn-secondary">
<i class="fab fa-docker"></i> Docker Setup
</a>
</div>
</div>
<div class="webapp-preview">
<div class="browser-mockup">
<div class="browser-header">
<div class="browser-buttons">
<span></span><span></span><span></span>
</div>
<div class="browser-url">http://<"HOST-IP">:5000</div>
</div>
<div class="browser-content">
<img src="assets/Dashboard-CoreSecFrame.png" alt="CoreSecurityFramework Web Interface"
class="webapp-screenshot">
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Demo Videos Section -->
<section class="demo-section">
<div class="container">
<h2>See All Interfaces In Action</h2>
<div class="demo-grid">
<div class="demo-item">
<h4>CLI Operations</h4>
<div class="demo-video-container">
<video id="demoVideo1" muted>
<source src="assets/demo.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="video-controls">
<div class="controls-row">
<button class="play-pause-btn" onclick="togglePlay('demoVideo1')">
<i class="fas fa-play" id="demoVideo1-icon"></i>
</button>
<div class="progress-container" onclick="setProgress(event, 'demoVideo1')">
<div class="progress-bar" id="demoVideo1-progress"></div>
</div>
<div class="time-display" id="demoVideo1-time">0:00 / 0:00</div>
<div class="volume-container">
<button class="volume-btn" onclick="toggleMute('demoVideo1')">
<i class="fas fa-volume-up" id="demoVideo1-volume-icon"></i>
</button>
<div class="volume-slider" onclick="setVolume(event, 'demoVideo1')">
<div class="volume-fill" id="demoVideo1-volume-fill"></div>
</div>
</div>
<button class="fullscreen-btn" onclick="toggleFullscreen('demoVideo1')">
<i class="fas fa-expand"></i>
</button>
</div>
</div>
</div>
<p>Command-line interface with module management</p>
</div>
<div class="demo-item">
<h4>Web Dashboard</h4>
<div class="demo-video-container">
<video id="demoVideo2" muted>
<source src="assets/web-dasboard.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="video-controls">
<div class="controls-row">
<button class="play-pause-btn" onclick="togglePlay('demoVideo2')">
<i class="fas fa-play" id="demoVideo2-icon"></i>
</button>
<div class="progress-container" onclick="setProgress(event, 'demoVideo2')">
<div class="progress-bar" id="demoVideo2-progress"></div>
</div>
<div class="time-display" id="demoVideo2-time">0:00 / 0:00</div>
<div class="volume-container">
<button class="volume-btn" onclick="toggleMute('demoVideo2')">
<i class="fas fa-volume-up" id="demoVideo2-volume-icon"></i>
</button>
<div class="volume-slider" onclick="setVolume(event, 'demoVideo2')">
<div class="volume-fill" id="demoVideo2-volume-fill"></div>
</div>
</div>
<button class="fullscreen-btn" onclick="toggleFullscreen('demoVideo2')">
<i class="fas fa-expand"></i>
</button>
</div>
</div>
</div>
<p>Browser-based monitoring GUI apps support, system logs, and built in file manager</p>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="cta">
<div class="container">
<h2>Deploy Your Security Environment</h2>
<p>Get started with CoreSecurityFramework and access your tools through CLI, web interface, or remote
desktop.</p>
<div class="cta-buttons">
<a href="webapp.html" class="cta-btn primary">
<i class="fas fa-desktop"></i> Web Interface Guide
</a>
<a href="docker.html" class="cta-btn secondary">
<i class="fab fa-docker"></i> Docker Deployment
</a>
</div>
</div>
<div class="container">
<div class="section-header-modern">
<h2 style="color: white;">Now Available on WSL</h2>
<p class="subtitle" style="color: rgba(255,255,255,0.9);">
You can now deploy and run CoreSecurityFramework directly on Windows Subsystem for Linux.<br>
Enjoy seamless integration with your Windows environment and full web interface capabilities.
</p>
</div>
</div>
</section>
<!-- Footer -->
<footer>
<div class="container footer-content">
<p><span class="copyleft">©</span> 2025 CoreSecurityFramework. GPL-3.0 License</p>
<div class="social-links">
<a href="https://github.com/CoreSecFrame/CoreSecFrame"><i class="fab fa-github"></i></a>
<a href="#"><i class="fab fa-discord"></i></a>
</div>
</div>
<div class="container footer-credit">
<p>Built by cybersecurity students • Now with Web Interface and Remote Desktop Access</p>
</div>
</footer>
<script>
// Funciones para controlar los videos
function togglePlay(videoId) {
const video = document.getElementById(videoId);
const icon = document.getElementById(videoId + '-icon');
if (video.paused) {
video.play();
icon.className = 'fas fa-pause';
} else {
video.pause();
icon.className = 'fas fa-play';
}
}
function updateProgress(videoId) {
const video = document.getElementById(videoId);
const progressBar = document.getElementById(videoId + '-progress');
const timeDisplay = document.getElementById(videoId + '-time');
const progress = (video.currentTime / video.duration) * 100;
progressBar.style.width = progress + '%';
const currentTime = formatTime(video.currentTime);
const duration = formatTime(video.duration);
timeDisplay.textContent = currentTime + ' / ' + duration;
}
function setProgress(event, videoId) {
const video = document.getElementById(videoId);
const progressContainer = event.currentTarget;
const rect = progressContainer.getBoundingClientRect();
const percent = (event.clientX - rect.left) / rect.width;
video.currentTime = percent * video.duration;
}
function toggleMute(videoId) {
const video = document.getElementById(videoId);
const volumeIcon = document.getElementById(videoId + '-volume-icon');
const volumeFill = document.getElementById(videoId + '-volume-fill');
if (video.muted) {
video.muted = false;
volumeIcon.className = 'fas fa-volume-up';
volumeFill.style.width = (video.volume * 100) + '%';
} else {
video.muted = true;
volumeIcon.className = 'fas fa-volume-mute';
volumeFill.style.width = '0%';
}
}
function setVolume(event, videoId) {
const video = document.getElementById(videoId);
const volumeSlider = event.currentTarget;
const volumeFill = document.getElementById(videoId + '-volume-fill');
const volumeIcon = document.getElementById(videoId + '-volume-icon');
const rect = volumeSlider.getBoundingClientRect();
const percent = (event.clientX - rect.left) / rect.width;
video.volume = Math.max(0, Math.min(1, percent));
video.muted = false;
volumeFill.style.width = (video.volume * 100) + '%';
if (video.volume === 0) {
volumeIcon.className = 'fas fa-volume-mute';
} else if (video.volume < 0.5) {
volumeIcon.className = 'fas fa-volume-down';
} else {
volumeIcon.className = 'fas fa-volume-up';
}
}
function toggleFullscreen(videoId) {
const video = document.getElementById(videoId);
if (video.requestFullscreen) {
video.requestFullscreen();
} else if (video.webkitRequestFullscreen) {
video.webkitRequestFullscreen();
} else if (video.msRequestFullscreen) {
video.msRequestFullscreen();
}
}
function formatTime(seconds) {
if (isNaN(seconds)) return '0:00';
const minutes = Math.floor(seconds / 60);
const remainingSeconds = Math.floor(seconds % 60);
return minutes + ':' + (remainingSeconds < 10 ? '0' : '') + remainingSeconds;
}
// Inicializar eventos para todos los videos
document.addEventListener('DOMContentLoaded', function () {
const videos = ['mainVideo', 'demoVideo1', 'demoVideo2'];
videos.forEach(videoId => {
const video = document.getElementById(videoId);
if (video) {
// Actualizar progreso mientras reproduce
video.addEventListener('timeupdate', () => updateProgress(videoId));
// Cuando el video termine
video.addEventListener('ended', () => {
const icon = document.getElementById(videoId + '-icon');
icon.className = 'fas fa-play';
});
// Inicializar volumen
const volumeFill = document.getElementById(videoId + '-volume-fill');
if (volumeFill) {
volumeFill.style.width = (video.volume * 100) + '%';
}
// Pausar otros videos cuando uno empiece a reproducir
video.addEventListener('play', () => {
videos.forEach(otherId => {
if (otherId !== videoId) {
const otherVideo = document.getElementById(otherId);
if (otherVideo && !otherVideo.paused) {
otherVideo.pause();
const otherIcon = document.getElementById(otherId + '-icon');
otherIcon.className = 'fas fa-play';
}
}
});
});
}
});
});
</script>
</body>
</html>