Atarioch commited on
Commit
e98e65c
·
verified ·
1 Parent(s): 0ef1945

Create a hacking website - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +418 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Find Com
3
- emoji: 😻
4
- colorFrom: green
5
- colorTo: red
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: find-com
3
+ emoji: 🐳
4
+ colorFrom: red
5
+ colorTo: blue
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,418 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </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>CyberTerminal v2.4.7</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300;400;600&display=swap');
11
+
12
+ body {
13
+ font-family: 'Source Code Pro', monospace;
14
+ background-color: #0a0a0a;
15
+ color: #00ff41;
16
+ overflow-x: hidden;
17
+ }
18
+
19
+ .cursor-blink {
20
+ animation: blink 1s step-end infinite;
21
+ }
22
+
23
+ @keyframes blink {
24
+ from, to { opacity: 1; }
25
+ 50% { opacity: 0; }
26
+ }
27
+
28
+ .scanline {
29
+ position: absolute;
30
+ top: 0;
31
+ left: 0;
32
+ width: 100%;
33
+ height: 100%;
34
+ background: linear-gradient(
35
+ to bottom,
36
+ rgba(0, 255, 65, 0.1) 0%,
37
+ rgba(0, 255, 65, 0) 10%
38
+ );
39
+ background-size: 100% 0.5rem;
40
+ pointer-events: none;
41
+ z-index: 10;
42
+ }
43
+
44
+ .glow {
45
+ text-shadow: 0 0 5px #00ff41;
46
+ }
47
+
48
+ .matrix-effect {
49
+ position: fixed;
50
+ top: 0;
51
+ left: 0;
52
+ width: 100%;
53
+ height: 100%;
54
+ z-index: -1;
55
+ opacity: 0.1;
56
+ }
57
+
58
+ .command-output {
59
+ max-height: 0;
60
+ overflow: hidden;
61
+ transition: max-height 0.5s ease-out;
62
+ }
63
+
64
+ .command-output.show {
65
+ max-height: 500px;
66
+ }
67
+
68
+ .progress-bar {
69
+ height: 2px;
70
+ background-color: #00ff41;
71
+ transition: width 0.3s ease;
72
+ }
73
+ </style>
74
+ </head>
75
+ <body class="min-h-screen flex flex-col">
76
+ <!-- Matrix effect background -->
77
+ <canvas id="matrix" class="matrix-effect"></canvas>
78
+
79
+ <!-- Scanline overlay -->
80
+ <div class="scanline"></div>
81
+
82
+ <!-- Header -->
83
+ <header class="border-b border-green-500 p-4">
84
+ <div class="container mx-auto flex justify-between items-center">
85
+ <div class="flex items-center">
86
+ <i class="fas fa-terminal mr-2 text-green-500"></i>
87
+ <h1 class="text-xl font-bold glow">CYBERTERMINAL v2.4.7</h1>
88
+ </div>
89
+ <div class="text-sm">
90
+ <span id="datetime" class="mr-4"></span>
91
+ <span class="text-green-300">CONNECTION: SECURE</span>
92
+ </div>
93
+ </div>
94
+ </header>
95
+
96
+ <!-- Main terminal -->
97
+ <main class="flex-grow container mx-auto p-4 overflow-auto">
98
+ <div id="terminal" class="mb-4">
99
+ <div class="mb-4">
100
+ <p class="text-green-400">Initializing secure connection...</p>
101
+ <p class="text-green-400">Establishing encrypted tunnel...</p>
102
+ <p class="text-green-500">> Connection established. Welcome back, USER.</p>
103
+ <p class="text-green-500">> Type 'help' for available commands.</p>
104
+ </div>
105
+
106
+ <!-- Command history will be added here -->
107
+ </div>
108
+
109
+ <div class="flex items-center">
110
+ <span class="text-green-500 mr-2">></span>
111
+ <input id="command-input" type="text" class="bg-transparent border-none outline-none flex-grow text-green-500" autofocus>
112
+ <span class="cursor-blink ml-1">|</span>
113
+ </div>
114
+ </main>
115
+
116
+ <!-- Footer -->
117
+ <footer class="border-t border-green-500 p-2 text-xs text-center text-green-400">
118
+ <p>WARNING: Unauthorized access to this system is prohibited. All activities are logged.</p>
119
+ </footer>
120
+
121
+ <script>
122
+ // Matrix effect
123
+ const canvas = document.getElementById('matrix');
124
+ const ctx = canvas.getContext('2d');
125
+
126
+ canvas.width = window.innerWidth;
127
+ canvas.height = window.innerHeight;
128
+
129
+ const katakana = 'アァカサタナハマヤャラワガザダバパイィキシチニヒミリヰギジヂビピウゥクスツヌフムユュルグズブヅプエェケセテネヘメレヱゲゼデベペオォコソトノホモヨ���ロヲゴゾドボポヴッン';
130
+ const latin = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
131
+ const nums = '0123456789';
132
+
133
+ const alphabet = katakana + latin + nums;
134
+
135
+ const fontSize = 16;
136
+ const columns = canvas.width / fontSize;
137
+
138
+ const rainDrops = [];
139
+
140
+ for (let x = 0; x < columns; x++) {
141
+ rainDrops[x] = 1;
142
+ }
143
+
144
+ const draw = () => {
145
+ ctx.fillStyle = 'rgba(0, 0, 0, 0.05)';
146
+ ctx.fillRect(0, 0, canvas.width, canvas.height);
147
+
148
+ ctx.fillStyle = '#00ff41';
149
+ ctx.font = fontSize + 'px monospace';
150
+
151
+ for (let i = 0; i < rainDrops.length; i++) {
152
+ const text = alphabet.charAt(Math.floor(Math.random() * alphabet.length));
153
+ ctx.fillText(text, i * fontSize, rainDrops[i] * fontSize);
154
+
155
+ if (rainDrops[i] * fontSize > canvas.height && Math.random() > 0.975) {
156
+ rainDrops[i] = 0;
157
+ }
158
+ rainDrops[i]++;
159
+ }
160
+ };
161
+
162
+ setInterval(draw, 30);
163
+
164
+ // Terminal functionality
165
+ const terminal = document.getElementById('terminal');
166
+ const commandInput = document.getElementById('command-input');
167
+ const datetimeElement = document.getElementById('datetime');
168
+
169
+ // Update datetime
170
+ function updateDateTime() {
171
+ const now = new Date();
172
+ datetimeElement.textContent = now.toLocaleString();
173
+ }
174
+
175
+ setInterval(updateDateTime, 1000);
176
+ updateDateTime();
177
+
178
+ // Available commands
179
+ const commands = {
180
+ help: {
181
+ description: "Display available commands",
182
+ execute: () => {
183
+ let output = "<div class='mb-4'>";
184
+ output += "<p class='text-green-400'>Available commands:</p>";
185
+ for (const cmd in commands) {
186
+ output += `<p class='ml-4'>${cmd.padEnd(12)} - ${commands[cmd].description}</p>`;
187
+ }
188
+ output += "</div>";
189
+ return output;
190
+ }
191
+ },
192
+ clear: {
193
+ description: "Clear the terminal",
194
+ execute: () => {
195
+ terminal.innerHTML = '';
196
+ return '';
197
+ }
198
+ },
199
+ scan: {
200
+ description: "Scan a target network",
201
+ execute: () => {
202
+ let output = "<div class='mb-4'>";
203
+ output += "<p class='text-green-400'>Initiating network scan...</p>";
204
+
205
+ // Fake IPs
206
+ const ips = [
207
+ "192.168.1.1 - ROUTER - SECURITY: MEDIUM",
208
+ "192.168.1.2 - WORKSTATION - SECURITY: LOW",
209
+ "192.168.1.3 - NAS - SECURITY: HIGH",
210
+ "192.168.1.4 - PRINTER - SECURITY: NONE",
211
+ "192.168.1.5 - SMARTHOME - SECURITY: WEAK"
212
+ ];
213
+
214
+ ips.forEach(ip => {
215
+ output += `<p class='ml-4'>${ip}</p>`;
216
+ });
217
+
218
+ output += "<p class='text-green-500 mt-2'>Scan complete. 5 hosts discovered.</p>";
219
+ output += "</div>";
220
+ return output;
221
+ }
222
+ },
223
+ exploit: {
224
+ description: "Attempt to exploit a vulnerability",
225
+ execute: () => {
226
+ let output = "<div class='mb-4'>";
227
+ output += "<p class='text-green-400'>Searching for vulnerabilities...</p>";
228
+
229
+ // Fake progress bar
230
+ output += `<div class='w-full bg-gray-800 h-2 my-2'>
231
+ <div class='progress-bar h-full' style='width: 0%'></div>
232
+ </div>`;
233
+
234
+ setTimeout(() => {
235
+ const progressBar = document.querySelector('.progress-bar');
236
+ let progress = 0;
237
+ const interval = setInterval(() => {
238
+ progress += Math.random() * 10;
239
+ if (progress >= 100) {
240
+ progress = 100;
241
+ clearInterval(interval);
242
+
243
+ setTimeout(() => {
244
+ const result = Math.random() > 0.3 ?
245
+ "<p class='text-green-500'>Exploit successful! Gained root access.</p>" :
246
+ "<p class='text-red-500'>Exploit failed. Target patched.</p>";
247
+
248
+ const lastDiv = document.querySelector('#terminal > div:last-child');
249
+ lastDiv.innerHTML += result;
250
+ }, 300);
251
+ }
252
+ progressBar.style.width = `${progress}%`;
253
+ }, 200);
254
+ }, 100);
255
+
256
+ output += "</div>";
257
+ return output;
258
+ }
259
+ },
260
+ decrypt: {
261
+ description: "Attempt to decrypt data",
262
+ execute: () => {
263
+ let output = "<div class='mb-4'>";
264
+ output += "<p class='text-green-400'>Initializing decryption sequence...</p>";
265
+
266
+ const chars = "0123456789ABCDEF";
267
+ let encrypted = "";
268
+ for (let i = 0; i < 32; i++) {
269
+ encrypted += chars.charAt(Math.floor(Math.random() * chars.length));
270
+ }
271
+
272
+ output += `<p class='ml-4'>Encrypted data: ${encrypted}</p>`;
273
+ output += "<p class='text-yellow-400'>Brute forcing encryption key...</p>";
274
+
275
+ setTimeout(() => {
276
+ const decrypted = "ACCESS GRANTED: TOP SECRET DATA";
277
+ const lastDiv = document.querySelector('#terminal > div:last-child');
278
+ lastDiv.innerHTML += `<p class='text-green-500'>Decryption successful: ${decrypted}</p>`;
279
+ }, 2000);
280
+
281
+ output += "</div>";
282
+ return output;
283
+ }
284
+ },
285
+ ddos: {
286
+ description: "Launch a DDoS attack",
287
+ execute: () => {
288
+ let output = "<div class='mb-4'>";
289
+ output += "<p class='text-green-400'>Preparing botnet...</p>";
290
+
291
+ const bots = Math.floor(Math.random() * 5000) + 1000;
292
+ output += `<p class='ml-4'>${bots} bots ready</p>`;
293
+ output += "<p class='text-yellow-400'>Launching attack...</p>";
294
+
295
+ setTimeout(() => {
296
+ const success = Math.random() > 0.2;
297
+ const lastDiv = document.querySelector('#terminal > div:last-child');
298
+ if (success) {
299
+ lastDiv.innerHTML += `<p class='text-green-500'>Target overwhelmed! Service disruption achieved.</p>`;
300
+ } else {
301
+ lastDiv.innerHTML += `<p class='text-red-500'>Attack mitigated. Target defenses too strong.</p>`;
302
+ }
303
+ }, 3000);
304
+
305
+ output += "</div>";
306
+ return output;
307
+ }
308
+ },
309
+ whoami: {
310
+ description: "Display user information",
311
+ execute: () => {
312
+ return `<div class='mb-4'>
313
+ <p class='text-green-400'>User: ANONYMOUS</p>
314
+ <p class='ml-4'>Access level: ROOT</p>
315
+ <p class='ml-4'>Last login: ${new Date().toLocaleString()}</p>
316
+ <p class='ml-4'>IP: ${Math.floor(Math.random() * 255)}.${Math.floor(Math.random() * 255)}.${Math.floor(Math.random() * 255)}.${Math.floor(Math.random() * 255)}</p>
317
+ </div>`;
318
+ }
319
+ },
320
+ history: {
321
+ description: "Show command history",
322
+ execute: () => {
323
+ const history = JSON.parse(localStorage.getItem('commandHistory') || '[]');
324
+ let output = "<div class='mb-4'>";
325
+ output += "<p class='text-green-400'>Command history:</p>";
326
+ if (history.length === 0) {
327
+ output += "<p class='ml-4'>No history found</p>";
328
+ } else {
329
+ history.forEach(cmd => {
330
+ output += `<p class='ml-4'>${cmd}</p>`;
331
+ });
332
+ }
333
+ output += "</div>";
334
+ return output;
335
+ }
336
+ }
337
+ };
338
+
339
+ // Command history
340
+ let commandHistory = JSON.parse(localStorage.getItem('commandHistory') || '[]');
341
+ let historyIndex = commandHistory.length;
342
+
343
+ // Handle command input
344
+ commandInput.addEventListener('keydown', (e) => {
345
+ if (e.key === 'Enter') {
346
+ const command = commandInput.value.trim();
347
+ if (command) {
348
+ // Add to history
349
+ commandHistory.push(command);
350
+ localStorage.setItem('commandHistory', JSON.stringify(commandHistory));
351
+ historyIndex = commandHistory.length;
352
+
353
+ // Display command
354
+ const commandElement = document.createElement('div');
355
+ commandElement.className = 'mb-2';
356
+ commandElement.innerHTML = `<p class='text-green-500'>> ${command}</p>`;
357
+ terminal.appendChild(commandElement);
358
+
359
+ // Process command
360
+ const cmd = command.split(' ')[0].toLowerCase();
361
+ if (commands[cmd]) {
362
+ const output = commands[cmd].execute();
363
+ if (output) {
364
+ const outputElement = document.createElement('div');
365
+ outputElement.className = 'command-output';
366
+ outputElement.innerHTML = output;
367
+ terminal.appendChild(outputElement);
368
+
369
+ setTimeout(() => {
370
+ outputElement.classList.add('show');
371
+ }, 10);
372
+ }
373
+ } else {
374
+ const outputElement = document.createElement('div');
375
+ outputElement.className = 'command-output show';
376
+ outputElement.innerHTML = `<p class='text-red-500'>Command not found: ${cmd}. Type 'help' for available commands.</p>`;
377
+ terminal.appendChild(outputElement);
378
+ }
379
+
380
+ // Clear input
381
+ commandInput.value = '';
382
+
383
+ // Scroll to bottom
384
+ terminal.scrollTop = terminal.scrollHeight;
385
+ }
386
+ } else if (e.key === 'ArrowUp') {
387
+ // Navigate command history
388
+ if (historyIndex > 0) {
389
+ historyIndex--;
390
+ commandInput.value = commandHistory[historyIndex];
391
+ }
392
+ } else if (e.key === 'ArrowDown') {
393
+ // Navigate command history
394
+ if (historyIndex < commandHistory.length - 1) {
395
+ historyIndex++;
396
+ commandInput.value = commandHistory[historyIndex];
397
+ } else {
398
+ historyIndex = commandHistory.length;
399
+ commandInput.value = '';
400
+ }
401
+ }
402
+ });
403
+
404
+ // Focus input when clicking anywhere
405
+ document.addEventListener('click', () => {
406
+ commandInput.focus();
407
+ });
408
+
409
+ // Initial help display
410
+ setTimeout(() => {
411
+ const outputElement = document.createElement('div');
412
+ outputElement.className = 'command-output show';
413
+ outputElement.innerHTML = commands.help.execute();
414
+ terminal.appendChild(outputElement);
415
+ }, 1000);
416
+ </script>
417
+ <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=Atarioch/find-com" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
418
+ </html>