Spaces:
Running

File size: 33,361 Bytes
a079b68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>DARK EYE v3.2.7</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        @charset "UTF-8";
        *,:after,:before{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"}body{margin:0;line-height:inherit}button,input,select{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button{-webkit-appearance:button;background-color:transparent;background-image:none}::-moz-focus-inner{border-style:none;padding:0}:-moz-ui-invalid{box-shadow:none}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-2{height:.5rem}.h-64{height:16rem}.w-1\/2{width:50%}.w-2{width:.5rem}.w-full{width:100%}.max-w-6xl{max-width:72rem}.flex-1{flex:1 1 0%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.space-x-2>:not(:last-child){margin-right:.5rem}.space-x-4>:not(:last-child){margin-right:1rem}.overflow-y-auto{overflow-y:auto}.border-b{border-bottom-width:1px}.border{border-width:1px}.border-green-400{--tw-border-opacity:1;border-color:rgb(74 222 128/var(--tw-border-opacity))}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity:1;background-color:rgb(31 41 55/var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity:1;background-color:rgb(17 24 39/var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity:1;background-color:rgb(74 222 128/var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity:1;background-color:rgb(250 204 21/var(--tw-bg-opacity))}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-2{padding-bottom:.5rem}.pt-2{padding-top:.5rem}.mt-1{margin-top:.25rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-2{margin-left:.5rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.text-center{text-align:center}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-green-400{--tw-text-opacity:1;color:rgb(74 222 128/var(--tw-text-opacity))}.text-red-400{--tw-text-opacity:1;color:rgb(248 113 113/var(--tw-text-opacity))}.hover\:bg-green-300:hover{--tw-bg-opacity:1;background-color:rgb(134 239 172/var(--tw-bg-opacity))}.hover\:bg-red-300:hover{--tw-bg-opacity:1;background-color:rgb(252 165 165/var(--tw-bg-opacity))}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.rounded-full{border-radius:9999px}@media (min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.lg\:col-span-1{grid-column:span 1/span 1}.lg\:col-span-2{grid-column:span 2/span 2}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}

        @import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
        
        body {
            font-family: 'Share Tech Mono', monospace;
            background-color: #0a0a0a;
            color: #00ff41;
            overflow-x: hidden;
        }
        
        .glitch {
            position: relative;
        }
        
        .glitch::before, .glitch::after {
            content: attr(data-text);
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        
        .glitch::before {
            left: 2px;
            text-shadow: -2px 0 #ff00ff;
            clip: rect(44px, 450px, 56px, 0);
            animation: glitch-anim 5s infinite linear alternate-reverse;
        }
        
        .glitch::after {
            left: -2px;
            text-shadow: -2px 0 #00ffff;
            clip: rect(44px, 450px, 56px, 0);
            animation: glitch-anim2 5s infinite linear alternate-reverse;
        }
        
        @keyframes glitch-anim {
            0% { clip: rect(31px, 9999px, 94px, 0); }
            10% { clip: rect(112px, 9999px, 76px, 0); }
            20% { clip: rect(85px, 9999px, 77px, 0); }
            30% { clip: rect(27px, 9999px, 97px, 0); }
            40% { clip: rect(64px, 9999px, 98px, 0); }
            50% { clip: rect(61px, 9999px, 85px, 0); }
            60% { clip: rect(99px, 9999px, 114px, 0); }
            70% { clip: rect(34px, 9999px, 115px, 0); }
            80% { clip: rect(98px, 9999px, 129px, 0); }
            90% { clip: rect(43px, 9999px, 96px, 0); }
            100% { clip: rect(82px, 9999px, 64px, 0); }
        }
        
        @keyframes glitch-anim2 {
            0% { clip: rect(65px, 9999px, 119px, 0); }
            10% { clip: rect(66px, 9999px, 151px, 0); }
            20% { clip: rect(33px, 9999px, 149px, 0); }
            30% { clip: rect(147px, 9999px, 128px, 0); }
            40% { clip: rect(70px, 9999px, 145px, 0); }
            50% { clip: rect(120px, 9999px, 140px, 0); }
            60% { clip: rect(106px, 9999px, 103px, 0); }
            70% { clip: rect(141px, 9999px, 74px, 0); }
            80% { clip: rect(20px, 9999px, 78px, 0); }
            90% { clip: rect(133px, 9999px, 79px, 0); }
            100% { clip: rect(64px, 9999px, 43px, 0); }
        }
        
        .scanline {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                to bottom,
                rgba(0, 255, 65, 0.1) 0%,
                rgba(0, 255, 65, 0) 10%
            );
            background-size: 100% 8px;
            animation: scanline 8s linear infinite;
            pointer-events: none;
        }
        
        @keyframes scanline {
            0% { transform: translateY(-100%); }
            100% { transform: translateY(100%); }
        }
        
        .terminal-cursor {
            display: inline-block;
            width: 10px;
            height: 15px;
            background-color: #00ff41;
            animation: blink 1s infinite;
        }
        
        @keyframes blink {
            0% { opacity: 1; }
            50% { opacity: 0; }
            100% { opacity: 1; }
        }
        
        .progress-bar {
            height: 4px;
            background-color: #00ff41;
            animation: progress 3s linear infinite;
            width: 0%;
        }
        
        @keyframes progress {
            0% { width: 0%; }
            100% { width: 100%; }
        }
        
        .camera-feed {
            border: 1px solid #00ff41;
            background-color: #000;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .camera-feed:hover {
            border-color: #00ffff;
            box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
        }
        
        .camera-feed::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                rgba(0, 255, 65, 0.1) 1px,
                transparent 1px
            );
            background-size: 100% 2px;
            animation: scanline 4s linear infinite;
            pointer-events: none;
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.7); }
            70% { box-shadow: 0 0 0 10px rgba(0, 255, 65, 0); }
            100% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0); }
        }
        
        /* Fullscreen viewer */
        .fullscreen-viewer {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            z-index: 1000;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        
        .viewer-content {
            width: 90%;
            height: 80%;
            border: 2px solid #00ff41;
            position: relative;
            background-color: #000;
        }
        
        .viewer-content::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                rgba(0, 255, 65, 0.1) 1px,
                transparent 1px
            );
            background-size: 100% 2px;
            animation: scanline 4s linear infinite;
            pointer-events: none;
        }
        
        .viewer-controls {
            margin-top: 20px;
            display: flex;
            gap: 15px;
        }
        
        .viewer-btn {
            background-color: #000;
            border: 1px solid #00ff41;
            color: #00ff41;
            padding: 8px 15px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .viewer-btn:hover {
            background-color: #00ff41;
            color: #000;
        }
        
        .viewer-info {
            position: absolute;
            bottom: 10px;
            left: 10px;
            background-color: rgba(0, 0, 0, 0.7);
            padding: 5px 10px;
            font-size: 12px;
            border: 1px solid #00ff41;
        }
        
        .no-signal {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            color: #ff0000;
            font-size: 24px;
            text-transform: uppercase;
        }
        
        .no-signal::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(0deg, transparent 45%, rgba(255, 0, 0, 0.1) 45%, rgba(255, 0, 0, 0.1) 55%, transparent 55%),
                        linear-gradient(90deg, transparent 45%, rgba(255, 0, 0, 0.1) 45%, rgba(255, 0, 0, 0.1) 55%, transparent 55%);
            background-size: 10px 10px;
        }
    </style>
</head>
<body class="bg-black text-green-400 p-4">
    <div class="scanline"></div>
    
    <!-- Fullscreen Viewer (hidden by default) -->
    <div class="fullscreen-viewer" id="fullscreenViewer">
        <div class="viewer-content" id="viewerContent">
            <div class="no-signal" id="noSignal">
                <i class="fas fa-exclamation-triangle mb-2"></i>
                <div>NO SIGNAL</div>
            </div>
            <div class="viewer-info" id="viewerInfo">
                FEED #1 | 192.168.1.108:8080 | RTSP
            </div>
        </div>
        <div class="viewer-controls">
            <button class="viewer-btn" id="zoomInBtn"><i class="fas fa-search-plus"></i> Zoom In</button>
            <button class="viewer-btn" id="zoomOutBtn"><i class="fas fa-search-minus"></i> Zoom Out</button>
            <button class="viewer-btn" id="snapshotBtn"><i class="fas fa-camera"></i> Snapshot</button>
            <button class="viewer-btn" id="recordBtn"><i class="fas fa-circle"></i> Record</button>
            <button class="viewer-btn" id="closeViewerBtn"><i class="fas fa-times"></i> Close</button>
        </div>
    </div>
    
    <div class="max-w-6xl mx-auto">
        <!-- Header -->
        <div class="flex justify-between items-center mb-6 border-b border-green-400 pb-2">
            <div class="glitch" data-text="DARK EYE v3.2.7">
                <h1 class="text-3xl font-bold">DARK EYE v3.2.7</h1>
            </div>
            <div class="flex space-x-4">
                <div class="text-xs">
                    <div class="flex items-center">
                        <span class="mr-2">STATUS:</span>
                        <span class="text-green-400 flex items-center">
                            <span class="w-2 h-2 bg-green-400 rounded-full mr-1"></span>
                            ACTIVE
                        </span>
                    </div>
                    <div class="flex items-center">
                        <span class="mr-2">TOR:</span>
                        <span class="text-green-400 flex items-center">
                            <span class="w-2 h-2 bg-green-400 rounded-full mr-1"></span>
                            ROUTED
                        </span>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Main Content -->
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
            <!-- Left Panel - Controls -->
            <div class="lg:col-span-1 bg-black border border-green-400 p-4">
                <h2 class="text-xl mb-4 border-b border-green-400 pb-2">CONTROL PANEL</h2>
                
                <div class="mb-6">
                    <label class="block text-sm mb-2">TARGET IPv4</label>
                    <div class="flex">
                        <input type="text" class="bg-black border border-green-400 px-3 py-2 w-full text-green-400" value="192.168.1.108">
                        <button class="bg-green-400 text-black px-3 py-2 ml-2 hover:bg-green-300 transition">
                            <i class="fas fa-crosshairs"></i>
                        </button>
                    </div>
                </div>
                
                <div class="mb-6">
                    <label class="block text-sm mb-2">PORT RANGE</label>
                    <div class="flex">
                        <input type="text" class="bg-black border border-green-400 px-3 py-2 w-1/2 text-green-400" placeholder="Start" value="8000">
                        <input type="text" class="bg-black border border-green-400 px-3 py-2 w-1/2 ml-2 text-green-400" placeholder="End" value="8080">
                    </div>
                </div>
                
                <div class="mb-6">
                    <label class="block text-sm mb-2">BRUTE FORCE DICTIONARY</label>
                    <select class="bg-black border border-green-400 px-3 py-2 w-full text-green-400">
                        <option>default_passwords.dic</option>
                        <option>common_passwords.dic</option>
                        <option>custom_list.dic</option>
                    </select>
                </div>
                
                <div class="mb-6">
                    <label class="block text-sm mb-2">EXPLOIT TYPE</label>
                    <select class="bg-black border border-green-400 px-3 py-2 w-full text-green-400">
                        <option>RTSP Stream Hijack</option>
                        <option>HTTP Digest Auth Bypass</option>
                        <option>ONVIF Protocol Exploit</option>
                        <option>UPnP Port Forwarding</option>
                    </select>
                </div>
                
                <div class="flex space-x-2">
                    <button class="bg-green-400 text-black px-4 py-2 flex-1 hover:bg-green-300 transition flex items-center justify-center">
                        <i class="fas fa-play mr-2"></i> EXECUTE
                    </button>
                    <button class="bg-red-400 text-black px-4 py-2 flex-1 hover:bg-red-300 transition flex items-center justify-center">
                        <i class="fas fa-stop mr-2"></i> ABORT
                    </button>
                </div>
                
                <div class="mt-6">
                    <div class="flex justify-between text-xs mb-1">
                        <span>SYSTEM LOAD</span>
                        <span>87%</span>
                    </div>
                    <div class="w-full bg-gray-800 h-2">
                        <div class="bg-green-400 h-2" style="width: 87%;"></div>
                    </div>
                </div>
            </div>
            
            <!-- Middle Panel - Terminal -->
            <div class="lg:col-span-2 bg-black border border-green-400 p-4">
                <h2 class="text-xl mb-4 border-b border-green-400 pb-2">TERMINAL OUTPUT</h2>
                
                <div class="font-mono text-xs mb-4 h-64 overflow-y-auto bg-gray-900 p-3">
                    <p class="text-green-400">> Initializing DARK EYE v3.2.7...</p>
                    <p class="text-green-400">> TOR routing established</p>
                    <p class="text-green-400">> Scanning network for vulnerable devices...</p>
                    <p class="text-green-400">> Found 3 potential targets</p>
                    <p class="text-green-400">> Targeting: 192.168.1.108</p>
                    <p class="text-green-400">> Port scan initiated (8000-8080)</p>
                    <p class="text-green-400">> Open ports detected: 8000, 8001, 8080</p>
                    <p class="text-green-400">> Attempting RTSP stream access...</p>
                    <p class="text-green-400">> Authentication required</p>
                    <p class="text-green-400">> Loading brute force dictionary: default_passwords.dic</p>
                    <p class="text-green-400">> Trying credentials: admin:admin</p>
                    <p class="text-red-400">> Access denied</p>
                    <p class="text-green-400">> Trying credentials: admin:12345</p>
                    <p class="text-red-400">> Access denied</p>
                    <p class="text-green-400">> Trying credentials: admin:password</p>
                    <p class="text-green-400">> ACCESS GRANTED</p>
                    <p class="text-green-400">> Establishing video stream...</p>
                    <p class="text-green-400">> Stream available at rtsp://192.168.1.108:8080/stream</p>
                    <p class="text-green-400">> <span class="terminal-cursor"></span></p>
                </div>
                
                <div class="flex">
                    <input type="text" class="bg-black border border-green-400 px-3 py-2 w-full text-green-400 font-mono" value="connect --ip 192.168.1.108 --port 8080 --feed 1">
                    <button class="bg-green-400 text-black px-3 py-2 ml-2 hover:bg-green-300 transition">
                        <i class="fas fa-terminal"></i>
                    </button>
                </div>
                
                <div class="mt-4">
                    <div class="flex justify-between text-xs mb-1">
                        <span>EXPLOIT PROGRESS</span>
                        <span>64%</span>
                    </div>
                    <div class="w-full bg-gray-800 h-2">
                        <div class="progress-bar"></div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Camera Feeds -->
        <div class="mt-6 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
            <div class="camera-feed p-2" data-feed="1" data-ip="192.168.1.108" data-port="8080">
                <div class="relative pt-[56.25%]">
                    <div class="absolute inset-0 flex items-center justify-center">
                        <div class="text-center">
                            <i class="fas fa-video text-4xl mb-2"></i>
                            <p>FEED #1</p>
                            <p class="text-xs mt-1">192.168.1.108:8080</p>
                        </div>
                    </div>
                    <div class="absolute bottom-2 left-2 text-xs">
                        <span class="bg-green-400 text-black px-1">LIVE</span>
                    </div>
                </div>
            </div>
            
            <div class="camera-feed p-2" data-feed="2" data-ip="192.168.1.105" data-port="8000">
                <div class="relative pt-[56.25%]">
                    <div class="absolute inset-0 flex items-center justify-center">
                        <div class="text-center">
                            <i class="fas fa-unlock-alt text-4xl mb-2 pulse"></i>
                            <p>FEED #2</p>
                            <p class="text-xs mt-1">192.168.1.105:8000</p>
                        </div>
                    </div>
                    <div class="absolute bottom-2 left-2 text-xs">
                        <span class="bg-yellow-400 text-black px-1">AUTH REQUIRED</span>
                    </div>
                </div>
            </div>
            
            <div class="camera-feed p-2" data-feed="3" data-ip="192.168.1.107" data-port="8001">
                <div class="relative pt-[56.25%]">
                    <div class="absolute inset-0 flex items-center justify-center">
                        <div class="text-center">
                            <i class="fas fa-lock text-4xl mb-2"></i>
                            <p>FEED #3</p>
                            <p class="text-xs mt-1">192.168.1.107:8001</p>
                        </div>
                    </div>
                    <div class="absolute bottom-2 left-2 text-xs">
                        <span class="bg-red-400 text-black px-1">LOCKED</span>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- Footer -->
        <div class="mt-6 border-t border-green-400 pt-2 text-xs flex justify-between">
            <div>
                <span class="mr-4">SESSION: 7m 42s</span>
                <span class="mr-4">TARGETS: 3</span>
                <span>COMPROMISED: 1</span>
            </div>
            <div>
                <span class="mr-4">[F1] HELP</span>
                <span class="mr-4">[F2] SETTINGS</span>
                <span>[F3] EXIT</span>
            </div>
        </div>
    </div>
    
    <script>
        // DOM elements
        const terminal = document.querySelector('.font-mono');
        const fullscreenViewer = document.getElementById('fullscreenViewer');
        const viewerContent = document.getElementById('viewerContent');
        const noSignal = document.getElementById('noSignal');
        const viewerInfo = document.getElementById('viewerInfo');
        const closeViewerBtn = document.getElementById('closeViewerBtn');
        const zoomInBtn = document.getElementById('zoomInBtn');
        const zoomOutBtn = document.getElementById('zoomOutBtn');
        const snapshotBtn = document.getElementById('snapshotBtn');
        const recordBtn = document.getElementById('recordBtn');
        const cameraFeeds = document.querySelectorAll('.camera-feed');
        const terminalInput = document.querySelector('.font-mono input');

        // Simulated video feed placeholder (for Feed #1)
        const feedPlaceholder = 'https://via.placeholder.com/1280x720.png?text=Feed+1+Live+Stream';

        // Simulated terminal commands
        const commands = [
            "> Establishing secure connection...",
            "> Bypassing firewall...",
            "> Injecting payload...",
            "> Compromising device firmware...",
            "> Overriding authentication protocols..."
        ];

        // State management
        let commandIndex = 0;
        let zoomLevel = 1;
        let isRecording = false;
        let currentFeed = null;

        // Initialize terminal
        function initializeTerminal() {
            // Clear existing dynamic content
            const existingContent = terminal.querySelectorAll('p:not(.text-green-400), span.terminal-cursor');
            existingContent.forEach(el => el.remove());

            commandIndex = 0;
            typeCommand();
        }

        // Terminal typing effect
        function typeCommand() {
            if (commandIndex < commands.length) {
                const line = document.createElement('p');
                line.className = 'text-green-400';
                terminal.appendChild(line);

                let charIndex = 0;
                const typing = setInterval(() => {
                    if (charIndex < commands[commandIndex].length) {
                        line.textContent += commands[commandIndex].charAt(charIndex);
                        charIndex++;
                        terminal.scrollTop = terminal.scrollHeight;
                    } else {
                        clearInterval(typing);
                        commandIndex++;
                        setTimeout(typeCommand, 1000);
                    }
                }, 50);
            } else {
                // Add single blinking cursor
                const existingCursor = terminal.querySelector('.terminal-cursor');
                if (!existingCursor) {
                    const cursor = document.createElement('span');
                    cursor.className = 'terminal-cursor';
                    terminal.appendChild(cursor);
                    terminal.scrollTop = terminal.scrollHeight;
                }
            }
        }

        // Handle camera feed clicks
        function setupCameraFeeds() {
            cameraFeeds.forEach(feed => {
                feed.addEventListener('click', () => {
                    const feedNum = feed.getAttribute('data-feed');
                    const ip = feed.getAttribute('data-ip');
                    const port = feed.getAttribute('data-port');

                    currentFeed = feedNum;
                    viewerInfo.textContent = `FEED #${feedNum} | ${ip}:${port} | RTSP`;

                    // Reset zoom
                    zoomLevel = 1;
                    viewerContent.style.transform = `scale(${zoomLevel})`;

                    // Simulate feed content
                    viewerContent.innerHTML = ''; // Clear existing content
                    if (feedNum === '1') {
                        noSignal.style.display = 'none';
                        const img = document.createElement('img');
                        img.src = feedPlaceholder;
                        img.style.width = '100%';
                        img.style.height = '100%';
                        img.style.objectFit = 'contain';
                        viewerContent.appendChild(img);
                    } else {
                        noSignal.style.display = 'flex';
                        viewerContent.appendChild(noSignal);
                        viewerContent.appendChild(viewerInfo);
                    }

                    // Show fullscreen viewer
                    fullscreenViewer.style.display = 'flex';
                    document.body.style.overflow = 'hidden';
                });
            });
        }

        // Fullscreen viewer controls
        function setupViewerControls() {
            // Close viewer
            closeViewerBtn.addEventListener('click', closeViewer);
            fullscreenViewer.addEventListener('click', (e) => {
                if (e.target === fullscreenViewer) {
                    closeViewer();
                }
            });

            // ESC key to close
            document.addEventListener('keydown', (e) => {
                if (e.key === 'Escape' && fullscreenViewer.style.display === 'flex') {
                    closeViewer();
                }
            });

            // Zoom controls
            zoomInBtn.addEventListener('click', () => {
                zoomLevel = Math.min(zoomLevel + 0.1, 3); // Max zoom: 3x
                viewerContent.style.transform = `scale(${zoomLevel})`;
            });

            zoomOutBtn.addEventListener('click', () => {
                zoomLevel = Math.max(zoomLevel - 0.1, 0.5); // Min zoom: 0.5x
                viewerContent.style.transform = `scale(${zoomLevel})`;
            });

            // Snapshot
            snapshotBtn.addEventListener('click', () => {
                if (currentFeed === '1') {
                    const link = document.createElement('a');
                    link.href = feedPlaceholder;
                    link.download = `snapshot_feed_${currentFeed}_${Date.now()}.png`;
                    link.click();
                } else {
                    alert('No signal available for snapshot!');
                }
            });

            // Record
            recordBtn.addEventListener('click', () => {
                if (currentFeed !== '1') {
                    alert('No signal available for recording!');
                    return;
                }

                isRecording = !isRecording;
                if (isRecording) {
                    recordBtn.innerHTML = '<i class="fas fa-stop"></i> Stop Recording';
                    recordBtn.style.backgroundColor = '#ff0000';
                    recordBtn.style.color = '#000';
                } else {
                    recordBtn.innerHTML = '<i class="fas fa-circle"></i> Record';
                    recordBtn.style.backgroundColor = '#000';
                    recordBtn.style.color = '#00ff41';
                    alert('Recording saved! (This would save the video file in a real app)');
                }
            });
        }

        // Terminal input handling
        function setupTerminalInput() {
            terminalInput.addEventListener('keydown', (e) => {
                if (e.key === 'Enter') {
                    const command = terminalInput.value.trim();
                    if (command) {
                        const line = document.createElement('p');
                        line.className = 'text-green-400';
                        line.textContent = `> ${command}`;
                        terminal.appendChild(line);
                        terminal.scrollTop = terminal.scrollHeight;

                        // Simulate command response
                        setTimeout(() => {
                            const response = document.createElement('p');
                            response.className = 'text-green-400';
                            response.textContent = `> Executing: ${command}`;
                            terminal.appendChild(response);
                            terminal.scrollTop = terminal.scrollHeight;
                        }, 500);

                        terminalInput.value = ''; // Clear input
                    }
                }
            });
        }

        // Close viewer function
        function closeViewer() {
            fullscreenViewer.style.display = 'none';
            document.body.style.overflow = 'auto';
            viewerContent.innerHTML = ''; // Clear viewer content
            viewerContent.appendChild(noSignal);
            viewerContent.appendChild(viewerInfo);
            noSignal.style.display = 'flex';
            zoomLevel = 1;
            viewerContent.style.transform = `scale(${zoomLevel})`;
        }

        // Initialize
        function initialize() {
            if (!terminal || !fullscreenViewer || !viewerContent || !noSignal || !viewerInfo) {
                console.error('Required DOM elements are missing!');
                return;
            }

            initializeTerminal();
            setupCameraFeeds();
            setupViewerControls();
            setupTerminalInput();
        }

        // Start after DOM is loaded
        document.addEventListener('DOMContentLoaded', initialize);
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=dror21/idk" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>