visco400 commited on
Commit
2c80647
·
verified ·
1 Parent(s): 15c37f0

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +252 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Myspace
3
- emoji: 🌍
4
- colorFrom: purple
5
- colorTo: indigo
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: myspace
3
+ emoji: 🐳
4
+ colorFrom: blue
5
+ colorTo: red
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,252 @@
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="fr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Android Security Toolkit</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
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #1e3a8a 0%, #7e22ce 100%);
12
+ }
13
+ .terminal {
14
+ font-family: 'Courier New', monospace;
15
+ background-color: #1a1a1a;
16
+ color: #00ff00;
17
+ }
18
+ .scan-animation {
19
+ animation: scan 2s infinite;
20
+ }
21
+ @keyframes scan {
22
+ 0% { opacity: 0.3; }
23
+ 50% { opacity: 1; }
24
+ 100% { opacity: 0.3; }
25
+ }
26
+ </style>
27
+ </head>
28
+ <body class="bg-gray-900 text-white min-h-screen">
29
+ <div class="container mx-auto px-4 py-8">
30
+ <!-- Header -->
31
+ <header class="gradient-bg rounded-xl p-6 mb-8 shadow-lg">
32
+ <div class="flex items-center justify-between">
33
+ <div>
34
+ <h1 class="text-3xl font-bold">Android Security Toolkit</h1>
35
+ <p class="text-blue-200 mt-2">Analyse de sécurité et gestion des permissions</p>
36
+ </div>
37
+ <div class="bg-white/10 p-3 rounded-full">
38
+ <i class="fas fa-shield-alt text-3xl text-blue-300"></i>
39
+ </div>
40
+ </div>
41
+ </header>
42
+
43
+ <!-- Disclaimer -->
44
+ <div class="bg-red-900/50 border border-red-600 rounded-lg p-4 mb-8">
45
+ <div class="flex items-start">
46
+ <i class="fas fa-exclamation-triangle text-xl mr-3 mt-1"></i>
47
+ <div>
48
+ <h3 class="font-bold">Avertissement légal</h3>
49
+ <p class="text-sm">Cet outil est conçu uniquement pour des tests de sécurité autorisés. Toute utilisation non autorisée pour accéder à des appareils sans permission explicite est strictement interdite et peut entraîner des poursuites judiciaires.</p>
50
+ </div>
51
+ </div>
52
+ </div>
53
+
54
+ <!-- Main Content -->
55
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
56
+ <!-- Device Info -->
57
+ <div class="bg-gray-800 rounded-xl p-6 shadow-lg">
58
+ <h2 class="text-xl font-semibold mb-4 flex items-center">
59
+ <i class="fas fa-mobile-alt mr-2 text-blue-400"></i> Informations sur l'appareil
60
+ </h2>
61
+ <div class="space-y-3">
62
+ <div>
63
+ <p class="text-gray-400 text-sm">Modèle:</p>
64
+ <p class="font-mono">Non connecté</p>
65
+ </div>
66
+ <div>
67
+ <p class="text-gray-400 text-sm">Version Android:</p>
68
+ <p class="font-mono">-</p>
69
+ </div>
70
+ <div>
71
+ <p class="text-gray-400 text-sm">Statut:</p>
72
+ <p class="text-yellow-400 font-medium">En attente de connexion</p>
73
+ </div>
74
+ </div>
75
+ <button class="mt-6 w-full bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-lg transition flex items-center justify-center">
76
+ <i class="fas fa-plug mr-2"></i> Connecter un appareil
77
+ </button>
78
+ </div>
79
+
80
+ <!-- Scan Options -->
81
+ <div class="bg-gray-800 rounded-xl p-6 shadow-lg">
82
+ <h2 class="text-xl font-semibold mb-4 flex items-center">
83
+ <i class="fas fa-search mr-2 text-purple-400"></i> Options d'analyse
84
+ </h2>
85
+ <div class="space-y-4">
86
+ <div class="flex items-center">
87
+ <input type="checkbox" id="vuln-scan" class="form-checkbox h-5 w-5 text-purple-600">
88
+ <label for="vuln-scan" class="ml-3">Scan de vulnérabilités</label>
89
+ </div>
90
+ <div class="flex items-center">
91
+ <input type="checkbox" id="perm-scan" class="form-checkbox h-5 w-5 text-purple-600">
92
+ <label for="perm-scan" class="ml-3">Analyse des permissions</label>
93
+ </div>
94
+ <div class="flex items-center">
95
+ <input type="checkbox" id="network-scan" class="form-checkbox h-5 w-5 text-purple-600">
96
+ <label for="network-scan" class="ml-3">Analyse réseau</label>
97
+ </div>
98
+ <div class="flex items-center">
99
+ <input type="checkbox" id="app-scan" class="form-checkbox h-5 w-5 text-purple-600">
100
+ <label for="app-scan" class="ml-3">Analyse des applications</label>
101
+ </div>
102
+ </div>
103
+ <button id="scan-btn" class="mt-6 w-full bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-lg transition flex items-center justify-center">
104
+ <i class="fas fa-play mr-2"></i> Lancer l'analyse
105
+ </button>
106
+ </div>
107
+
108
+ <!-- Status -->
109
+ <div class="bg-gray-800 rounded-xl p-6 shadow-lg">
110
+ <h2 class="text-xl font-semibold mb-4 flex items-center">
111
+ <i class="fas fa-chart-bar mr-2 text-green-400"></i> Statut de l'analyse
112
+ </h2>
113
+ <div class="bg-gray-900 rounded-lg p-4 h-64 overflow-y-auto terminal">
114
+ <p class="text-gray-500">> Système prêt</p>
115
+ <p class="text-gray-500">> En attente de commandes...</p>
116
+ <div id="scan-output"></div>
117
+ </div>
118
+ <div class="mt-4 flex justify-between">
119
+ <button class="bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded-lg transition">
120
+ <i class="fas fa-save mr-1"></i> Sauvegarder
121
+ </button>
122
+ <button class="bg-gray-700 hover:bg-gray-600 text-white py-2 px-4 rounded-lg transition">
123
+ <i class="fas fa-trash-alt mr-1"></i> Effacer
124
+ </button>
125
+ </div>
126
+ </div>
127
+ </div>
128
+
129
+ <!-- Fake Progress Bar -->
130
+ <div id="progress-container" class="mt-8 hidden">
131
+ <div class="flex items-center mb-2">
132
+ <i class="fas fa-spinner fa-spin mr-2 text-blue-400"></i>
133
+ <span>Analyse en cours...</span>
134
+ </div>
135
+ <div class="w-full bg-gray-700 rounded-full h-2.5">
136
+ <div id="progress-bar" class="gradient-bg h-2.5 rounded-full" style="width: 0%"></div>
137
+ </div>
138
+ </div>
139
+
140
+ <!-- Results Section -->
141
+ <div id="results" class="mt-8 hidden">
142
+ <h2 class="text-2xl font-bold mb-4">Résultats de l'analyse</h2>
143
+
144
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
145
+ <!-- Vulnerabilities -->
146
+ <div class="bg-gray-800 rounded-xl p-6 shadow-lg">
147
+ <h3 class="text-lg font-semibold mb-3 flex items-center">
148
+ <i class="fas fa-bug mr-2 text-red-400"></i> Vulnérabilités détectées
149
+ </h3>
150
+ <div class="space-y-3">
151
+ <div class="p-3 bg-gray-700/50 rounded-lg">
152
+ <div class="flex justify-between items-start">
153
+ <span class="font-medium">CVE-2023-12345</span>
154
+ <span class="text-xs bg-red-500 text-white px-2 py-1 rounded">Critique</span>
155
+ </div>
156
+ <p class="text-sm text-gray-400 mt-1">Dépassement de tampon dans le service Bluetooth</p>
157
+ </div>
158
+ <div class="p-3 bg-gray-700/50 rounded-lg">
159
+ <div class="flex justify-between items-start">
160
+ <span class="font-medium">CVE-2023-54321</span>
161
+ <span class="text-xs bg-yellow-500 text-white px-2 py-1 rounded">Moyen</span>
162
+ </div>
163
+ <p class="text-sm text-gray-400 mt-1">Élévation de privilèges dans le noyau</p>
164
+ </div>
165
+ </div>
166
+ </div>
167
+
168
+ <!-- App Permissions -->
169
+ <div class="bg-gray-800 rounded-xl p-6 shadow-lg">
170
+ <h3 class="text-lg font-semibold mb-3 flex items-center">
171
+ <i class="fas fa-lock-open mr-2 text-yellow-400"></i> Permissions suspectes
172
+ </h3>
173
+ <div class="space-y-3">
174
+ <div class="p-3 bg-gray-700/50 rounded-lg">
175
+ <div class="flex justify-between items-start">
176
+ <span class="font-medium">App. Jeux</span>
177
+ <span class="text-xs bg-yellow-500 text-white px-2 py-1 rounded">Élevé</span>
178
+ </div>
179
+ <p class="text-sm text-gray-400 mt-1">Accès aux contacts et SMS non justifié</p>
180
+ </div>
181
+ <div class="p-3 bg-gray-700/50 rounded-lg">
182
+ <div class="flex justify-between items-start">
183
+ <span class="font-medium">App. Météo</span>
184
+ <span class="text-xs bg-orange-500 text-white px-2 py-1 rounded">Modéré</span>
185
+ </div>
186
+ <p class="text-sm text-gray-400 mt-1">Demande l'accès à la localisation en permanence</p>
187
+ </div>
188
+ </div>
189
+ </div>
190
+ </div>
191
+
192
+ <div class="mt-6 bg-gray-800 rounded-xl p-6 shadow-lg">
193
+ <h3 class="text-lg font-semibold mb-3 flex items-center">
194
+ <i class="fas fa-lightbulb mr-2 text-blue-400"></i> Recommandations
195
+ </h3>
196
+ <ul class="list-disc pl-5 space-y-2">
197
+ <li>Mettez à jour votre système d'exploitation Android</li>
198
+ <li>Désinstallez les applications inutiles avec des permissions excessives</li>
199
+ <li>Activez la vérification des applications (Play Protect)</li>
200
+ <li>Évitez les connexions Wi-Fi publiques non sécurisées</li>
201
+ </ul>
202
+ </div>
203
+ </div>
204
+ </div>
205
+
206
+ <script>
207
+ document.getElementById('scan-btn').addEventListener('click', function() {
208
+ const scanOutput = document.getElementById('scan-output');
209
+ const progressContainer = document.getElementById('progress-container');
210
+ const progressBar = document.getElementById('progress-bar');
211
+ const results = document.getElementById('results');
212
+
213
+ // Clear previous output
214
+ scanOutput.innerHTML = '';
215
+
216
+ // Show progress bar
217
+ progressContainer.classList.remove('hidden');
218
+
219
+ // Simulate scan
220
+ let progress = 0;
221
+ const interval = setInterval(() => {
222
+ progress += Math.random() * 10;
223
+ if (progress > 100) progress = 100;
224
+ progressBar.style.width = `${progress}%`;
225
+
226
+ // Add fake scan output
227
+ if (progress < 20) {
228
+ scanOutput.innerHTML += `<p>> Initialisation du scan...</p>`;
229
+ } else if (progress < 40) {
230
+ scanOutput.innerHTML += `<p>> Analyse des vulnérabilités système...</p>`;
231
+ } else if (progress < 60) {
232
+ scanOutput.innerHTML += `<p>> Vérification des permissions des applications...</p>`;
233
+ } else if (progress < 80) {
234
+ scanOutput.innerHTML += `<p>> Analyse des services réseau...</p>`;
235
+ } else if (progress < 100) {
236
+ scanOutput.innerHTML += `<p>> Génération du rapport...</p>`;
237
+ }
238
+
239
+ scanOutput.scrollTop = scanOutput.scrollHeight;
240
+
241
+ if (progress === 100) {
242
+ clearInterval(interval);
243
+ setTimeout(() => {
244
+ progressContainer.classList.add('hidden');
245
+ results.classList.remove('hidden');
246
+ }, 500);
247
+ }
248
+ }, 500);
249
+ });
250
+ </script>
251
+ <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=visco400/myspace" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
252
+ </html>